From 0097d90ff097ae6a4dae0023c5fb8d677bfc010c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 13:13:48 +0000 Subject: [PATCH 1/5] Initial plan From c711ba5ee2d4e8bd74a6bbbd0049680dcaa96b9a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 13:43:57 +0000 Subject: [PATCH 2/5] Add new Microsoft.Build reference packages for versions 17.11.48, 17.12.50, and 17.14.28 Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com> --- .../Microsoft.Bcl.Cryptography.9.0.0.csproj | 20 + .../lib/net8.0/Microsoft.Bcl.Cryptography.cs | 73 + .../lib/net9.0/Microsoft.Bcl.Cryptography.cs | 31 + .../Microsoft.Bcl.Cryptography.cs | 93 + .../9.0.0/microsoft.bcl.cryptography.nuspec | 27 + .../1.1.1/Microsoft.Bcl.HashCode.1.1.1.csproj | 10 + .../1.1.1/microsoft.bcl.hashcode.nuspec | 28 + .../netstandard2.0/Microsoft.Bcl.HashCode.cs | 44 + .../netstandard2.1/Microsoft.Bcl.HashCode.cs | 25 + .../Microsoft.Build.Framework.17.11.48.csproj | 16 + .../17.11.48/microsoft.build.framework.nuspec | 27 + .../ref/net8.0/Microsoft.Build.Framework.cs | 1038 +++++ .../Microsoft.Build.Framework.cs | 1036 +++++ .../Microsoft.Build.Framework.17.12.50.csproj | 16 + .../17.12.50/microsoft.build.framework.nuspec | 27 + .../ref/net9.0/Microsoft.Build.Framework.cs | 1095 +++++ .../Microsoft.Build.Framework.cs | 1093 +++++ .../17.14.28/Customizations.props | 5 + .../Microsoft.Build.Framework.17.14.28.csproj | 17 + .../17.14.28/microsoft.build.framework.nuspec | 28 + .../ref/net9.0/Microsoft.Build.Framework.cs | 1134 +++++ .../Microsoft.Build.Framework.cs | 1132 +++++ ...Microsoft.Build.Tasks.Core.17.11.48.csproj | 42 + .../microsoft.build.tasks.core.nuspec | 51 + .../ref/net8.0/Microsoft.Build.Tasks.Core.cs | 2806 ++++++++++++ .../Microsoft.Build.Tasks.Core.cs | 2795 +++++++++++ ...Microsoft.Build.Tasks.Core.17.12.50.csproj | 42 + .../microsoft.build.tasks.core.nuspec | 51 + .../ref/net9.0/Microsoft.Build.Tasks.Core.cs | 2806 ++++++++++++ .../Microsoft.Build.Tasks.Core.cs | 2795 +++++++++++ ...Microsoft.Build.Tasks.Core.17.14.28.csproj | 47 + .../microsoft.build.tasks.core.nuspec | 56 + .../ref/net9.0/Microsoft.Build.Tasks.Core.cs | 2819 ++++++++++++ .../Microsoft.Build.Tasks.Core.cs | 2800 ++++++++++++ ...osoft.Build.Utilities.Core.17.11.48.csproj | 28 + .../microsoft.build.utilities.core.nuspec | 37 + .../net8.0/Microsoft.Build.Utilities.Core.cs | 536 +++ .../Microsoft.Build.Utilities.Core.cs | 534 +++ ...osoft.Build.Utilities.Core.17.12.50.csproj | 28 + .../microsoft.build.utilities.core.nuspec | 37 + .../net9.0/Microsoft.Build.Utilities.Core.cs | 536 +++ .../Microsoft.Build.Utilities.Core.cs | 534 +++ ...osoft.Build.Utilities.Core.17.14.28.csproj | 32 + .../microsoft.build.utilities.core.nuspec | 41 + .../net9.0/Microsoft.Build.Utilities.Core.cs | 537 +++ .../Microsoft.Build.Utilities.Core.cs | 535 +++ .../17.11.48/Customizations.cs | 22 + .../17.11.48/Microsoft.Build.17.11.48.csproj | 18 + .../17.11.48/microsoft.build.nuspec | 28 + .../17.11.48/ref/net8.0/Microsoft.Build.cs | 2963 ++++++++++++ .../17.12.50/Customizations.cs | 22 + .../17.12.50/Microsoft.Build.17.12.50.csproj | 18 + .../17.12.50/microsoft.build.nuspec | 28 + .../17.12.50/ref/net9.0/Microsoft.Build.cs | 3059 +++++++++++++ .../17.14.28/Customizations.cs | 22 + .../17.14.28/Microsoft.Build.17.14.28.csproj | 18 + .../17.14.28/microsoft.build.nuspec | 28 + .../17.14.28/ref/net9.0/Microsoft.Build.cs | 3131 +++++++++++++ .../Microsoft.NET.StringTools.17.11.48.csproj | 14 + .../17.11.48/microsoft.net.stringtools.nuspec | 25 + .../ref/net8.0/Microsoft.NET.StringTools.cs | 72 + .../Microsoft.NET.StringTools.cs | 72 + .../Microsoft.NET.StringTools.17.12.50.csproj | 14 + .../17.12.50/microsoft.net.stringtools.nuspec | 25 + .../ref/net9.0/Microsoft.NET.StringTools.cs | 72 + .../Microsoft.NET.StringTools.cs | 72 + .../Microsoft.NET.StringTools.17.14.28.csproj | 14 + .../17.14.28/microsoft.net.stringtools.nuspec | 25 + .../ref/net9.0/Microsoft.NET.StringTools.cs | 72 + .../Microsoft.NET.StringTools.cs | 72 + .../4.6.0/System.Buffers.4.6.0.csproj | 10 + .../lib/netstandard2.0/System.Buffers.cs | 39 + .../4.6.0/system.buffers.nuspec | 19 + .../9.0.0/System.CodeDom.9.0.0.csproj | 10 + .../9.0.0/lib/net8.0/System.CodeDom.cs | 1393 ++++++ .../9.0.0/lib/net9.0/System.CodeDom.cs | 1393 ++++++ .../lib/netstandard2.0/System.CodeDom.cs | 1389 ++++++ .../9.0.0/system.codedom.nuspec | 21 + .../9.0.0/Customizations.cs | 14 + ...guration.ConfigurationManager.9.0.0.csproj | 24 + ...stem.Configuration.ConfigurationManager.cs | 1807 ++++++++ ...stem.Configuration.ConfigurationManager.cs | 1807 ++++++++ ...stem.Configuration.ConfigurationManager.cs | 1776 +++++++ ....configuration.configurationmanager.nuspec | 29 + .../9.0.0/Customizations.props | 5 + ....Diagnostics.DiagnosticSource.9.0.0.csproj | 15 + .../System.Diagnostics.DiagnosticSource.cs | 619 +++ .../System.Diagnostics.DiagnosticSource.cs | 619 +++ .../System.Diagnostics.DiagnosticSource.cs | 612 +++ ...system.diagnostics.diagnosticsource.nuspec | 34 + .../System.Diagnostics.EventLog.9.0.0.csproj | 14 + .../lib/net8.0/System.Diagnostics.EventLog.cs | 637 +++ .../lib/net9.0/System.Diagnostics.EventLog.cs | 637 +++ .../System.Diagnostics.EventLog.cs | 628 +++ .../9.0.0/system.diagnostics.eventlog.nuspec | 26 + .../9.0.0/System.Formats.Asn1.9.0.0.csproj | 15 + .../9.0.0/lib/net8.0/System.Formats.Asn1.cs | 278 ++ .../9.0.0/lib/net9.0/System.Formats.Asn1.cs | 278 ++ .../lib/netstandard2.0/System.Formats.Asn1.cs | 277 ++ .../9.0.0/system.formats.asn1.nuspec | 24 + .../9.0.0/System.Formats.Nrbf.9.0.0.csproj | 19 + .../9.0.0/lib/net8.0/System.Formats.Nrbf.cs | 147 + .../9.0.0/lib/net9.0/System.Formats.Nrbf.cs | 147 + .../lib/netstandard2.0/System.Formats.Nrbf.cs | 145 + .../9.0.0/system.formats.nrbf.nuspec | 26 + .../4.6.0/System.Memory.4.6.0.csproj | 16 + .../4.6.0/lib/netstandard2.0/System.Memory.cs | 581 +++ .../system.memory/4.6.0/system.memory.nuspec | 23 + .../System.Numerics.Vectors.4.6.0.csproj | 9 + .../netstandard2.0/System.Numerics.Vectors.cs | 553 +++ .../4.6.0/system.numerics.vectors.nuspec | 19 + .../System.Reflection.Metadata.9.0.0.csproj | 18 + .../lib/net8.0/System.Reflection.Metadata.cs | 4069 +++++++++++++++++ .../lib/net9.0/System.Reflection.Metadata.cs | 4069 +++++++++++++++++ .../System.Reflection.Metadata.cs | 4068 ++++++++++++++++ .../9.0.0/system.reflection.metadata.nuspec | 28 + ...eflection.MetadataLoadContext.9.0.0.csproj | 21 + .../System.Reflection.MetadataLoadContext.cs | 54 + .../System.Reflection.MetadataLoadContext.cs | 54 + .../System.Reflection.MetadataLoadContext.cs | 54 + ...stem.reflection.metadataloadcontext.nuspec | 28 + .../System.Resources.Extensions.9.0.0.csproj | 23 + .../lib/net8.0/System.Resources.Extensions.cs | 58 + .../lib/net9.0/System.Resources.Extensions.cs | 58 + .../System.Resources.Extensions.cs | 57 + .../9.0.0/system.resources.extensions.nuspec | 32 + ...ntime.CompilerServices.Unsafe.6.1.0.csproj | 9 + .../6.1.0/lib/net7.0/_._ | 0 .../System.Runtime.CompilerServices.Unsafe.cs | 71 + ...tem.runtime.compilerservices.unsafe.nuspec | 23 + ...em.Security.Cryptography.Pkcs.9.0.0.csproj | 30 + .../System.Security.Cryptography.Pkcs.cs | 610 +++ .../System.Security.Cryptography.Pkcs.cs | 610 +++ .../System.Security.Cryptography.Pkcs.cs | 414 ++ .../System.Security.Cryptography.Pkcs.cs | 606 +++ .../system.security.cryptography.pkcs.nuspec | 40 + ...ty.Cryptography.ProtectedData.9.0.0.csproj | 13 + ...tem.Security.Cryptography.ProtectedData.cs | 44 + ...tem.Security.Cryptography.ProtectedData.cs | 44 + ...tem.Security.Cryptography.ProtectedData.cs | 42 + ...security.cryptography.protecteddata.nuspec | 27 + .../8.0.0/Customizations.cs | 28 + .../System.Security.Cryptography.Xml.cs | 2 - .../System.Security.Cryptography.Xml.cs | 2 - .../System.Security.Cryptography.Xml.cs | 8 +- .../System.Security.Cryptography.Xml.cs | 8 +- .../9.0.0/Customizations.cs | 26 + ...tem.Security.Cryptography.Xml.9.0.0.csproj | 26 + .../System.Security.Cryptography.Xml.cs | 677 +++ .../System.Security.Cryptography.Xml.cs | 677 +++ .../System.Security.Cryptography.Xml.cs | 621 +++ .../system.security.cryptography.xml.nuspec | 72 + ...ystem.Text.Encoding.CodePages.9.0.0.csproj | 14 + .../net8.0/System.Text.Encoding.CodePages.cs | 40 + .../net9.0/System.Text.Encoding.CodePages.cs | 40 + .../System.Text.Encoding.CodePages.cs | 39 + .../system.text.encoding.codepages.nuspec | 27 + ...stem.Threading.Tasks.Dataflow.9.0.0.csproj | 9 + .../net8.0/System.Threading.Tasks.Dataflow.cs | 363 ++ .../net9.0/System.Threading.Tasks.Dataflow.cs | 362 ++ .../System.Threading.Tasks.Dataflow.cs | 360 ++ .../System.Threading.Tasks.Dataflow.cs | 363 ++ .../system.threading.tasks.dataflow.nuspec | 36 + 163 files changed, 72642 insertions(+), 12 deletions(-) create mode 100644 src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/Microsoft.Bcl.Cryptography.9.0.0.csproj create mode 100644 src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net8.0/Microsoft.Bcl.Cryptography.cs create mode 100644 src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net9.0/Microsoft.Bcl.Cryptography.cs create mode 100644 src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/netstandard2.0/Microsoft.Bcl.Cryptography.cs create mode 100644 src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/microsoft.bcl.cryptography.nuspec create mode 100644 src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/Microsoft.Bcl.HashCode.1.1.1.csproj create mode 100644 src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/microsoft.bcl.hashcode.nuspec create mode 100644 src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.0/Microsoft.Bcl.HashCode.cs create mode 100644 src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.1/Microsoft.Bcl.HashCode.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.11.48/Microsoft.Build.Framework.17.11.48.csproj create mode 100644 src/referencePackages/src/microsoft.build.framework/17.11.48/microsoft.build.framework.nuspec create mode 100644 src/referencePackages/src/microsoft.build.framework/17.11.48/ref/net8.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.11.48/ref/netstandard2.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.12.50/Microsoft.Build.Framework.17.12.50.csproj create mode 100644 src/referencePackages/src/microsoft.build.framework/17.12.50/microsoft.build.framework.nuspec create mode 100644 src/referencePackages/src/microsoft.build.framework/17.12.50/ref/net9.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.12.50/ref/netstandard2.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.14.28/Customizations.props create mode 100644 src/referencePackages/src/microsoft.build.framework/17.14.28/Microsoft.Build.Framework.17.14.28.csproj create mode 100644 src/referencePackages/src/microsoft.build.framework/17.14.28/microsoft.build.framework.nuspec create mode 100644 src/referencePackages/src/microsoft.build.framework/17.14.28/ref/net9.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.framework/17.14.28/ref/netstandard2.0/Microsoft.Build.Framework.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.11.48/Microsoft.Build.Tasks.Core.17.11.48.csproj create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.11.48/microsoft.build.tasks.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/net8.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.12.50/Microsoft.Build.Tasks.Core.17.12.50.csproj create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.12.50/microsoft.build.tasks.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/net9.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.14.28/Microsoft.Build.Tasks.Core.17.14.28.csproj create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.14.28/microsoft.build.tasks.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/net9.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.11.48/Microsoft.Build.Utilities.Core.17.11.48.csproj create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.11.48/microsoft.build.utilities.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/net8.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.12.50/Microsoft.Build.Utilities.Core.17.12.50.csproj create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.12.50/microsoft.build.utilities.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/net9.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.14.28/Microsoft.Build.Utilities.Core.17.14.28.csproj create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.14.28/microsoft.build.utilities.core.nuspec create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/net9.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs create mode 100644 src/referencePackages/src/microsoft.build/17.11.48/Customizations.cs create mode 100644 src/referencePackages/src/microsoft.build/17.11.48/Microsoft.Build.17.11.48.csproj create mode 100644 src/referencePackages/src/microsoft.build/17.11.48/microsoft.build.nuspec create mode 100644 src/referencePackages/src/microsoft.build/17.11.48/ref/net8.0/Microsoft.Build.cs create mode 100644 src/referencePackages/src/microsoft.build/17.12.50/Customizations.cs create mode 100644 src/referencePackages/src/microsoft.build/17.12.50/Microsoft.Build.17.12.50.csproj create mode 100644 src/referencePackages/src/microsoft.build/17.12.50/microsoft.build.nuspec create mode 100644 src/referencePackages/src/microsoft.build/17.12.50/ref/net9.0/Microsoft.Build.cs create mode 100644 src/referencePackages/src/microsoft.build/17.14.28/Customizations.cs create mode 100644 src/referencePackages/src/microsoft.build/17.14.28/Microsoft.Build.17.14.28.csproj create mode 100644 src/referencePackages/src/microsoft.build/17.14.28/microsoft.build.nuspec create mode 100644 src/referencePackages/src/microsoft.build/17.14.28/ref/net9.0/Microsoft.Build.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.11.48/Microsoft.NET.StringTools.17.11.48.csproj create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.11.48/microsoft.net.stringtools.nuspec create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/net8.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/netstandard2.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.12.50/Microsoft.NET.StringTools.17.12.50.csproj create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.12.50/microsoft.net.stringtools.nuspec create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/net9.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/netstandard2.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.14.28/Microsoft.NET.StringTools.17.14.28.csproj create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.14.28/microsoft.net.stringtools.nuspec create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/net9.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/netstandard2.0/Microsoft.NET.StringTools.cs create mode 100644 src/referencePackages/src/system.buffers/4.6.0/System.Buffers.4.6.0.csproj create mode 100644 src/referencePackages/src/system.buffers/4.6.0/lib/netstandard2.0/System.Buffers.cs create mode 100644 src/referencePackages/src/system.buffers/4.6.0/system.buffers.nuspec create mode 100644 src/referencePackages/src/system.codedom/9.0.0/System.CodeDom.9.0.0.csproj create mode 100644 src/referencePackages/src/system.codedom/9.0.0/lib/net8.0/System.CodeDom.cs create mode 100644 src/referencePackages/src/system.codedom/9.0.0/lib/net9.0/System.CodeDom.cs create mode 100644 src/referencePackages/src/system.codedom/9.0.0/lib/netstandard2.0/System.CodeDom.cs create mode 100644 src/referencePackages/src/system.codedom/9.0.0/system.codedom.nuspec create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/Customizations.cs create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/System.Configuration.ConfigurationManager.9.0.0.csproj create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net8.0/System.Configuration.ConfigurationManager.cs create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net9.0/System.Configuration.ConfigurationManager.cs create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs create mode 100644 src/referencePackages/src/system.configuration.configurationmanager/9.0.0/system.configuration.configurationmanager.nuspec create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/Customizations.props create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/System.Diagnostics.DiagnosticSource.9.0.0.csproj create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net8.0/System.Diagnostics.DiagnosticSource.cs create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net9.0/System.Diagnostics.DiagnosticSource.cs create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/netstandard2.0/System.Diagnostics.DiagnosticSource.cs create mode 100644 src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.nuspec create mode 100644 src/referencePackages/src/system.diagnostics.eventlog/9.0.0/System.Diagnostics.EventLog.9.0.0.csproj create mode 100644 src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net8.0/System.Diagnostics.EventLog.cs create mode 100644 src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net9.0/System.Diagnostics.EventLog.cs create mode 100644 src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs create mode 100644 src/referencePackages/src/system.diagnostics.eventlog/9.0.0/system.diagnostics.eventlog.nuspec create mode 100644 src/referencePackages/src/system.formats.asn1/9.0.0/System.Formats.Asn1.9.0.0.csproj create mode 100644 src/referencePackages/src/system.formats.asn1/9.0.0/lib/net8.0/System.Formats.Asn1.cs create mode 100644 src/referencePackages/src/system.formats.asn1/9.0.0/lib/net9.0/System.Formats.Asn1.cs create mode 100644 src/referencePackages/src/system.formats.asn1/9.0.0/lib/netstandard2.0/System.Formats.Asn1.cs create mode 100644 src/referencePackages/src/system.formats.asn1/9.0.0/system.formats.asn1.nuspec create mode 100644 src/referencePackages/src/system.formats.nrbf/9.0.0/System.Formats.Nrbf.9.0.0.csproj create mode 100644 src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net8.0/System.Formats.Nrbf.cs create mode 100644 src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net9.0/System.Formats.Nrbf.cs create mode 100644 src/referencePackages/src/system.formats.nrbf/9.0.0/lib/netstandard2.0/System.Formats.Nrbf.cs create mode 100644 src/referencePackages/src/system.formats.nrbf/9.0.0/system.formats.nrbf.nuspec create mode 100644 src/referencePackages/src/system.memory/4.6.0/System.Memory.4.6.0.csproj create mode 100644 src/referencePackages/src/system.memory/4.6.0/lib/netstandard2.0/System.Memory.cs create mode 100644 src/referencePackages/src/system.memory/4.6.0/system.memory.nuspec create mode 100644 src/referencePackages/src/system.numerics.vectors/4.6.0/System.Numerics.Vectors.4.6.0.csproj create mode 100644 src/referencePackages/src/system.numerics.vectors/4.6.0/lib/netstandard2.0/System.Numerics.Vectors.cs create mode 100644 src/referencePackages/src/system.numerics.vectors/4.6.0/system.numerics.vectors.nuspec create mode 100644 src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj create mode 100644 src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs create mode 100644 src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs create mode 100644 src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs create mode 100644 src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec create mode 100644 src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/System.Reflection.MetadataLoadContext.9.0.0.csproj create mode 100644 src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net8.0/System.Reflection.MetadataLoadContext.cs create mode 100644 src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net9.0/System.Reflection.MetadataLoadContext.cs create mode 100644 src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs create mode 100644 src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/system.reflection.metadataloadcontext.nuspec create mode 100644 src/referencePackages/src/system.resources.extensions/9.0.0/System.Resources.Extensions.9.0.0.csproj create mode 100644 src/referencePackages/src/system.resources.extensions/9.0.0/lib/net8.0/System.Resources.Extensions.cs create mode 100644 src/referencePackages/src/system.resources.extensions/9.0.0/lib/net9.0/System.Resources.Extensions.cs create mode 100644 src/referencePackages/src/system.resources.extensions/9.0.0/lib/netstandard2.0/System.Resources.Extensions.cs create mode 100644 src/referencePackages/src/system.resources.extensions/9.0.0/system.resources.extensions.nuspec create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/System.Runtime.CompilerServices.Unsafe.6.1.0.csproj create mode 100755 src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/net7.0/_._ create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/system.runtime.compilerservices.unsafe.nuspec create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/System.Security.Cryptography.Pkcs.9.0.0.csproj create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net8.0/System.Security.Cryptography.Pkcs.cs create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net9.0/System.Security.Cryptography.Pkcs.cs create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Pkcs.cs create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.1/System.Security.Cryptography.Pkcs.cs create mode 100644 src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/system.security.cryptography.pkcs.nuspec create mode 100644 src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/System.Security.Cryptography.ProtectedData.9.0.0.csproj create mode 100644 src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net8.0/System.Security.Cryptography.ProtectedData.cs create mode 100644 src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net9.0/System.Security.Cryptography.ProtectedData.cs create mode 100644 src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs create mode 100644 src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/system.security.cryptography.protecteddata.nuspec create mode 100644 src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/System.Security.Cryptography.Xml.9.0.0.csproj create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net9.0/System.Security.Cryptography.Xml.cs create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs create mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/system.security.cryptography.xml.nuspec create mode 100644 src/referencePackages/src/system.text.encoding.codepages/9.0.0/System.Text.Encoding.CodePages.9.0.0.csproj create mode 100644 src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs create mode 100644 src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net9.0/System.Text.Encoding.CodePages.cs create mode 100644 src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs create mode 100644 src/referencePackages/src/system.text.encoding.codepages/9.0.0/system.text.encoding.codepages.nuspec create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/System.Threading.Tasks.Dataflow.9.0.0.csproj create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net8.0/System.Threading.Tasks.Dataflow.cs create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net9.0/System.Threading.Tasks.Dataflow.cs create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.0/System.Threading.Tasks.Dataflow.cs create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.1/System.Threading.Tasks.Dataflow.cs create mode 100644 src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/system.threading.tasks.dataflow.nuspec diff --git a/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/Microsoft.Bcl.Cryptography.9.0.0.csproj b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/Microsoft.Bcl.Cryptography.9.0.0.csproj new file mode 100644 index 0000000000..fe0cb2640e --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/Microsoft.Bcl.Cryptography.9.0.0.csproj @@ -0,0 +1,20 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + Microsoft.Bcl.Cryptography + Open + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net8.0/Microsoft.Bcl.Cryptography.cs b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net8.0/Microsoft.Bcl.Cryptography.cs new file mode 100644 index 0000000000..a0dd9fbabe --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net8.0/Microsoft.Bcl.Cryptography.cs @@ -0,0 +1,73 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.Cryptography")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for some cryptographic primitives for .NET Framework and .NET Standard.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.Cryptography")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.SP800108HmacCounterKdf))] +namespace System.Security.Cryptography.X509Certificates +{ + public sealed partial class Pkcs12LoaderLimits + { + public Pkcs12LoaderLimits() { } + public Pkcs12LoaderLimits(Pkcs12LoaderLimits copyFrom) { } + public static Pkcs12LoaderLimits DangerousNoLimits { get { throw null; } } + public static Pkcs12LoaderLimits Defaults { get { throw null; } } + public bool IgnoreEncryptedAuthSafes { get { throw null; } set { } } + public bool IgnorePrivateKeys { get { throw null; } set { } } + public int? IndividualKdfIterationLimit { get { throw null; } set { } } + public bool IsReadOnly { get { throw null; } } + public int? MacIterationLimit { get { throw null; } set { } } + public int? MaxCertificates { get { throw null; } set { } } + public int? MaxKeys { get { throw null; } set { } } + public bool PreserveCertificateAlias { get { throw null; } set { } } + public bool PreserveKeyName { get { throw null; } set { } } + public bool PreserveStorageProvider { get { throw null; } set { } } + public bool PreserveUnknownAttributes { get { throw null; } set { } } + public int? TotalKdfIterationLimit { get { throw null; } set { } } + + public void MakeReadOnly() { } + } + public sealed partial class Pkcs12LoadLimitExceededException : CryptographicException + { + public Pkcs12LoadLimitExceededException(string propertyName) { } + } + + [Runtime.Versioning.UnsupportedOSPlatform("browser")] + public static partial class X509CertificateLoader + { + public static X509Certificate2 LoadCertificate(byte[] data) { throw null; } + public static X509Certificate2 LoadCertificate(ReadOnlySpan data) { throw null; } + public static X509Certificate2 LoadCertificateFromFile(string path) { throw null; } + public static X509Certificate2 LoadPkcs12(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12Collection(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12Collection(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12FromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12FromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net9.0/Microsoft.Bcl.Cryptography.cs b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net9.0/Microsoft.Bcl.Cryptography.cs new file mode 100644 index 0000000000..0ed48af633 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/net9.0/Microsoft.Bcl.Cryptography.cs @@ -0,0 +1,31 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.Cryptography")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for some cryptographic primitives for .NET Framework and .NET Standard.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.Cryptography")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.SP800108HmacCounterKdf))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509CertificateLoader))] \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/netstandard2.0/Microsoft.Bcl.Cryptography.cs b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/netstandard2.0/Microsoft.Bcl.Cryptography.cs new file mode 100644 index 0000000000..30c03459af --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/lib/netstandard2.0/Microsoft.Bcl.Cryptography.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.Cryptography")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for some cryptographic primitives for .NET Framework and .NET Standard.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.Cryptography")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public sealed partial class SP800108HmacCounterKdf : IDisposable + { + public SP800108HmacCounterKdf(byte[] key, HashAlgorithmName hashAlgorithm) { } + public SP800108HmacCounterKdf(ReadOnlySpan key, HashAlgorithmName hashAlgorithm) { } + public static byte[] DeriveBytes(byte[] key, HashAlgorithmName hashAlgorithm, byte[] label, byte[] context, int derivedKeyLengthInBytes) { throw null; } + public static byte[] DeriveBytes(byte[] key, HashAlgorithmName hashAlgorithm, string label, string context, int derivedKeyLengthInBytes) { throw null; } + public static byte[] DeriveBytes(ReadOnlySpan key, HashAlgorithmName hashAlgorithm, ReadOnlySpan label, ReadOnlySpan context, int derivedKeyLengthInBytes) { throw null; } + public static void DeriveBytes(ReadOnlySpan key, HashAlgorithmName hashAlgorithm, ReadOnlySpan label, ReadOnlySpan context, Span destination) { } + public static byte[] DeriveBytes(ReadOnlySpan key, HashAlgorithmName hashAlgorithm, ReadOnlySpan label, ReadOnlySpan context, int derivedKeyLengthInBytes) { throw null; } + public static void DeriveBytes(ReadOnlySpan key, HashAlgorithmName hashAlgorithm, ReadOnlySpan label, ReadOnlySpan context, Span destination) { } + public byte[] DeriveKey(byte[] label, byte[] context, int derivedKeyLengthInBytes) { throw null; } + public byte[] DeriveKey(ReadOnlySpan label, ReadOnlySpan context, int derivedKeyLengthInBytes) { throw null; } + public void DeriveKey(ReadOnlySpan label, ReadOnlySpan context, Span destination) { } + public byte[] DeriveKey(ReadOnlySpan label, ReadOnlySpan context, int derivedKeyLengthInBytes) { throw null; } + public void DeriveKey(ReadOnlySpan label, ReadOnlySpan context, Span destination) { } + public byte[] DeriveKey(string label, string context, int derivedKeyLengthInBytes) { throw null; } + public void Dispose() { } + } +} + +namespace System.Security.Cryptography.X509Certificates +{ + public sealed partial class Pkcs12LoaderLimits + { + public Pkcs12LoaderLimits() { } + public Pkcs12LoaderLimits(Pkcs12LoaderLimits copyFrom) { } + public static Pkcs12LoaderLimits DangerousNoLimits { get { throw null; } } + public static Pkcs12LoaderLimits Defaults { get { throw null; } } + public bool IgnoreEncryptedAuthSafes { get { throw null; } set { } } + public bool IgnorePrivateKeys { get { throw null; } set { } } + public int? IndividualKdfIterationLimit { get { throw null; } set { } } + public bool IsReadOnly { get { throw null; } } + public int? MacIterationLimit { get { throw null; } set { } } + public int? MaxCertificates { get { throw null; } set { } } + public int? MaxKeys { get { throw null; } set { } } + public bool PreserveCertificateAlias { get { throw null; } set { } } + public bool PreserveKeyName { get { throw null; } set { } } + public bool PreserveStorageProvider { get { throw null; } set { } } + public bool PreserveUnknownAttributes { get { throw null; } set { } } + public int? TotalKdfIterationLimit { get { throw null; } set { } } + + public void MakeReadOnly() { } + } + public sealed partial class Pkcs12LoadLimitExceededException : CryptographicException + { + public Pkcs12LoadLimitExceededException(string propertyName) { } + } + + public static partial class X509CertificateLoader + { + public static X509Certificate2 LoadCertificate(byte[] data) { throw null; } + public static X509Certificate2 LoadCertificate(ReadOnlySpan data) { throw null; } + public static X509Certificate2 LoadCertificateFromFile(string path) { throw null; } + public static X509Certificate2 LoadPkcs12(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12Collection(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12Collection(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12FromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + public static X509Certificate2 LoadPkcs12FromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/microsoft.bcl.cryptography.nuspec b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/microsoft.bcl.cryptography.nuspec new file mode 100644 index 0000000000..62daf550a6 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.cryptography/9.0.0/microsoft.bcl.cryptography.nuspec @@ -0,0 +1,27 @@ + + + + Microsoft.Bcl.Cryptography + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides support for some cryptographic primitives for .NET Framework and .NET Standard. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/Microsoft.Bcl.HashCode.1.1.1.csproj b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/Microsoft.Bcl.HashCode.1.1.1.csproj new file mode 100644 index 0000000000..54ad550dea --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/Microsoft.Bcl.HashCode.1.1.1.csproj @@ -0,0 +1,10 @@ + + + + netstandard2.0;netstandard2.1 + 1.1.1 + Microsoft.Bcl.HashCode + Open + + + diff --git a/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/microsoft.bcl.hashcode.nuspec b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/microsoft.bcl.hashcode.nuspec new file mode 100644 index 0000000000..6f57b0a851 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/microsoft.bcl.hashcode.nuspec @@ -0,0 +1,28 @@ + + + + Microsoft.Bcl.HashCode + 1.1.1 + Microsoft.Bcl.HashCode + Microsoft + microsoft,dotnetframework + false + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/corefx + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides the HashCode type for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0. + +Commonly Used Types: +System.HashCode + +When using NuGet 3.x this package requires at least version 3.4. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.0/Microsoft.Bcl.HashCode.cs b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.0/Microsoft.Bcl.HashCode.cs new file mode 100644 index 0000000000..e1b9656b86 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.0/Microsoft.Bcl.HashCode.cs @@ -0,0 +1,44 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.HashCode")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.HashCode")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.20.56604")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.1.11+59d2f36ec02c494eec50940c7993257a807f9531")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.HashCode")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public partial struct HashCode + { + private int _dummyPrimitive; + public void Add(T value, Collections.Generic.IEqualityComparer comparer) { } + public void Add(T value) { } + public static int Combine(T1 value1) { throw null; } + public static int Combine(T1 value1, T2 value2) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7) { throw null; } + public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public int ToHashCode() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.1/Microsoft.Bcl.HashCode.cs b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.1/Microsoft.Bcl.HashCode.cs new file mode 100644 index 0000000000..91f02ed099 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.hashcode/1.1.1/ref/netstandard2.1/Microsoft.Bcl.HashCode.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.HashCode")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.HashCode")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.20.56604")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.1.11+59d2f36ec02c494eec50940c7993257a807f9531")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.HashCode")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.HashCode))] \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.11.48/Microsoft.Build.Framework.17.11.48.csproj b/src/referencePackages/src/microsoft.build.framework/17.11.48/Microsoft.Build.Framework.17.11.48.csproj new file mode 100644 index 0000000000..76f3b5a948 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.11.48/Microsoft.Build.Framework.17.11.48.csproj @@ -0,0 +1,16 @@ + + + + net8.0;netstandard2.0 + 17.11.48 + Microsoft.Build.Framework + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.11.48/microsoft.build.framework.nuspec b/src/referencePackages/src/microsoft.build.framework/17.11.48/microsoft.build.framework.nuspec new file mode 100644 index 0000000000..06150b4ee8 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.11.48/microsoft.build.framework.nuspec @@ -0,0 +1,27 @@ + + + + Microsoft.Build.Framework + 17.11.48 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Framework assembly which is a common assembly used by other MSBuild assemblies. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/net8.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/net8.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..e2e3921608 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/net8.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1038 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/netstandard2.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/netstandard2.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..c372b7ac29 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.11.48/ref/netstandard2.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1036 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.12.50/Microsoft.Build.Framework.17.12.50.csproj b/src/referencePackages/src/microsoft.build.framework/17.12.50/Microsoft.Build.Framework.17.12.50.csproj new file mode 100644 index 0000000000..1f6450ab87 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.12.50/Microsoft.Build.Framework.17.12.50.csproj @@ -0,0 +1,16 @@ + + + + net9.0;netstandard2.0 + 17.12.50 + Microsoft.Build.Framework + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.12.50/microsoft.build.framework.nuspec b/src/referencePackages/src/microsoft.build.framework/17.12.50/microsoft.build.framework.nuspec new file mode 100644 index 0000000000..8ad319ad66 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.12.50/microsoft.build.framework.nuspec @@ -0,0 +1,27 @@ + + + + Microsoft.Build.Framework + 17.12.50 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Framework assembly which is a common assembly used by other MSBuild assemblies. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/net9.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/net9.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..785d86c29b --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/net9.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1095 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Execution +{ + [System.Flags] + public enum BuildRequestDataFlags + { + None = 0, + ReplaceExistingProjectInstance = 1, + ProvideProjectStateAfterBuild = 2, + IgnoreExistingProjectState = 4, + ClearCachesAfterBuild = 8, + SkipNonexistentTargets = 16, + ProvideSubsetOfStateAfterBuild = 32, + IgnoreMissingEmptyAndInvalidImports = 64, + FailOnUnresolvedSdk = 128 + } +} + +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public sealed partial class BuildCanceledEventArgs : BuildStatusEventArgs + { + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp) { } + public BuildCanceledEventArgs(string message) { } + } + + public delegate void BuildCanceledEventHandler(object sender, BuildCanceledEventArgs e); + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + protected BuildErrorEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + protected BuildMessageEventArgs(string message, string file, int lineNumber, int columnNumber, MessageImportance importance) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public sealed partial class BuildSubmissionStartedEventArgs : BuildStatusEventArgs + { + public BuildSubmissionStartedEventArgs() { } + public BuildSubmissionStartedEventArgs(System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IEnumerable entryProjectsFullPath, System.Collections.Generic.IEnumerable targetNames, Execution.BuildRequestDataFlags flags, int submissionId) { } + public System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } set { } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } set { } } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } set { } } + public int SubmissionId { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable TargetNames { get { throw null; } set { } } + } + + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string code, string file, int lineNumber, int columnNumber, string message) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVarName, string environmentVarValue, string file, int line, int column) { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3, + InitialTargets = 4, + DefaultTargets = 5, + EntryTargets = 6 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} + +namespace Microsoft.Build.Shared +{ + public partial interface IMSBuildElementLocation + { + int Column { get; } + + string File { get; } + + int Line { get; } + + string LocationString { get; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/netstandard2.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/netstandard2.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..4b52212358 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.12.50/ref/netstandard2.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1093 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Execution +{ + [System.Flags] + public enum BuildRequestDataFlags + { + None = 0, + ReplaceExistingProjectInstance = 1, + ProvideProjectStateAfterBuild = 2, + IgnoreExistingProjectState = 4, + ClearCachesAfterBuild = 8, + SkipNonexistentTargets = 16, + ProvideSubsetOfStateAfterBuild = 32, + IgnoreMissingEmptyAndInvalidImports = 64, + FailOnUnresolvedSdk = 128 + } +} + +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public sealed partial class BuildCanceledEventArgs : BuildStatusEventArgs + { + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp) { } + public BuildCanceledEventArgs(string message) { } + } + + public delegate void BuildCanceledEventHandler(object sender, BuildCanceledEventArgs e); + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + protected BuildErrorEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + protected BuildMessageEventArgs(string message, string file, int lineNumber, int columnNumber, MessageImportance importance) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public sealed partial class BuildSubmissionStartedEventArgs : BuildStatusEventArgs + { + public BuildSubmissionStartedEventArgs() { } + public BuildSubmissionStartedEventArgs(System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IEnumerable entryProjectsFullPath, System.Collections.Generic.IEnumerable targetNames, Execution.BuildRequestDataFlags flags, int submissionId) { } + public System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } set { } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } set { } } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } set { } } + public int SubmissionId { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable TargetNames { get { throw null; } set { } } + } + + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string code, string file, int lineNumber, int columnNumber, string message) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVarName, string environmentVarValue, string file, int line, int column) { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3, + InitialTargets = 4, + DefaultTargets = 5, + EntryTargets = 6 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} + +namespace Microsoft.Build.Shared +{ + public partial interface IMSBuildElementLocation + { + int Column { get; } + + string File { get; } + + int Line { get; } + + string LocationString { get; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.14.28/Customizations.props b/src/referencePackages/src/microsoft.build.framework/17.14.28/Customizations.props new file mode 100644 index 0000000000..be524db64e --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.14.28/Customizations.props @@ -0,0 +1,5 @@ + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.14.28/Microsoft.Build.Framework.17.14.28.csproj b/src/referencePackages/src/microsoft.build.framework/17.14.28/Microsoft.Build.Framework.17.14.28.csproj new file mode 100644 index 0000000000..f9cb4f2772 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.14.28/Microsoft.Build.Framework.17.14.28.csproj @@ -0,0 +1,17 @@ + + + + net9.0;netstandard2.0 + 17.14.28 + Microsoft.Build.Framework + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.14.28/microsoft.build.framework.nuspec b/src/referencePackages/src/microsoft.build.framework/17.14.28/microsoft.build.framework.nuspec new file mode 100644 index 0000000000..909a5ba06c --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.14.28/microsoft.build.framework.nuspec @@ -0,0 +1,28 @@ + + + + Microsoft.Build.Framework + 17.14.28 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://aka.ms/msbuildicon + This package contains the Microsoft.Build.Framework assembly which is a common assembly used by other MSBuild assemblies. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/net9.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/net9.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..3c67c1c4c0 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/net9.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1134 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Execution +{ + [System.Flags] + public enum BuildRequestDataFlags + { + None = 0, + ReplaceExistingProjectInstance = 1, + ProvideProjectStateAfterBuild = 2, + IgnoreExistingProjectState = 4, + ClearCachesAfterBuild = 8, + SkipNonexistentTargets = 16, + ProvideSubsetOfStateAfterBuild = 32, + IgnoreMissingEmptyAndInvalidImports = 64, + FailOnUnresolvedSdk = 128 + } +} + +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public sealed partial class BuildCanceledEventArgs : BuildStatusEventArgs + { + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp) { } + public BuildCanceledEventArgs(string message) { } + } + + public delegate void BuildCanceledEventHandler(object sender, BuildCanceledEventArgs e); + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + protected BuildErrorEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + protected BuildMessageEventArgs(string message, string file, int lineNumber, int columnNumber, MessageImportance importance) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + protected BuildMessageEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public sealed partial class BuildSubmissionStartedEventArgs : BuildStatusEventArgs + { + public BuildSubmissionStartedEventArgs() { } + public BuildSubmissionStartedEventArgs(System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IEnumerable entryProjectsFullPath, System.Collections.Generic.IEnumerable targetNames, Execution.BuildRequestDataFlags flags, int submissionId) { } + public System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } set { } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } set { } } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } set { } } + public int SubmissionId { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable TargetNames { get { throw null; } set { } } + } + + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string code, string file, int lineNumber, int columnNumber, string message) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVarName, string environmentVarValue, string file, int line, int column) { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface IItemData + { + string EvaluatedInclude { get; } + + System.Collections.Generic.IEnumerable> EnumerateMetadata(); + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public readonly partial struct ItemData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ItemData(string type, object value) { } + public string EvaluatedInclude { get { throw null; } } + public string Type { get { throw null; } } + + public readonly System.Collections.Generic.IEnumerable> EnumerateMetadata() { throw null; } + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public readonly partial struct PropertyData : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyData(string Name, string Value) { } + public string Name { get { throw null; } init { } } + public string Value { get { throw null; } init { } } + + public readonly void Deconstruct(out string Name, out string Value) { throw null; } + public readonly bool Equals(PropertyData other) { throw null; } + public override readonly bool Equals(object obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(PropertyData left, PropertyData right) { throw null; } + public static bool operator !=(PropertyData left, PropertyData right) { throw null; } + public override readonly string ToString() { throw null; } + } + + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string file, int line, int column, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public override string Message { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string file, int line, int column, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3, + InitialTargets = 4, + DefaultTargets = 5, + EntryTargets = 6 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public override string Message { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} + +namespace Microsoft.Build.Shared +{ + public partial interface IMSBuildElementLocation + { + int Column { get; } + + string File { get; } + + int Line { get; } + + string LocationString { get; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/netstandard2.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/netstandard2.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..c03528aff6 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.14.28/ref/netstandard2.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MSBuild, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.OM.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.CommandLine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Framework.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Execution +{ + [System.Flags] + public enum BuildRequestDataFlags + { + None = 0, + ReplaceExistingProjectInstance = 1, + ProvideProjectStateAfterBuild = 2, + IgnoreExistingProjectState = 4, + ClearCachesAfterBuild = 8, + SkipNonexistentTargets = 16, + ProvideSubsetOfStateAfterBuild = 32, + IgnoreMissingEmptyAndInvalidImports = 64, + FailOnUnresolvedSdk = 128 + } +} + +namespace Microsoft.Build.Framework +{ + public delegate void AnyEventHandler(object sender, BuildEventArgs e); + public sealed partial class AssemblyLoadBuildEventArgs : BuildMessageEventArgs + { + public AssemblyLoadBuildEventArgs() { } + public AssemblyLoadBuildEventArgs(AssemblyLoadingContext loadingContext, string? loadingInitiator, string? assemblyName, string? assemblyPath, System.Guid mvid, string? customAppDomainDescriptor, MessageImportance importance = MessageImportance.Low) { } + public string? AppDomainDescriptor { get { throw null; } } + public string? AssemblyName { get { throw null; } } + public string? AssemblyPath { get { throw null; } } + public AssemblyLoadingContext LoadingContext { get { throw null; } } + public string? LoadingInitiator { get { throw null; } } + public override string Message { get { throw null; } } + public System.Guid MVID { get { throw null; } } + } + + public enum AssemblyLoadingContext + { + TaskRun = 0, + Evaluation = 1, + SdkResolution = 2, + LoggerInitialization = 3 + } + + public sealed partial class BuildCanceledEventArgs : BuildStatusEventArgs + { + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildCanceledEventArgs(string message, System.DateTime eventTimestamp) { } + public BuildCanceledEventArgs(string message) { } + } + + public delegate void BuildCanceledEventHandler(object sender, BuildCanceledEventArgs e); + public partial struct BuildEngineResult + { + private object _dummy; + private int _dummyPrimitive; + public BuildEngineResult(bool result, System.Collections.Generic.List> targetOutputsPerProject) { } + public bool Result { get { throw null; } } + public System.Collections.Generic.IList> TargetOutputsPerProject { get { throw null; } } + } + + public partial class BuildErrorEventArgs : LazyFormattedBuildEventArgs + { + protected BuildErrorEventArgs() { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildErrorEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + protected BuildErrorEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e); + public abstract partial class BuildEventArgs : System.EventArgs + { + protected BuildEventArgs() { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public BuildEventContext? BuildEventContext { get { throw null; } set { } } + public string? HelpKeyword { get { throw null; } } + public virtual string? Message { get { throw null; } protected set { } } + protected internal string? RawMessage { get { throw null; } set { } } + protected internal System.DateTime RawTimestamp { get { throw null; } set { } } + public string? SenderName { get { throw null; } } + public int ThreadId { get { throw null; } } + public System.DateTime Timestamp { get { throw null; } } + } + + public partial class BuildEventContext + { + public const int InvalidEvaluationId = -1; + public const int InvalidNodeId = -2; + public const int InvalidProjectContextId = -2; + public const int InvalidProjectInstanceId = -1; + public const int InvalidSubmissionId = -1; + public const int InvalidTargetId = -1; + public const int InvalidTaskId = -1; + public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId) { } + public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId) { } + public long BuildRequestId { get { throw null; } } + public int EvaluationId { get { throw null; } } + public static BuildEventContext Invalid { get { throw null; } } + public int NodeId { get { throw null; } } + public int ProjectContextId { get { throw null; } } + public int ProjectInstanceId { get { throw null; } } + public int SubmissionId { get { throw null; } } + public int TargetId { get { throw null; } } + public int TaskId { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(BuildEventContext? left, BuildEventContext? right) { throw null; } + public static bool operator !=(BuildEventContext? left, BuildEventContext? right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BuildFinishedEventArgs : BuildStatusEventArgs + { + protected BuildFinishedEventArgs() { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded, System.DateTime eventTimestamp) { } + public BuildFinishedEventArgs(string? message, string? helpKeyword, bool succeeded) { } + public bool Succeeded { get { throw null; } } + } + + public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e); + public partial class BuildMessageEventArgs : LazyFormattedBuildEventArgs + { + protected BuildMessageEventArgs() { } + protected BuildMessageEventArgs(string message, string file, int lineNumber, int columnNumber, MessageImportance importance) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string message, string helpKeyword, string senderName, MessageImportance importance) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public BuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, MessageImportance importance) { } + protected BuildMessageEventArgs(string code, string message, string file, int lineNumber, int columnNumber) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public MessageImportance Importance { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildMessageEventHandler(object sender, BuildMessageEventArgs e); + public partial class BuildStartedEventArgs : BuildStatusEventArgs + { + protected BuildStartedEventArgs() { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.Collections.Generic.IDictionary? environmentOfBuild) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public BuildStartedEventArgs(string? message, string? helpKeyword, System.DateTime eventTimestamp) { } + public BuildStartedEventArgs(string message, string helpKeyword) { } + public System.Collections.Generic.IDictionary? BuildEnvironment { get { throw null; } } + } + + public delegate void BuildStartedEventHandler(object sender, BuildStartedEventArgs e); + public abstract partial class BuildStatusEventArgs : LazyFormattedBuildEventArgs + { + protected BuildStatusEventArgs() { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName) { } + } + + public delegate void BuildStatusEventHandler(object sender, BuildStatusEventArgs e); + public sealed partial class BuildSubmissionStartedEventArgs : BuildStatusEventArgs + { + public BuildSubmissionStartedEventArgs() { } + public BuildSubmissionStartedEventArgs(System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IEnumerable entryProjectsFullPath, System.Collections.Generic.IEnumerable targetNames, Execution.BuildRequestDataFlags flags, int submissionId) { } + public System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } set { } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } set { } } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } set { } } + public int SubmissionId { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable TargetNames { get { throw null; } set { } } + } + + public partial class BuildWarningEventArgs : LazyFormattedBuildEventArgs + { + protected BuildWarningEventArgs() { } + public BuildWarningEventArgs(string code, string file, int lineNumber, int columnNumber, string message) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, string helpLink, System.DateTime eventTimestamp, params object[] messageArgs) { } + public BuildWarningEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + public string Code { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string File { get { throw null; } } + public string HelpLink { get { throw null; } } + public int LineNumber { get { throw null; } } + public string ProjectFile { get { throw null; } set { } } + public string Subcategory { get { throw null; } } + } + + public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e); + public partial class CriticalBuildMessageEventArgs : BuildMessageEventArgs + { + protected CriticalBuildMessageEventArgs() { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + public CriticalBuildMessageEventArgs(string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName) { } + } + + public abstract partial class CustomBuildEventArgs : LazyFormattedBuildEventArgs + { + protected CustomBuildEventArgs() { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp, params object[] messageArgs) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName, System.DateTime eventTimestamp) { } + protected CustomBuildEventArgs(string message, string helpKeyword, string senderName) { } + } + + public delegate void CustomBuildEventHandler(object sender, CustomBuildEventArgs e); + public abstract partial class EngineServices + { + public const int Version1 = 1; + public virtual bool IsTaskInputLoggingEnabled { get { throw null; } } + public virtual int Version { get { throw null; } } + + public virtual bool LogsMessagesOfImportance(MessageImportance importance) { throw null; } + } + public partial class EnvironmentVariableReadEventArgs : BuildMessageEventArgs + { + public EnvironmentVariableReadEventArgs() { } + public EnvironmentVariableReadEventArgs(string environmentVarName, string environmentVarValue, string file, int line, int column) { } + public EnvironmentVariableReadEventArgs(string environmentVariableName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string EnvironmentVariableName { get { throw null; } set { } } + } + + public static partial class EventSourceExtensions + { + public static void HandleAnyEventRaised(this IEventSource eventSource, AnyEventHandler handler) { } + public static void HandleBuildFinished(this IEventSource eventSource, BuildFinishedEventHandler handler) { } + public static void HandleBuildStarted(this IEventSource eventSource, BuildStartedEventHandler handler) { } + public static void HandleCustomEventRaised(this IEventSource eventSource, CustomBuildEventHandler handler) { } + public static void HandleErrorRaised(this IEventSource eventSource, BuildErrorEventHandler handler) { } + public static void HandleMessageRaised(this IEventSource eventSource, BuildMessageEventHandler handler) { } + public static void HandleProjectFinished(this IEventSource eventSource, ProjectFinishedEventHandler handler) { } + public static void HandleProjectStarted(this IEventSource eventSource, ProjectStartedEventHandler handler) { } + public static void HandleStatusEventRaised(this IEventSource eventSource, BuildStatusEventHandler handler) { } + public static void HandleTargetFinished(this IEventSource eventSource, TargetFinishedEventHandler handler) { } + public static void HandleTargetStarted(this IEventSource eventSource, TargetStartedEventHandler handler) { } + public static void HandleTaskFinished(this IEventSource eventSource, TaskFinishedEventHandler handler) { } + public static void HandleTaskStarted(this IEventSource eventSource, TaskStartedEventHandler handler) { } + public static void HandleWarningRaised(this IEventSource eventSource, BuildWarningEventHandler handler) { } + } + public sealed partial class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildErrorEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildErrorEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildMessageEventArgs : BuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance, System.DateTime eventTimestamp) { } + public ExtendedBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, MessageImportance importance) { } + public ExtendedBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs + { + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedBuildWarningEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedBuildWarningEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCriticalBuildMessageEventArgs : CriticalBuildMessageEventArgs, IExtendedBuildEventArgs + { + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCriticalBuildMessageEventArgs(string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCriticalBuildMessageEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public sealed partial class ExtendedCustomBuildEventArgs : CustomBuildEventArgs, IExtendedBuildEventArgs + { + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp) { } + public ExtendedCustomBuildEventArgs(string type, string? message, string? helpKeyword, string? senderName) { } + public ExtendedCustomBuildEventArgs(string type) { } + public string? ExtendedData { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? ExtendedMetadata { get { throw null; } set { } } + public string ExtendedType { get { throw null; } set { } } + } + + public partial class ExternalProjectFinishedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectFinishedEventArgs() { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ExternalProjectFinishedEventArgs(string message, string helpKeyword, string senderName, string projectFile, bool succeeded) { } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class ExternalProjectStartedEventArgs : CustomBuildEventArgs + { + protected ExternalProjectStartedEventArgs() { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames, System.DateTime eventTimestamp) { } + public ExternalProjectStartedEventArgs(string message, string helpKeyword, string senderName, string projectFile, string targetNames) { } + public string ProjectFile { get { throw null; } } + public string TargetNames { get { throw null; } } + } + + public static partial class Features + { + public static FeatureStatus CheckFeatureAvailability(string featureName) { throw null; } + } + public enum FeatureStatus + { + Undefined = 0, + Available = 1, + NotAvailable = 2, + Preview = 3 + } + + public partial interface IBuildEngine + { + int ColumnNumberOfTaskNode { get; } + + bool ContinueOnError { get; } + + int LineNumberOfTaskNode { get; } + + string ProjectFileOfTaskNode { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs); + void LogCustomEvent(CustomBuildEventArgs e); + void LogErrorEvent(BuildErrorEventArgs e); + void LogMessageEvent(BuildMessageEventArgs e); + void LogWarningEvent(BuildWarningEventArgs e); + } + + public partial interface IBuildEngine10 : IBuildEngine9, IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + EngineServices EngineServices { get; } + } + + public partial interface IBuildEngine2 : IBuildEngine + { + bool IsRunningMultipleNodes { get; } + + bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs, string toolsVersion); + bool BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.IDictionary[] targetOutputsPerProject, string[] toolsVersion, bool useResultsCache, bool unloadProjectsOnCompletion); + } + + public partial interface IBuildEngine3 : IBuildEngine2, IBuildEngine + { + BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, System.Collections.IDictionary[] globalProperties, System.Collections.Generic.IList[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs); + void Reacquire(); + void Yield(); + } + + public partial interface IBuildEngine4 : IBuildEngine3, IBuildEngine2, IBuildEngine + { + object GetRegisteredTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection); + object UnregisterTaskObject(object key, RegisteredTaskObjectLifetime lifetime); + } + + public partial interface IBuildEngine5 : IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties); + } + + public partial interface IBuildEngine6 : IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + System.Collections.Generic.IReadOnlyDictionary GetGlobalProperties(); + } + + public partial interface IBuildEngine7 : IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool AllowFailureWithoutError { get; set; } + } + + public partial interface IBuildEngine8 : IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + bool ShouldTreatWarningAsError(string warningCode); + } + + public partial interface IBuildEngine9 : IBuildEngine8, IBuildEngine7, IBuildEngine6, IBuildEngine5, IBuildEngine4, IBuildEngine3, IBuildEngine2, IBuildEngine + { + void ReleaseCores(int coresToRelease); + int RequestCores(int requestedCores); + } + + public partial interface ICancelableTask : ITask + { + void Cancel(); + } + + public partial interface IEventRedirector + { + void ForwardEvent(BuildEventArgs buildEvent); + } + + public partial interface IEventSource + { + event AnyEventHandler AnyEventRaised; + event BuildFinishedEventHandler BuildFinished; + event BuildStartedEventHandler BuildStarted; + event CustomBuildEventHandler CustomEventRaised; + event BuildErrorEventHandler ErrorRaised; + event BuildMessageEventHandler MessageRaised; + event ProjectFinishedEventHandler ProjectFinished; + event ProjectStartedEventHandler ProjectStarted; + event BuildStatusEventHandler StatusEventRaised; + event TargetFinishedEventHandler TargetFinished; + event TargetStartedEventHandler TargetStarted; + event TaskFinishedEventHandler TaskFinished; + event TaskStartedEventHandler TaskStarted; + event BuildWarningEventHandler WarningRaised; + } + + public partial interface IEventSource2 : IEventSource + { + event TelemetryEventHandler TelemetryLogged; + } + + public partial interface IEventSource3 : IEventSource2, IEventSource + { + void IncludeEvaluationMetaprojects(); + void IncludeEvaluationProfiles(); + void IncludeTaskInputs(); + } + + public partial interface IEventSource4 : IEventSource3, IEventSource2, IEventSource + { + void IncludeEvaluationPropertiesAndItems(); + } + + public partial interface IExtendedBuildEventArgs + { + string? ExtendedData { get; set; } + + System.Collections.Generic.Dictionary? ExtendedMetadata { get; set; } + + string ExtendedType { get; set; } + } + + public partial interface IForwardingLogger : INodeLogger, ILogger + { + IEventRedirector BuildEventRedirector { get; set; } + + int NodeId { get; set; } + } + + public partial interface IGeneratedTask : ITask + { + object GetPropertyValue(TaskPropertyInfo property); + void SetPropertyValue(TaskPropertyInfo property, object value); + } + + public partial interface IIncrementalTask + { + bool FailIfNotIncremental { set; } + } + + public partial interface IItemData + { + string EvaluatedInclude { get; } + + System.Collections.Generic.IEnumerable> EnumerateMetadata(); + } + + public partial interface ILogger + { + string? Parameters { get; set; } + + LoggerVerbosity Verbosity { get; set; } + + void Initialize(IEventSource eventSource); + void Shutdown(); + } + + public partial interface INodeLogger : ILogger + { + void Initialize(IEventSource eventSource, int nodeCount); + } + + public partial interface IProjectElement + { + string ElementName { get; } + + string OuterElement { get; } + } + + public partial interface ITask + { + IBuildEngine BuildEngine { get; set; } + + ITaskHost HostObject { get; set; } + + bool Execute(); + } + + public partial interface ITaskFactory + { + string FactoryName { get; } + + System.Type TaskType { get; } + + void CleanupTask(ITask task); + ITask CreateTask(IBuildEngine taskFactoryLoggingHost); + TaskPropertyInfo[] GetTaskParameters(); + bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskFactory2 : ITaskFactory + { + ITask CreateTask(IBuildEngine taskFactoryLoggingHost, System.Collections.Generic.IDictionary taskIdentityParameters); + bool Initialize(string taskName, System.Collections.Generic.IDictionary factoryIdentityParameters, System.Collections.Generic.IDictionary parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); + } + + public partial interface ITaskHost + { + } + + public partial interface ITaskItem + { + string ItemSpec { get; set; } + + int MetadataCount { get; } + + System.Collections.ICollection MetadataNames { get; } + + System.Collections.IDictionary CloneCustomMetadata(); + void CopyMetadataTo(ITaskItem destinationItem); + string GetMetadata(string metadataName); + void RemoveMetadata(string metadataName); + void SetMetadata(string metadataName, string metadataValue); + } + + public partial interface ITaskItem2 : ITaskItem + { + string EvaluatedIncludeEscaped { get; set; } + + System.Collections.IDictionary CloneCustomMetadataEscaped(); + string GetMetadataValueEscaped(string metadataName); + void SetMetadataValueLiteral(string metadataName, string metadataValue); + } + + public readonly partial struct ItemData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ItemData(string type, object value) { } + public string EvaluatedInclude { get { throw null; } } + public string Type { get { throw null; } } + + public readonly System.Collections.Generic.IEnumerable> EnumerateMetadata() { throw null; } + } + + public partial class LazyFormattedBuildEventArgs : BuildEventArgs + { + protected LazyFormattedBuildEventArgs() { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName, System.DateTime eventTimestamp, params object[]? messageArgs) { } + public LazyFormattedBuildEventArgs(string? message, string? helpKeyword, string? senderName) { } + public override string? Message { get { throw null; } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class LoadInSeparateAppDomainAttribute : System.Attribute + { + } + + public partial class LoggerException : BuildException.BuildExceptionBase + { + public LoggerException() { } + protected LoggerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public LoggerException(string message, System.Exception innerException, string errorCode, string helpKeyword) { } + public LoggerException(string message, System.Exception innerException) { } + public LoggerException(string message) { } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public enum LoggerVerbosity + { + Quiet = 0, + Minimal = 1, + Normal = 2, + Detailed = 3, + Diagnostic = 4 + } + + public enum MessageImportance + { + High = 0, + Normal = 1, + Low = 2 + } + + public partial class MetaprojectGeneratedEventArgs : BuildMessageEventArgs + { + public string metaprojectXml; + public MetaprojectGeneratedEventArgs(string metaprojectXml, string metaprojectPath, string message) { } + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class OutputAttribute : System.Attribute + { + } + + public sealed partial class ProjectEvaluationFinishedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationFinishedEventArgs() { } + public ProjectEvaluationFinishedEventArgs(string? message, params object[]? messageArgs) { } + public System.Collections.IEnumerable? GlobalProperties { get { throw null; } set { } } + public System.Collections.IEnumerable? Items { get { throw null; } set { } } + public Profiler.ProfilerResult? ProfilerResult { get { throw null; } set { } } + public string? ProjectFile { get { throw null; } set { } } + public System.Collections.IEnumerable? Properties { get { throw null; } set { } } + } + + public partial class ProjectEvaluationStartedEventArgs : BuildStatusEventArgs + { + public ProjectEvaluationStartedEventArgs() { } + public ProjectEvaluationStartedEventArgs(string? message, params object[]? messageArgs) { } + public string? ProjectFile { get { throw null; } set { } } + } + + public partial class ProjectFinishedEventArgs : BuildStatusEventArgs + { + protected ProjectFinishedEventArgs() { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded, System.DateTime eventTimestamp) { } + public ProjectFinishedEventArgs(string? message, string? helpKeyword, string? projectFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public delegate void ProjectFinishedEventHandler(object sender, ProjectFinishedEventArgs e); + public partial class ProjectImportedEventArgs : BuildMessageEventArgs + { + public ProjectImportedEventArgs() { } + public ProjectImportedEventArgs(int lineNumber, int columnNumber, string message, params object[] messageArgs) { } + public string ImportedProjectFile { get { throw null; } set { } } + public bool ImportIgnored { get { throw null; } set { } } + public string UnexpandedProject { get { throw null; } set { } } + } + + public partial class ProjectStartedEventArgs : BuildStatusEventArgs + { + public const int InvalidProjectId = -1; + protected ProjectStartedEventArgs() { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary? globalProperties, string? toolsVersion) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, BuildEventContext? parentBuildEventContext) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, System.DateTime eventTimestamp) { } + public ProjectStartedEventArgs(string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items) { } + public System.Collections.Generic.IDictionary? GlobalProperties { get { throw null; } } + public System.Collections.IEnumerable? Items { get { throw null; } } + public override string Message { get { throw null; } } + public BuildEventContext? ParentProjectBuildEventContext { get { throw null; } } + public string? ProjectFile { get { throw null; } } + public int ProjectId { get { throw null; } } + public System.Collections.IEnumerable? Properties { get { throw null; } } + public string? TargetNames { get { throw null; } } + public string? ToolsVersion { get { throw null; } } + } + + public delegate void ProjectStartedEventHandler(object sender, ProjectStartedEventArgs e); + public readonly partial struct PropertyData : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyData(string Name, string Value) { } + public string Name { get { throw null; } init { } } + public string Value { get { throw null; } init { } } + + public readonly void Deconstruct(out string Name, out string Value) { throw null; } + public readonly bool Equals(PropertyData other) { throw null; } + public override readonly bool Equals(object obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(PropertyData left, PropertyData right) { throw null; } + public static bool operator !=(PropertyData left, PropertyData right) { throw null; } + public override readonly string ToString() { throw null; } + } + + public partial class PropertyInitialValueSetEventArgs : BuildMessageEventArgs + { + public PropertyInitialValueSetEventArgs() { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string file, int line, int column, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public PropertyInitialValueSetEventArgs(string propertyName, string propertyValue, string propertySource, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public override string Message { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + public string PropertySource { get { throw null; } set { } } + public string PropertyValue { get { throw null; } set { } } + } + + public partial class PropertyReassignmentEventArgs : BuildMessageEventArgs + { + public PropertyReassignmentEventArgs() { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string file, int line, int column, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public PropertyReassignmentEventArgs(string propertyName, string previousValue, string newValue, string location, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public string Location { get { throw null; } set { } } + public override string Message { get { throw null; } } + public string NewValue { get { throw null; } set { } } + public string PreviousValue { get { throw null; } set { } } + public string PropertyName { get { throw null; } set { } } + } + + public enum RegisteredTaskObjectLifetime + { + Build = 0, + AppDomain = 1 + } + + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RequiredRuntimeAttribute : System.Attribute + { + public RequiredRuntimeAttribute(string runtimeVersion) { } + public string RuntimeVersion { get { throw null; } } + } + + public partial class ResponseFileUsedEventArgs : BuildMessageEventArgs + { + public ResponseFileUsedEventArgs() { } + public ResponseFileUsedEventArgs(string? responseFilePath) { } + public string? ResponseFilePath { get { throw null; } set { } } + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInMTAAttribute : System.Attribute + { + } + + [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class RunInSTAAttribute : System.Attribute + { + } + + public abstract partial class SdkLogger + { + public abstract void LogMessage(string message, MessageImportance messageImportance = MessageImportance.Low); + } + public sealed partial class SdkReference : System.IEquatable + { + public SdkReference(string name, string version, string minimumVersion) { } + public string MinimumVersion { get { throw null; } } + public string Name { get { throw null; } } + public string Version { get { throw null; } } + + public bool Equals(SdkReference other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public static bool TryParse(string sdk, out SdkReference sdkReference) { throw null; } + } + + public abstract partial class SdkResolver + { + public abstract string Name { get; } + public abstract int Priority { get; } + + public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory); + } + public abstract partial class SdkResolverContext + { + public virtual bool Interactive { get { throw null; } protected set { } } + public virtual bool IsRunningInVisualStudio { get { throw null; } protected set { } } + public virtual SdkLogger Logger { get { throw null; } protected set { } } + public virtual System.Version MSBuildVersion { get { throw null; } protected set { } } + public virtual string ProjectFilePath { get { throw null; } protected set { } } + public virtual string SolutionFilePath { get { throw null; } protected set { } } + public virtual object State { get { throw null; } set { } } + } + public abstract partial class SdkResult + { + public virtual System.Collections.Generic.IList AdditionalPaths { get { throw null; } set { } } + public virtual System.Collections.Generic.IDictionary ItemsToAdd { get { throw null; } protected set { } } + public virtual string Path { get { throw null; } protected set { } } + public virtual System.Collections.Generic.IDictionary PropertiesToAdd { get { throw null; } protected set { } } + public virtual SdkReference SdkReference { get { throw null; } protected set { } } + public virtual bool Success { get { throw null; } protected set { } } + public virtual string Version { get { throw null; } protected set { } } + } + public abstract partial class SdkResultFactory + { + public abstract SdkResult IndicateFailure(System.Collections.Generic.IEnumerable errors, System.Collections.Generic.IEnumerable warnings = null); + public virtual SdkResult IndicateSuccess(System.Collections.Generic.IEnumerable paths, string version, System.Collections.Generic.IDictionary propertiesToAdd = null, System.Collections.Generic.IDictionary itemsToAdd = null, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public virtual SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IDictionary propertiesToAdd, System.Collections.Generic.IDictionary itemsToAdd, System.Collections.Generic.IEnumerable warnings = null) { throw null; } + public abstract SdkResult IndicateSuccess(string path, string version, System.Collections.Generic.IEnumerable warnings = null); + } + public partial class SdkResultItem + { + public SdkResultItem() { } + public SdkResultItem(string itemSpec, System.Collections.Generic.Dictionary? metadata) { } + public string ItemSpec { get { throw null; } set { } } + public System.Collections.Generic.Dictionary? Metadata { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + } + public enum TargetBuiltReason + { + None = 0, + BeforeTargets = 1, + DependsOn = 2, + AfterTargets = 3, + InitialTargets = 4, + DefaultTargets = 5, + EntryTargets = 6 + } + + public partial class TargetFinishedEventArgs : BuildStatusEventArgs + { + protected TargetFinishedEventArgs() { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded, System.DateTime eventTimestamp, System.Collections.IEnumerable targetOutputs) { } + public TargetFinishedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.IEnumerable TargetOutputs { get { throw null; } set { } } + } + + public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e); + public partial class TargetSkippedEventArgs : BuildMessageEventArgs + { + public TargetSkippedEventArgs() { } + public TargetSkippedEventArgs(string message, params object[] messageArgs) { } + public TargetBuiltReason BuildReason { get { throw null; } set { } } + public string Condition { get { throw null; } set { } } + public string EvaluatedCondition { get { throw null; } set { } } + public override string Message { get { throw null; } } + public BuildEventContext OriginalBuildEventContext { get { throw null; } set { } } + public bool OriginallySucceeded { get { throw null; } set { } } + public string ParentTarget { get { throw null; } set { } } + public TargetSkipReason SkipReason { get { throw null; } set { } } + public string TargetFile { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + } + + public enum TargetSkipReason + { + None = 0, + PreviouslyBuiltSuccessfully = 1, + PreviouslyBuiltUnsuccessfully = 2, + OutputsUpToDate = 3, + ConditionWasFalse = 4 + } + + public partial class TargetStartedEventArgs : BuildStatusEventArgs + { + protected TargetStartedEventArgs() { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, TargetBuiltReason buildReason, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, System.DateTime eventTimestamp) { } + public TargetStartedEventArgs(string message, string helpKeyword, string targetName, string projectFile, string targetFile) { } + public TargetBuiltReason BuildReason { get { throw null; } } + public override string Message { get { throw null; } } + public string ParentTarget { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TargetFile { get { throw null; } } + public string TargetName { get { throw null; } } + } + + public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e); + public partial class TaskCommandLineEventArgs : BuildMessageEventArgs + { + protected TaskCommandLineEventArgs() { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance, System.DateTime eventTimestamp) { } + public TaskCommandLineEventArgs(string commandLine, string taskName, MessageImportance importance) { } + public string CommandLine { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public partial class TaskFinishedEventArgs : BuildStatusEventArgs + { + protected TaskFinishedEventArgs() { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, System.DateTime eventTimestamp) { } + public TaskFinishedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded) { } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public bool Succeeded { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskFinishedEventHandler(object sender, TaskFinishedEventArgs e); + public partial class TaskParameterEventArgs : BuildMessageEventArgs + { + public TaskParameterEventArgs(TaskParameterMessageKind kind, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public TaskParameterEventArgs(TaskParameterMessageKind kind, string parameterName, string propertyName, string itemType, System.Collections.IList items, bool logItemMetadata, System.DateTime eventTimestamp) { } + public System.Collections.IList Items { get { throw null; } } + public string ItemType { get { throw null; } } + public TaskParameterMessageKind Kind { get { throw null; } } + public bool LogItemMetadata { get { throw null; } } + public override string Message { get { throw null; } } + public string ParameterName { get { throw null; } } + public string PropertyName { get { throw null; } } + } + + public enum TaskParameterMessageKind + { + TaskInput = 0, + TaskOutput = 1, + AddItem = 2, + RemoveItem = 3, + SkippedTargetInputs = 4, + SkippedTargetOutputs = 5 + } + + public partial class TaskPropertyInfo + { + public TaskPropertyInfo(string name, System.Type typeOfParameter, bool output, bool required) { } + public bool Log { get { throw null; } set { } } + public bool LogItemMetadata { get { throw null; } set { } } + public string Name { get { throw null; } } + public bool Output { get { throw null; } } + public System.Type PropertyType { get { throw null; } } + public bool Required { get { throw null; } } + } + public partial class TaskStartedEventArgs : BuildStatusEventArgs + { + protected TaskStartedEventArgs() { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, System.DateTime eventTimestamp) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation) { } + public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName) { } + public int ColumnNumber { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public string TaskFile { get { throw null; } } + public string TaskName { get { throw null; } } + } + + public delegate void TaskStartedEventHandler(object sender, TaskStartedEventArgs e); + public sealed partial class TelemetryEventArgs : BuildEventArgs + { + public string? EventName { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } set { } } + } + + public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e); + public partial class UninitializedPropertyReadEventArgs : BuildMessageEventArgs + { + public UninitializedPropertyReadEventArgs() { } + public UninitializedPropertyReadEventArgs(string propertyName, string message, string helpKeyword = null, string senderName = null, MessageImportance importance = MessageImportance.Low) { } + public override string Message { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Framework.BuildException +{ + public abstract partial class BuildExceptionBase : System.Exception + { + internal BuildExceptionBase() { } + public override string? StackTrace { get { throw null; } } + + protected virtual System.Collections.Generic.IDictionary? FlushCustomState() { throw null; } + protected virtual void InitializeCustomState(System.Collections.Generic.IDictionary? customKeyedSerializedData) { } + public override string ToString() { throw null; } + } +} + +namespace Microsoft.Build.Framework.Profiler +{ + public partial struct EvaluationLocation + { + private object _dummy; + private int _dummyPrimitive; + public EvaluationLocation(EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long id, long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public EvaluationLocation(long? parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, EvaluationLocationKind kind) { } + public string ElementDescription { get { throw null; } } + public string ElementName { get { throw null; } } + public static EvaluationLocation EmptyLocation { get { throw null; } } + public EvaluationPass EvaluationPass { get { throw null; } } + public string EvaluationPassDescription { get { throw null; } } + public string File { get { throw null; } } + public long Id { get { throw null; } } + public bool IsEvaluationPass { get { throw null; } } + public EvaluationLocationKind Kind { get { throw null; } } + public int? Line { get { throw null; } } + public long? ParentId { get { throw null; } } + + public static EvaluationLocation CreateLocationForAggregatedGlob() { throw null; } + public static EvaluationLocation CreateLocationForCondition(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string condition) { throw null; } + public static EvaluationLocation CreateLocationForGlob(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, string globDescription) { throw null; } + public static EvaluationLocation CreateLocationForProject(long? parentId, EvaluationPass evaluationPass, string evaluationDescription, string file, int? line, IProjectElement element) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + public readonly EvaluationLocation WithEvaluationPass(EvaluationPass evaluationPass, string passDescription = null) { throw null; } + public EvaluationLocation WithFile(string file) { throw null; } + public EvaluationLocation WithFileLineAndCondition(string file, int? line, string condition) { throw null; } + public EvaluationLocation WithFileLineAndElement(string file, int? line, IProjectElement element) { throw null; } + public EvaluationLocation WithGlob(string globDescription) { throw null; } + public EvaluationLocation WithParentId(long? parentId) { throw null; } + } + + public enum EvaluationLocationKind : byte + { + Element = 0, + Condition = 1, + Glob = 2 + } + + public enum EvaluationPass : byte + { + TotalEvaluation = 0, + TotalGlobbing = 1, + InitialProperties = 2, + Properties = 3, + ItemDefinitionGroups = 4, + Items = 5, + LazyItems = 6, + UsingTasks = 7, + Targets = 8 + } + + public partial struct ProfiledLocation + { + private int _dummyPrimitive; + public ProfiledLocation(System.TimeSpan inclusiveTime, System.TimeSpan exclusiveTime, int numberOfHits) { } + public System.TimeSpan ExclusiveTime { get { throw null; } } + public System.TimeSpan InclusiveTime { get { throw null; } } + public int NumberOfHits { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public partial struct ProfilerResult + { + private object _dummy; + private int _dummyPrimitive; + public ProfilerResult(System.Collections.Generic.IDictionary profiledLocations) { } + public System.Collections.Generic.IReadOnlyDictionary ProfiledLocations { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } +} + +namespace Microsoft.Build.Shared +{ + public partial interface IMSBuildElementLocation + { + int Column { get; } + + string File { get; } + + int Line { get; } + + string LocationString { get; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/Microsoft.Build.Tasks.Core.17.11.48.csproj b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/Microsoft.Build.Tasks.Core.17.11.48.csproj new file mode 100644 index 0000000000..c2422a2a70 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/Microsoft.Build.Tasks.Core.17.11.48.csproj @@ -0,0 +1,42 @@ + + + + net8.0;netstandard2.0 + 17.11.48 + Microsoft.Build.Tasks.Core + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/microsoft.build.tasks.core.nuspec b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/microsoft.build.tasks.core.nuspec new file mode 100644 index 0000000000..ee1fdf522f --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/microsoft.build.tasks.core.nuspec @@ -0,0 +1,51 @@ + + + + Microsoft.Build.Tasks.Core + 17.11.48 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Tasks assembly which implements the commonly used tasks of MSBuild. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/net8.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/net8.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..92f41d362f --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/net8.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2806 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + public string CustomErrorRegularExpression { get { throw null; } set { } } + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out nint ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, nint pBstrDllName, nint pBstrName, nint pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out nint ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(nint hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out nint href); + void GetTypeAttr(out nint ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out nint ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, nint pVarResult, nint pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(nint pFuncDesc); + void ReleaseTypeAttr(nint pTypeAttr); + void ReleaseVarDesc(nint pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out nint buildSucceededEvent, out nint buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..9f02e0fe8e --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2795 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + public string CustomErrorRegularExpression { get { throw null; } set { } } + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, System.IntPtr pBstrDllName, System.IntPtr pBstrName, System.IntPtr pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out System.IntPtr ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(System.IntPtr hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out System.IntPtr href); + void GetTypeAttr(out System.IntPtr ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out System.IntPtr ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(System.IntPtr pFuncDesc); + void ReleaseTypeAttr(System.IntPtr pTypeAttr); + void ReleaseVarDesc(System.IntPtr pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out System.IntPtr buildSucceededEvent, out System.IntPtr buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/Microsoft.Build.Tasks.Core.17.12.50.csproj b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/Microsoft.Build.Tasks.Core.17.12.50.csproj new file mode 100644 index 0000000000..2f36c42eaa --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/Microsoft.Build.Tasks.Core.17.12.50.csproj @@ -0,0 +1,42 @@ + + + + net9.0;netstandard2.0 + 17.12.50 + Microsoft.Build.Tasks.Core + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/microsoft.build.tasks.core.nuspec b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/microsoft.build.tasks.core.nuspec new file mode 100644 index 0000000000..2cd479231f --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/microsoft.build.tasks.core.nuspec @@ -0,0 +1,51 @@ + + + + Microsoft.Build.Tasks.Core + 17.12.50 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Tasks assembly which implements the commonly used tasks of MSBuild. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/net9.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/net9.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..088246188f --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/net9.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2806 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + public string CustomErrorRegularExpression { get { throw null; } set { } } + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out nint ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, nint pBstrDllName, nint pBstrName, nint pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out nint ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(nint hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out nint href); + void GetTypeAttr(out nint ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out nint ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, nint pVarResult, nint pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(nint pFuncDesc); + void ReleaseTypeAttr(nint pTypeAttr); + void ReleaseVarDesc(nint pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out nint buildSucceededEvent, out nint buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..ed0012419d --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2795 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + public string CustomErrorRegularExpression { get { throw null; } set { } } + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, System.IntPtr pBstrDllName, System.IntPtr pBstrName, System.IntPtr pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out System.IntPtr ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(System.IntPtr hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out System.IntPtr href); + void GetTypeAttr(out System.IntPtr ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out System.IntPtr ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(System.IntPtr pFuncDesc); + void ReleaseTypeAttr(System.IntPtr pTypeAttr); + void ReleaseVarDesc(System.IntPtr pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out System.IntPtr buildSucceededEvent, out System.IntPtr buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/Microsoft.Build.Tasks.Core.17.14.28.csproj b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/Microsoft.Build.Tasks.Core.17.14.28.csproj new file mode 100644 index 0000000000..939240e1d9 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/Microsoft.Build.Tasks.Core.17.14.28.csproj @@ -0,0 +1,47 @@ + + + + net9.0;netstandard2.0 + 17.14.28 + Microsoft.Build.Tasks.Core + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/microsoft.build.tasks.core.nuspec b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/microsoft.build.tasks.core.nuspec new file mode 100644 index 0000000000..375408145b --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/microsoft.build.tasks.core.nuspec @@ -0,0 +1,56 @@ + + + + Microsoft.Build.Tasks.Core + 17.14.28 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://aka.ms/msbuildicon + This package contains the Microsoft.Build.Tasks assembly which implements the commonly used tasks of MSBuild. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/net9.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/net9.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..936fb83ca1 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/net9.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2819 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + public bool WarnOnCultureOverwritten { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + public bool EnableCustomCulture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [System.Diagnostics.CodeAnalysis.StringSyntax("Uri")] + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + + [System.Diagnostics.CodeAnalysis.StringSyntax("Regex")] + public string CustomErrorRegularExpression { get { throw null; } set { } } + + [System.Diagnostics.CodeAnalysis.StringSyntax("Regex")] + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out nint ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, nint pBstrDllName, nint pBstrName, nint pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out nint ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(nint hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out nint href); + void GetTypeAttr(out nint ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out nint ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, nint pVarResult, nint pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(nint pFuncDesc); + void ReleaseTypeAttr(nint pTypeAttr); + void ReleaseVarDesc(nint pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool EnableCustomCulture { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public string[] NonCultureResourceDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [System.Diagnostics.CodeAnalysis.StringSyntax("Uri")] + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out nint buildSucceededEvent, out nint buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs new file mode 100644 index 0000000000..e8442e63e8 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.tasks.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Tasks.Core.cs @@ -0,0 +1,2800 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Tasks.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Tasks +{ + public sealed partial class AddToWin32Manifest : TaskExtension + { + public AddToWin32Manifest() { } + public Framework.ITaskItem? ApplicationManifest { get { throw null; } set { } } + + [Framework.Output] + public string ManifestPath { get { throw null; } } + + [Framework.Required] + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Required] + public string SupportedArchitectures { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class AL : TaskRequiresFramework + { + public AL() { } + public string AlgorithmId { get { throw null; } set { } } + public string BaseAddress { get { throw null; } set { } } + public string CompanyName { get { throw null; } set { } } + public string Configuration { get { throw null; } set { } } + public string Copyright { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem[] EmbedResources { get { throw null; } set { } } + public string EvidenceFile { get { throw null; } set { } } + public string FileVersion { get { throw null; } set { } } + public string Flags { get { throw null; } set { } } + public bool GenerateFullPaths { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public Framework.ITaskItem[] LinkResources { get { throw null; } set { } } + public string MainEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAssembly { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + public string ProductName { get { throw null; } set { } } + public string ProductVersion { get { throw null; } set { } } + public string[] ResponseFiles { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public Framework.ITaskItem[] SourceModules { get { throw null; } set { } } + public string TargetType { get { throw null; } set { } } + public string TemplateFile { get { throw null; } set { } } + public string Title { get { throw null; } set { } } + public string Trademark { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public string Win32Icon { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + + public sealed partial class AspNetCompiler : TaskRequiresFramework + { + public AspNetCompiler() { } + public bool AllowPartiallyTrustedCallers { get { throw null; } set { } } + public bool Clean { get { throw null; } set { } } + public bool Debug { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public bool FixedNames { get { throw null; } set { } } + public bool Force { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string MetabasePath { get { throw null; } set { } } + public string PhysicalPath { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + public bool Updateable { get { throw null; } set { } } + public string VirtualPath { get { throw null; } set { } } + } + + public partial class AssignCulture : TaskExtension + { + public AssignCulture() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedFilesWithNoCulture { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] CultureNeutralAssignedFiles { get { throw null; } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool RespectAlreadyAssignedItemCulture { get { throw null; } set { } } + public bool WarnOnCultureOverwritten { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignLinkMetadata : TaskExtension + { + public AssignLinkMetadata() { } + public Framework.ITaskItem[] Items { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputItems { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignProjectConfiguration : ResolveProjectBase + { + public bool AddSyntheticProjectReferencesForSolutionDependencies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] AssignedProjects { get { throw null; } set { } } + public string CurrentProject { get { throw null; } set { } } + public string CurrentProjectConfiguration { get { throw null; } set { } } + public string CurrentProjectPlatform { get { throw null; } set { } } + public string DefaultToVcxPlatformMapping { get { throw null; } set { } } + public bool OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration { get { throw null; } set { } } + public string OutputType { get { throw null; } set { } } + public bool ResolveConfigurationPlatformUsingMappings { get { throw null; } set { } } + public bool ShouldUnsetParentConfigurationAndPlatform { get { throw null; } set { } } + public string SolutionConfigurationContents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnassignedProjects { get { throw null; } set { } } + public string VcxToDefaultPlatformMapping { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class AssignTargetPath : TaskExtension + { + public AssignTargetPath() { } + [Framework.Output] + public Framework.ITaskItem[] AssignedFiles { get { throw null; } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Required] + public string RootFolder { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class CallTarget : TaskExtension + { + public CallTarget() { } + public bool RunEachTargetSeparately { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The CodeTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class CodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class CombinePath : TaskExtension + { + public CombinePath() { } + public string BasePath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CombinedPaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineTargetFrameworkInfoProperties : TaskExtension + { + public CombineTargetFrameworkInfoProperties() { } + public Framework.ITaskItem[] PropertiesAndValues { get { throw null; } set { } } + + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public bool UseAttributeForTargetFrameworkInfoPropertyNames { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CombineXmlElements : TaskExtension + { + public CombineXmlElements() { } + [Framework.Output] + public string Result { get { throw null; } set { } } + public string RootElementName { get { throw null; } set { } } + public Framework.ITaskItem[] XmlElements { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class CommandLineBuilderExtension : Utilities.CommandLineBuilder + { + public CommandLineBuilderExtension() { } + public CommandLineBuilderExtension(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + protected string GetQuotedText(string unquotedText) { throw null; } + } + + public partial class ConvertToAbsolutePath : TaskExtension + { + public ConvertToAbsolutePath() { } + [Framework.Output] + public Framework.ITaskItem[] AbsolutePaths { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Paths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Copy : TaskExtension, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + public Copy() { } + [Framework.Output] + public Framework.ITaskItem[] CopiedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool ErrorIfLinkFails { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] SourceFolders { get { throw null; } set { } } + public bool UseHardlinksIfPossible { get { throw null; } set { } } + public bool UseSymboliclinksIfPossible { get { throw null; } set { } } + + [Framework.Output] + public bool WroteAtLeastOneFile { get { throw null; } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class CreateCSharpManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class CreateItem : TaskExtension + { + public CreateItem() { } + public string[] AdditionalMetadata { get { throw null; } set { } } + public Framework.ITaskItem[] Exclude { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Include { get { throw null; } set { } } + public bool PreserveExistingMetadata { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class CreateManifestResourceName : TaskExtension + { + protected System.Collections.Generic.Dictionary itemSpecToTaskitem; + protected CreateManifestResourceName() { } + public bool EnableCustomCulture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ManifestResourceNames { get { throw null; } } + public bool PrependCultureAsDirectory { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ResourceFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResourceFilesWithManifestResourceNames { get { throw null; } set { } } + public string RootNamespace { get { throw null; } set { } } + protected abstract string SourceFileExtension { get; } + public bool UseDependentUponConvention { get { throw null; } set { } } + + protected abstract string CreateManifestName(string fileName, string linkFileName, string rootNamespaceName, string dependentUponFileName, System.IO.Stream binaryStream); + public override bool Execute() { throw null; } + protected abstract bool IsSourceFile(string fileName); + public static string MakeValidEverettIdentifier(string name) { throw null; } + } + + public partial class CreateProperty : TaskExtension + { + public CreateProperty() { } + [Framework.Output] + public string[] Value { get { throw null; } set { } } + + [Framework.Output] + public string[] ValueSetByTask { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public partial class CreateVisualBasicManifestResourceName : CreateManifestResourceName + { + protected override string SourceFileExtension { get { throw null; } } + + protected override string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, System.IO.Stream binaryStream) { throw null; } + protected override bool IsSourceFile(string fileName) { throw null; } + } + + public partial class Delete : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Delete() { } + [Framework.Output] + public Framework.ITaskItem[] DeletedFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool TreatErrorsAsWarnings { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class DownloadFile : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public DownloadFile() { } + public Framework.ITaskItem DestinationFileName { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem DownloadedFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public int Retries { get { throw null; } set { } } + public int RetryDelayMilliseconds { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public string SourceUrl { get { throw null; } set { } } + public int Timeout { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Error : TaskExtension + { + public Error() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ErrorFromResources : TaskExtension + { + public ErrorFromResources() { } + public string[] Arguments { get { throw null; } set { } } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + + [Framework.Required] + public string Resource { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Exec : ToolTaskExtension + { + public Exec() { } + [Framework.Required] + public string Command { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ConsoleOutput { get { throw null; } } + public bool ConsoleToMSBuild { get { throw null; } set { } } + public string CustomErrorRegularExpression { get { throw null; } set { } } + public string CustomWarningRegularExpression { get { throw null; } set { } } + public bool IgnoreExitCode { get { throw null; } set { } } + public bool IgnoreStandardErrorWarningFormat { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Outputs { get { throw null; } set { } } + protected override System.Text.Encoding StandardErrorEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected override System.Text.Encoding StandardOutputEncoding { get { throw null; } } + protected override Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + + [Framework.Output] + public string StdErrEncoding { get { throw null; } set { } } + + [Framework.Output] + public string StdOutEncoding { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string WorkingDirectory { get { throw null; } set { } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override string GetWorkingDirectory() { throw null; } + protected override bool HandleTaskExecutionErrors() { throw null; } + protected override void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected override void LogPathToTool(string toolName, string pathToTool) { } + protected override void LogToolCommand(string message) { } + protected override bool ValidateParameters() { throw null; } + } + + public partial struct ExtractedClassName + { + private object _dummy; + private int _dummyPrimitive; + public bool IsInsideConditionalBlock { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class FindAppConfigFile : TaskExtension + { + public FindAppConfigFile() { } + [Framework.Output] + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] PrimaryList { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SecondaryList { get { throw null; } set { } } + + [Framework.Required] + public string TargetPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInList : TaskExtension + { + public FindInList() { } + public bool CaseSensitive { get { throw null; } set { } } + public bool FindLastMatch { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem ItemFound { get { throw null; } set { } } + + [Framework.Required] + public string ItemSpecToFind { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] List { get { throw null; } set { } } + public bool MatchFileNameOnly { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindInvalidProjectReferences : TaskExtension + { + public FindInvalidProjectReferences() { } + [Framework.Output] + public Framework.ITaskItem[] InvalidReferences { get { throw null; } } + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class FindUnderPath : TaskExtension + { + public FindUnderPath() { } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] InPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutOfPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem Path { get { throw null; } set { } } + public bool UpdateToAbsolutePaths { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatUrl : TaskExtension + { + public FormatUrl() { } + public string InputUrl { get { throw null; } set { } } + + [Framework.Output] + public string OutputUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class FormatVersion : TaskExtension + { + public FormatVersion() { } + public string FormatType { get { throw null; } set { } } + + [Framework.Output] + public string OutputVersion { get { throw null; } set { } } + public int Revision { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateApplicationManifest : GenerateManifestBase + { + public string ClrVersion { get { throw null; } set { } } + public Framework.ITaskItem ConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Dependencies { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] FileAssociations { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool HostInBrowser { get { throw null; } set { } } + public Framework.ITaskItem IconFile { get { throw null; } set { } } + public Framework.ITaskItem[] IsolatedComReferences { get { throw null; } set { } } + public string ManifestType { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkProfile { get { throw null; } set { } } + public string TargetFrameworkSubset { get { throw null; } set { } } + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public partial class GenerateBindingRedirects : TaskExtension + { + public GenerateBindingRedirects() { } + public Framework.ITaskItem AppConfigFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputAppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } set { } } + public string TargetName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateBootstrapper : TaskRequiresFramework + { + public GenerateBootstrapper() { } + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + + [Framework.Output] + public string[] BootstrapperComponentFiles { get { throw null; } set { } } + public Framework.ITaskItem[] BootstrapperItems { get { throw null; } set { } } + + [Framework.Output] + public string BootstrapperKeyFile { get { throw null; } set { } } + public string ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public string Culture { get { throw null; } set { } } + public string FallbackCulture { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string Path { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + } + + public sealed partial class GenerateDeploymentManifest : GenerateManifestBase + { + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public string UpdateMode { get { throw null; } set { } } + public string UpdateUnit { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override System.Type GetObjectType() { throw null; } + protected override bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected override bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest) { throw null; } + protected internal override bool ValidateInputs() { throw null; } + } + + public sealed partial class GenerateLauncher : TaskExtension + { + public GenerateLauncher() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string LauncherPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public string VisualStudioVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class GenerateManifestBase : Utilities.Task + { + public string AssemblyName { get { throw null; } set { } } + public string AssemblyVersion { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem(Framework.ITaskItem item) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddAssemblyNameFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.AssemblyReference AddEntryPointFromItem(Framework.ITaskItem item, Deployment.ManifestUtilities.AssemblyReferenceType referenceType) { throw null; } + protected internal Deployment.ManifestUtilities.FileReference AddFileFromItem(Framework.ITaskItem item) { throw null; } + public override bool Execute() { throw null; } + protected internal Deployment.ManifestUtilities.FileReference FindFileFromItem(Framework.ITaskItem item) { throw null; } + protected abstract System.Type GetObjectType(); + protected abstract bool OnManifestLoaded(Deployment.ManifestUtilities.Manifest manifest); + protected abstract bool OnManifestResolved(Deployment.ManifestUtilities.Manifest manifest); + protected internal virtual bool ValidateInputs() { throw null; } + protected internal virtual bool ValidateOutput() { throw null; } + } + + [Framework.RequiredRuntime("v2.0")] + public sealed partial class GenerateResource : TaskExtension, Framework.IIncrementalTask + { + public GenerateResource() { } + public Framework.ITaskItem[] AdditionalInputs { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public Framework.ITaskItem[] ExcludedInputPaths { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool ExtractResWFiles { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } } + public bool MinimalRebuildFromTracking { get { throw null; } set { } } + public bool NeverLockTypeAssemblies { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputResources { get { throw null; } set { } } + public bool PublicClass { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + [Framework.Output] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + public Framework.ITaskItem StateFile { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedClassName { get { throw null; } set { } } + + [Framework.Output] + public string StronglyTypedFileName { get { throw null; } set { } } + public string StronglyTypedLanguage { get { throw null; } set { } } + public string StronglyTypedManifestPrefix { get { throw null; } set { } } + public string StronglyTypedNamespace { get { throw null; } set { } } + public Framework.ITaskItem[] TLogReadFiles { get { throw null; } } + public Framework.ITaskItem[] TLogWriteFiles { get { throw null; } } + public string ToolArchitecture { get { throw null; } set { } } + public string TrackerFrameworkPath { get { throw null; } set { } } + public string TrackerLogDirectory { get { throw null; } set { } } + public string TrackerSdkPath { get { throw null; } set { } } + public bool TrackFileAccess { get { throw null; } set { } } + public bool UsePreserializedResources { get { throw null; } set { } } + public bool UseSourcePath { get { throw null; } set { } } + public bool WarnOnBinaryFormatterUse { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GenerateTrustInfo : TaskRequiresFramework + { + public GenerateTrustInfo() { } + public Framework.ITaskItem[] ApplicationDependencies { get { throw null; } set { } } + public Framework.ITaskItem BaseManifest { get { throw null; } set { } } + public string ExcludedPermissions { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetZone { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem TrustInfoFile { get { throw null; } set { } } + } + + public partial class GetAssemblyIdentity : TaskExtension + { + public GetAssemblyIdentity() { } + [Framework.Output] + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetCompatiblePlatform : TaskExtension + { + public GetCompatiblePlatform() { } + [Framework.Required] + public Framework.ITaskItem[] AnnotatedProjects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[]? AssignedProjectsWithPlatform { get { throw null; } set { } } + + [Framework.Required] + public string CurrentProjectPlatform { get { throw null; } set { } } + public string PlatformLookupTable { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public GetFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + + [Framework.Output] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Items { get { throw null; } set { } } + public string MetadataName { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public partial class GetFrameworkPath : TaskExtension + { + public GetFrameworkPath() { } + [Framework.Output] + public string FrameworkVersion11Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion30Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion452Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion462Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion46Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion471Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion472Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion47Path { get { throw null; } } + + [Framework.Output] + public string FrameworkVersion48Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class GetFrameworkSdkPath : TaskRequiresFramework + { + public GetFrameworkSdkPath() { } + [Framework.Output] + public string FrameworkSdkVersion20Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion35Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion40Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion451Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion45Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion461Path { get { throw null; } } + + [Framework.Output] + public string FrameworkSdkVersion46Path { get { throw null; } } + + [Framework.Output] + public string Path { get { throw null; } set { } } + } + + public partial class GetInstalledSDKLocations : TaskExtension + { + public GetInstalledSDKLocations() { } + [Framework.Output] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public string[] SDKDirectoryRoots { get { throw null; } set { } } + public string[] SDKExtensionDirectoryRoots { get { throw null; } set { } } + public string SDKRegistryRoot { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnWhenNoSDKsFound { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetReferenceAssemblyPaths : TaskExtension + { + public GetReferenceAssemblyPaths() { } + public bool BypassFrameworkInstallChecks { get { throw null; } set { } } + + [Framework.Output] + public string[] FullFrameworkReferenceAssemblyPaths { get { throw null; } } + + [Framework.Output] + public string[] ReferenceAssemblyPaths { get { throw null; } } + public string RootPath { get { throw null; } set { } } + public bool SuppressNotFoundError { get { throw null; } set { } } + public string TargetFrameworkFallbackSearchPaths { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + + [Framework.Output] + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class GetSDKReferenceFiles : TaskExtension + { + public GetSDKReferenceFiles() { } + public string CacheFileFolderPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + public bool LogCacheFileExceptions { get { throw null; } set { } } + public bool LogRedistConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogRedistConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogRedistFilesList { get { throw null; } set { } } + public bool LogReferenceConflictBetweenSDKsAsWarning { get { throw null; } set { } } + public bool LogReferenceConflictWithinSDKAsWarning { get { throw null; } set { } } + public bool LogReferencesList { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RedistFiles { get { throw null; } } + public string[] ReferenceExtensions { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] References { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } set { } } + public string TargetPlatformVersion { get { throw null; } set { } } + public string TargetSDKIdentifier { get { throw null; } set { } } + public string TargetSDKVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Hash : TaskExtension + { + public Hash() { } + [Framework.Output] + public string HashResult { get { throw null; } set { } } + public bool IgnoreCase { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] ItemsToHash { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial interface IFixedTypeInfo + { + void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv); + void CreateInstance(object pUnkOuter, ref System.Guid riid, out object ppvObj); + void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex); + void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, System.IntPtr pBstrDllName, System.IntPtr pBstrName, System.IntPtr pwOrdinal); + void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); + void GetFuncDesc(int index, out System.IntPtr ppFuncDesc); + void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId); + void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags); + void GetMops(int memid, out string pBstrMops); + void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames); + void GetRefTypeInfo(System.IntPtr hRef, out IFixedTypeInfo ppTI); + void GetRefTypeOfImplType(int index, out System.IntPtr href); + void GetTypeAttr(out System.IntPtr ppTypeAttr); + void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp); + void GetVarDesc(int index, out System.IntPtr ppVarDesc); + void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, out int puArgErr); + void ReleaseFuncDesc(System.IntPtr pFuncDesc); + void ReleaseTypeAttr(System.IntPtr pTypeAttr); + void ReleaseVarDesc(System.IntPtr pVarDesc); + } + + public partial interface IUnregisterAssemblyTaskContract + { + Framework.ITaskItem[] Assemblies { get; set; } + + Framework.ITaskItem AssemblyListFile { get; set; } + + Framework.ITaskItem[] TypeLibFiles { get; set; } + } + + public partial class LC : ToolTaskExtension + { + public LC() { } + [Framework.Required] + public Framework.ITaskItem LicenseTarget { get { throw null; } set { } } + public bool NoLogo { get { throw null; } set { } } + public string OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputLicense { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Sources { get { throw null; } set { } } + + [Framework.Required] + public string TargetFrameworkVersion { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + + protected internal override void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal override void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + protected override bool ValidateParameters() { throw null; } + } + + public partial class MakeDir : TaskExtension, Framework.IIncrementalTask + { + public MakeDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] DirectoriesCreated { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class Message : TaskExtension + { + public Message() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public bool IsCritical { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class Move : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Move() { } + [Framework.Output] + public Framework.ITaskItem[] DestinationFiles { get { throw null; } set { } } + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] MovedFiles { get { throw null; } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + [Framework.RunInMTA] + public partial class MSBuild : TaskExtension + { + public MSBuild() { } + public bool BuildInParallel { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + public string[] Properties { get { throw null; } set { } } + public bool RebaseOutputs { get { throw null; } set { } } + public string RemoveProperties { get { throw null; } set { } } + public bool RunEachTargetSeparately { get { throw null; } set { } } + public string SkipNonexistentProjects { get { throw null; } set { } } + public bool StopOnFirstFailure { get { throw null; } set { } } + public string[] TargetAndPropertyListSeparators { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TargetOutputs { get { throw null; } } + public string[] Targets { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + public bool UnloadProjectsOnCompletion { get { throw null; } set { } } + public bool UseResultsCache { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class MSBuildInternalMessage : TaskExtension + { + public MSBuildInternalMessage() { } + public string[] FormatArguments { get { throw null; } set { } } + public string MessageImportance { get { throw null; } set { } } + + [Framework.Required] + public string ResourceName { get { throw null; } set { } } + + [Framework.Required] + public string Severity { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ReadLinesFromFile : TaskExtension + { + public ReadLinesFromFile() { } + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RegisterAssembly : TaskRequiresFramework + { + public RegisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public bool CreateCodeBase { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public partial class RemoveDir : TaskExtension, Framework.IIncrementalTask + { + public RemoveDir() { } + [Framework.Required] + public Framework.ITaskItem[] Directories { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RemovedDirectories { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class RemoveDuplicates : TaskExtension + { + public RemoveDuplicates() { } + [Framework.Output] + public Framework.ITaskItem[] Filtered { get { throw null; } set { } } + + [Framework.Output] + public bool HadAnyDuplicates { get { throw null; } set { } } + public Framework.ITaskItem[] Inputs { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RequiresFramework35SP1Assembly : TaskExtension + { + public RequiresFramework35SP1Assembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public Framework.ITaskItem[] ReferencedAssemblies { get { throw null; } set { } } + + [Framework.Output] + public bool RequiresMinimumFramework35SP1 { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class ResolveAssemblyReference : TaskExtension, Framework.IIncrementalTask + { + public ResolveAssemblyReference() { } + public string[] AllowedAssemblyExtensions { get { throw null; } set { } } + public string[] AllowedRelatedFileExtensions { get { throw null; } set { } } + public string AppConfigFile { get { throw null; } set { } } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyFiles { get { throw null; } set { } } + public string AssemblyInformationCacheOutputPath { get { throw null; } set { } } + public Framework.ITaskItem[] AssemblyInformationCachePaths { get { throw null; } set { } } + public bool AutoUnify { get { throw null; } set { } } + public string[] CandidateAssemblyFiles { get { throw null; } set { } } + public bool CopyLocalDependenciesWhenParentReferenceInGac { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] CopyLocalFiles { get { throw null; } } + + [Framework.Output] + public string DependsOnNETStandard { get { throw null; } } + + [Framework.Output] + public string DependsOnSystemRuntime { get { throw null; } } + public bool DoNotCopyLocalIfInGac { get { throw null; } set { } } + public bool EnableCustomCulture { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] FilesWritten { get { throw null; } set { } } + public bool FindDependencies { get { throw null; } set { } } + public bool FindDependenciesOfExternallyResolvedReferences { get { throw null; } set { } } + public bool FindRelatedFiles { get { throw null; } set { } } + public bool FindSatellites { get { throw null; } set { } } + public bool FindSerializationAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] FullFrameworkAssemblyTables { get { throw null; } set { } } + public string[] FullFrameworkFolders { get { throw null; } set { } } + public string[] FullTargetFrameworkSubsetNames { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblySubsetTables { get { throw null; } set { } } + public bool IgnoreDefaultInstalledAssemblyTables { get { throw null; } set { } } + public bool IgnoreTargetFrameworkAttributeVersionMismatch { get { throw null; } set { } } + public bool IgnoreVersionForFrameworkReferences { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblySubsetTables { get { throw null; } set { } } + public Framework.ITaskItem[] InstalledAssemblyTables { get { throw null; } set { } } + public string[] LatestTargetFrameworkDirectories { get { throw null; } set { } } + public string[] NonCultureResourceDirectories { get { throw null; } set { } } + public bool OutputUnresolvedAssemblyConflicts { get { throw null; } set { } } + public string ProfileName { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] RelatedFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedDependencyFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } } + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SatelliteFiles { get { throw null; } } + + [Framework.Output] + public Framework.ITaskItem[] ScatterFiles { get { throw null; } } + + [Framework.Required] + public string[] SearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssemblyFiles { get { throw null; } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SuggestedRedirects { get { throw null; } } + public bool SupportsBindingRedirectGeneration { get { throw null; } set { } } + public string TargetedRuntimeVersion { get { throw null; } set { } } + public string[] TargetFrameworkDirectories { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public string TargetFrameworkMonikerDisplayName { get { throw null; } set { } } + public string[] TargetFrameworkSubsets { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedAssemblyConflicts { get { throw null; } } + public bool UnresolveFrameworkAssembliesFromHigherFrameworks { get { throw null; } set { } } + public string WarnOrErrorOnTargetArchitectureMismatch { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveCodeAnalysisRuleSet : TaskExtension + { + public ResolveCodeAnalysisRuleSet() { } + public string CodeAnalysisRuleSet { get { throw null; } set { } } + public string[] CodeAnalysisRuleSetDirectories { get { throw null; } set { } } + public string MSBuildProjectDirectory { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedCodeAnalysisRuleSet { get { throw null; } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveComReference : TaskRequiresFramework + { + public ResolveComReference() { } + public bool DelaySign { get { throw null; } set { } } + public string[] EnvironmentVariables { get { throw null; } set { } } + public bool ExecuteAsTool { get { throw null; } set { } } + public bool IncludeVersionInInteropName { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public bool NoClassMembers { get { throw null; } set { } } + public Framework.ITaskItem[] ResolvedAssemblyReferences { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedModules { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool Silent { get { throw null; } set { } } + public string StateFile { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TargetProcessorArchitecture { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibNames { get { throw null; } set { } } + public string WrapperOutputDirectory { get { throw null; } set { } } + } + + public partial class ResolveKeySource : TaskExtension + { + public ResolveKeySource() { } + public int AutoClosePasswordPromptShow { get { throw null; } set { } } + public int AutoClosePasswordPromptTimeout { get { throw null; } set { } } + public string CertificateFile { get { throw null; } set { } } + public string CertificateThumbprint { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyContainer { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedKeyFile { get { throw null; } set { } } + + [Framework.Output] + public string ResolvedThumbprint { get { throw null; } set { } } + public bool ShowImportDialogDespitePreviousFailures { get { throw null; } set { } } + public bool SuppressAutoClosePasswordPrompt { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveManifestFiles : TaskExtension + { + public ResolveManifestFiles() { } + public string AssemblyName { get { throw null; } set { } } + public Framework.ITaskItem DeploymentManifestEntryPoint { get { throw null; } set { } } + public Framework.ITaskItem EntryPoint { get { throw null; } set { } } + public Framework.ITaskItem[] ExtraFiles { get { throw null; } set { } } + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool IsSelfContainedPublish { get { throw null; } set { } } + public bool IsSingleFilePublish { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public Framework.ITaskItem[] ManagedAssemblies { get { throw null; } set { } } + public Framework.ITaskItem[] NativeAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputDeploymentManifestEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputEntryPoint { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] OutputFiles { get { throw null; } set { } } + public Framework.ITaskItem[] PublishFiles { get { throw null; } set { } } + public Framework.ITaskItem[] RuntimePackAssets { get { throw null; } set { } } + public Framework.ITaskItem[] SatelliteAssemblies { get { throw null; } set { } } + public bool SigningManifests { get { throw null; } set { } } + public string TargetCulture { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ResolveNativeReference : TaskRequiresFramework + { + public ResolveNativeReference() { } + public string[] AdditionalSearchPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedComComponents { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseEtcFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedLooseTlbFiles { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedPrerequisiteAssemblies { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainedTypeLibraries { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ContainingReferenceFiles { get { throw null; } set { } } + public Framework.ITaskItem[] NativeReferences { get { throw null; } set { } } + } + + public partial class ResolveNonMSBuildProjectOutput : ResolveProjectBase + { + public string PreresolvedProjectOutputs { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedOutputPaths { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UnresolvedProjectReferences { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ResolveProjectBase : TaskExtension + { + protected ResolveProjectBase() { } + [Framework.Required] + public Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } } + + protected void AddSyntheticProjectReferences(string currentProjectAbsolutePath) { } + protected System.Xml.XmlElement GetProjectElement(Framework.ITaskItem projectRef) { throw null; } + protected string GetProjectItem(Framework.ITaskItem projectRef) { throw null; } + } + + public partial class ResolveSDKReference : TaskExtension + { + public ResolveSDKReference() { } + public Framework.ITaskItem[] DisallowedSDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] InstalledSDKs { get { throw null; } set { } } + public bool LogResolutionErrorsAsWarnings { get { throw null; } set { } } + public bool Prefer32Bit { get { throw null; } set { } } + + [Framework.Required] + public string ProjectName { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] ResolvedSDKReferences { get { throw null; } } + public Framework.ITaskItem[] RuntimeReferenceOnlySDKDependencies { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SDKReferences { get { throw null; } set { } } + public string TargetedSDKArchitecture { get { throw null; } set { } } + public string TargetedSDKConfiguration { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformIdentifier { get { throw null; } set { } } + + [Framework.Required] + public string TargetPlatformVersion { get { throw null; } set { } } + public bool WarnOnMissingPlatformVersion { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class RoslynCodeTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public sealed partial class SetRidAgnosticValueForProjects : TaskExtension + { + public SetRidAgnosticValueForProjects() { } + public Framework.ITaskItem[] Projects { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] UpdatedProjects { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class SGen : ToolTaskExtension + { + public SGen() { } + [Framework.Required] + public string BuildAssemblyName { get { throw null; } set { } } + + [Framework.Required] + public string BuildAssemblyPath { get { throw null; } set { } } + public bool DelaySign { get { throw null; } set { } } + public string KeyContainer { get { throw null; } set { } } + public string KeyFile { get { throw null; } set { } } + public string Platform { get { throw null; } set { } } + public string[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] SerializationAssembly { get { throw null; } set { } } + public string SerializationAssemblyName { get { throw null; } } + + [Framework.Required] + public bool ShouldGenerateSerializer { get { throw null; } set { } } + protected override string ToolName { get { throw null; } } + public string[] Types { get { throw null; } set { } } + public bool UseKeep { get { throw null; } set { } } + + [Framework.Required] + public bool UseProxyTypes { get { throw null; } set { } } + + public override bool Execute() { throw null; } + protected override string GenerateFullPathToTool() { throw null; } + } + + public sealed partial class SignFile : Utilities.Task + { + [Framework.Required] + public string CertificateThumbprint { get { throw null; } set { } } + public bool DisallowMansignTimestampFallback { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SigningTarget { get { throw null; } set { } } + public string TargetFrameworkIdentifier { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public string TimestampUrl { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class TaskExtension : Utilities.Task + { + internal TaskExtension() { } + public new Utilities.TaskLoggingHelper Log { get { throw null; } } + } + + public partial class TaskLoggingHelperExtension : Utilities.TaskLoggingHelper + { + public TaskLoggingHelperExtension(Framework.ITask taskInstance, System.Resources.ResourceManager primaryResources, System.Resources.ResourceManager sharedResources, string helpKeywordPrefix) : base(default!) { } + public System.Resources.ResourceManager TaskSharedResources { get { throw null; } set { } } + + public override string FormatResourceString(string resourceName, params object[] args) { throw null; } + } + + public abstract partial class TaskRequiresFramework : TaskExtension + { + internal TaskRequiresFramework() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Telemetry : TaskExtension + { + public Telemetry() { } + public string EventData { get { throw null; } set { } } + + [Framework.Required] + public string EventName { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public abstract partial class ToolTaskExtension : Utilities.ToolTask + { + internal ToolTaskExtension() { } + protected internal System.Collections.Hashtable Bag { get { throw null; } } + protected override bool HasLoggedErrors { get { throw null; } } + public Utilities.TaskLoggingHelper Log { get { throw null; } } + protected virtual bool UseNewLineSeparatorInResponseFile { get { throw null; } } + + protected internal virtual void AddCommandLineCommands(CommandLineBuilderExtension commandLine) { } + protected internal virtual void AddResponseFileCommands(CommandLineBuilderExtension commandLine) { } + protected override string GenerateCommandLineCommands() { throw null; } + protected override string GenerateResponseFileCommands() { throw null; } + protected internal bool GetBoolParameterWithDefault(string parameterName, bool defaultValue) { throw null; } + protected internal int GetIntParameterWithDefault(string parameterName, int defaultValue) { throw null; } + } + + public partial class Touch : TaskExtension, Framework.IIncrementalTask + { + public Touch() { } + public bool AlwaysCreate { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] Files { get { throw null; } set { } } + public bool ForceTouch { get { throw null; } set { } } + public string Importance { get { throw null; } set { } } + public string Time { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] TouchedFiles { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class UnregisterAssembly : TaskRequiresFramework, IUnregisterAssemblyTaskContract + { + public UnregisterAssembly() { } + public Framework.ITaskItem[] Assemblies { get { throw null; } set { } } + public Framework.ITaskItem AssemblyListFile { get { throw null; } set { } } + public Framework.ITaskItem[] TypeLibFiles { get { throw null; } set { } } + } + + public sealed partial class Unzip : TaskExtension, Framework.ICancelableTask, Framework.ITask, Framework.IIncrementalTask + { + public Unzip() { } + [Framework.Required] + public Framework.ITaskItem DestinationFolder { get { throw null; } set { } } + public string Exclude { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public string Include { get { throw null; } set { } } + public bool OverwriteReadOnlyFiles { get { throw null; } set { } } + public bool SkipUnchangedFiles { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem[] SourceFiles { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class UpdateManifest : TaskRequiresFramework + { + public UpdateManifest() { } + public Framework.ITaskItem ApplicationManifest { get { throw null; } set { } } + public string ApplicationPath { get { throw null; } set { } } + public Framework.ITaskItem InputManifest { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputManifest { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + } + + public sealed partial class VerifyFileHash : TaskExtension, Framework.ICancelableTask, Framework.ITask + { + public VerifyFileHash() { } + public string Algorithm { get { throw null; } set { } } + + [Framework.Required] + public string File { get { throw null; } set { } } + + [Framework.Required] + public string Hash { get { throw null; } set { } } + public string HashEncoding { get { throw null; } set { } } + + public void Cancel() { } + public override bool Execute() { throw null; } + } + + public sealed partial class Warning : TaskExtension + { + public Warning() { } + public string Code { get { throw null; } set { } } + public string File { get { throw null; } set { } } + public string HelpKeyword { get { throw null; } set { } } + public string HelpLink { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class WinMDExp : TaskRequiresFramework + { + public WinMDExp() { } + public string AssemblyUnificationPolicy { get { throw null; } set { } } + public string DisabledWarnings { get { throw null; } set { } } + public string InputDocumentationFile { get { throw null; } set { } } + public string InputPDBFile { get { throw null; } set { } } + public string OutputDocumentationFile { get { throw null; } set { } } + public string OutputPDBFile { get { throw null; } set { } } + + [Framework.Output] + public string OutputWindowsMetadataFile { get { throw null; } set { } } + public Framework.ITaskItem[] References { get { throw null; } set { } } + public string SdkToolsPath { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public bool UTF8Output { get { throw null; } set { } } + public string WinMDModule { get { throw null; } set { } } + } + + public partial class WriteCodeFragment : TaskExtension + { + public WriteCodeFragment() { } + public Framework.ITaskItem[] AssemblyAttributes { get { throw null; } set { } } + + [Framework.Required] + public string Language { get { throw null; } set { } } + public Framework.ITaskItem OutputDirectory { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem OutputFile { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class WriteLinesToFile : TaskExtension, Framework.IIncrementalTask + { + public WriteLinesToFile() { } + [System.Obsolete] + public bool CanBeIncremental { get { throw null; } } + public string Encoding { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem File { get { throw null; } set { } } + public Framework.ITaskItem[] Lines { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + public bool WriteOnlyWhenDifferent { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + [System.Obsolete("The XamlTaskFactory is not supported on .NET Core. This class is included so that users receive run-time errors and should not be used for any other purpose.", true)] + public sealed partial class XamlTaskFactory : Framework.ITaskFactory + { + public string FactoryName { get { throw null; } } + public System.Type TaskType { get { throw null; } } + + public void CleanupTask(Framework.ITask task) { } + public Framework.ITask CreateTask(Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + public Framework.TaskPropertyInfo[] GetTaskParameters() { throw null; } + public bool Initialize(string taskName, System.Collections.Generic.IDictionary parameterGroup, string taskBody, Framework.IBuildEngine taskFactoryLoggingHost) { throw null; } + } + + public partial class XmlPeek : TaskExtension + { + public XmlPeek() { } + public string Namespaces { get { throw null; } set { } } + public bool ProhibitDtd { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + + [Framework.Output] + public Framework.ITaskItem[] Result { get { throw null; } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XmlPoke : TaskExtension + { + public XmlPoke() { } + public string Namespaces { get { throw null; } set { } } + + [Framework.Required] + public string Query { get { throw null; } set { } } + public Framework.ITaskItem Value { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem XmlInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public partial class XslTransformation : TaskExtension + { + public XslTransformation() { } + [Framework.Required] + public Framework.ITaskItem[] OutputPaths { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public bool PreserveWhitespace { get { throw null; } set { } } + public bool UseTrustedSettings { get { throw null; } set { } } + public string XmlContent { get { throw null; } set { } } + public Framework.ITaskItem[] XmlInputPaths { get { throw null; } set { } } + public Framework.ITaskItem XslCompiledDllPath { get { throw null; } set { } } + public string XslContent { get { throw null; } set { } } + public Framework.ITaskItem XslInputPath { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } + + public sealed partial class ZipDirectory : TaskExtension, Framework.IIncrementalTask + { + public ZipDirectory() { } + [Framework.Required] + public Framework.ITaskItem DestinationFile { get { throw null; } set { } } + public bool FailIfNotIncremental { get { throw null; } set { } } + public bool Overwrite { get { throw null; } set { } } + + [Framework.Required] + public Framework.ITaskItem SourceDirectory { get { throw null; } set { } } + + public override bool Execute() { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.Bootstrapper +{ + public partial class BootstrapperBuilder : IBootstrapperBuilder + { + public BootstrapperBuilder() { } + public BootstrapperBuilder(string visualStudioVersion) { } + public string Path { get { throw null; } set { } } + public ProductCollection Products { get { throw null; } } + + public BuildResults Build(BuildSettings settings) { throw null; } + public string[] GetOutputFolders(string[] productCodes, string culture, string fallbackCulture, ComponentsLocation componentsLocation) { throw null; } + public static string XmlToConfigurationFile(System.Xml.XmlNode input) { throw null; } + } + + public partial class BuildMessage : IBuildMessage + { + internal BuildMessage() { } + public int HelpId { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public string Message { get { throw null; } } + public BuildMessageSeverity Severity { get { throw null; } } + } + + public enum BuildMessageSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildResults : IBuildResults + { + internal BuildResults() { } + public string[] ComponentFiles { get { throw null; } } + public string KeyFile { get { throw null; } } + public BuildMessage[] Messages { get { throw null; } } + public bool Succeeded { get { throw null; } } + } + + public partial class BuildSettings : IBuildSettings + { + public string ApplicationFile { get { throw null; } set { } } + public string ApplicationName { get { throw null; } set { } } + public bool ApplicationRequiresElevation { get { throw null; } set { } } + public string ApplicationUrl { get { throw null; } set { } } + public ComponentsLocation ComponentsLocation { get { throw null; } set { } } + public string ComponentsUrl { get { throw null; } set { } } + public bool CopyComponents { get { throw null; } set { } } + public int FallbackLCID { get { throw null; } set { } } + public int LCID { get { throw null; } set { } } + public string OutputPath { get { throw null; } set { } } + public ProductBuilderCollection ProductBuilders { get { throw null; } } + public string SupportUrl { get { throw null; } set { } } + public bool Validate { get { throw null; } set { } } + } + + public enum ComponentsLocation + { + HomeSite = 0, + Relative = 1, + Absolute = 2 + } + + public partial interface IBootstrapperBuilder + { + [System.Runtime.InteropServices.DispId(1)] + string Path { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Products { get; } + + [System.Runtime.InteropServices.DispId(5)] + BuildResults Build(BuildSettings settings); + } + + public partial interface IBuildMessage + { + [System.Runtime.InteropServices.DispId(4)] + int HelpId { get; } + + [System.Runtime.InteropServices.DispId(3)] + string HelpKeyword { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Message { get; } + + [System.Runtime.InteropServices.DispId(1)] + BuildMessageSeverity Severity { get; } + } + + public partial interface IBuildResults + { + [System.Runtime.InteropServices.DispId(3)] + string[] ComponentFiles { get; } + + [System.Runtime.InteropServices.DispId(2)] + string KeyFile { get; } + + [System.Runtime.InteropServices.DispId(4)] + BuildMessage[] Messages { get; } + + [System.Runtime.InteropServices.DispId(1)] + bool Succeeded { get; } + } + + public partial interface IBuildSettings + { + [System.Runtime.InteropServices.DispId(2)] + string ApplicationFile { get; set; } + + [System.Runtime.InteropServices.DispId(1)] + string ApplicationName { get; set; } + + [System.Runtime.InteropServices.DispId(13)] + bool ApplicationRequiresElevation { get; set; } + + [System.Runtime.InteropServices.DispId(3)] + string ApplicationUrl { get; set; } + + [System.Runtime.InteropServices.DispId(11)] + ComponentsLocation ComponentsLocation { get; set; } + + [System.Runtime.InteropServices.DispId(4)] + string ComponentsUrl { get; set; } + + [System.Runtime.InteropServices.DispId(5)] + bool CopyComponents { get; set; } + + [System.Runtime.InteropServices.DispId(7)] + int FallbackLCID { get; set; } + + [System.Runtime.InteropServices.DispId(6)] + int LCID { get; set; } + + [System.Runtime.InteropServices.DispId(8)] + string OutputPath { get; set; } + + [System.Runtime.InteropServices.DispId(9)] + ProductBuilderCollection ProductBuilders { get; } + + [System.Runtime.InteropServices.DispId(12)] + string SupportUrl { get; set; } + + [System.Runtime.InteropServices.DispId(10)] + bool Validate { get; set; } + } + + public partial interface IProduct + { + [System.Runtime.InteropServices.DispId(4)] + ProductCollection Includes { get; } + + [System.Runtime.InteropServices.DispId(2)] + string Name { get; } + + [System.Runtime.InteropServices.DispId(1)] + ProductBuilder ProductBuilder { get; } + + [System.Runtime.InteropServices.DispId(3)] + string ProductCode { get; } + } + + public partial interface IProductBuilder + { + [System.Runtime.InteropServices.DispId(1)] + Product Product { get; } + } + + public partial interface IProductBuilderCollection + { + [System.Runtime.InteropServices.DispId(2)] + void Add(ProductBuilder builder); + } + + public partial interface IProductCollection + { + [System.Runtime.InteropServices.DispId(1)] + int Count { get; } + + [System.Runtime.InteropServices.DispId(2)] + Product Item(int index); + [System.Runtime.InteropServices.DispId(3)] + Product Product(string productCode); + } + + public partial class Product : IProduct + { + public ProductCollection Includes { get { throw null; } } + public string Name { get { throw null; } } + public ProductBuilder ProductBuilder { get { throw null; } } + public string ProductCode { get { throw null; } } + } + + public partial class ProductBuilder : IProductBuilder + { + internal ProductBuilder() { } + public Product Product { get { throw null; } } + } + + public partial class ProductBuilderCollection : IProductBuilderCollection, System.Collections.IEnumerable + { + internal ProductBuilderCollection() { } + public void Add(ProductBuilder builder) { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public partial class ProductCollection : IProductCollection, System.Collections.IEnumerable + { + internal ProductCollection() { } + public int Count { get { throw null; } } + + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public Product Item(int index) { throw null; } + public Product Product(string productCode) { throw null; } + } +} + +namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities +{ + public sealed partial class ApplicationIdentity + { + public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { } + public ApplicationIdentity(string url, string deployManifestPath, string applicationManifestPath) { } + public override string ToString() { throw null; } + } + public sealed partial class ApplicationManifest : AssemblyManifest + { + public ApplicationManifest() { } + public ApplicationManifest(string targetFrameworkVersion) { } + public string ConfigFile { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public FileAssociationCollection FileAssociations { get { throw null; } } + public bool HostInBrowser { get { throw null; } set { } } + public string IconFile { get { throw null; } set { } } + public bool IsClickOnceManifest { get { throw null; } set { } } + public int MaxTargetPath { get { throw null; } set { } } + public string OSDescription { get { throw null; } set { } } + public string OSSupportUrl { get { throw null; } set { } } + public string OSVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkVersion { get { throw null; } set { } } + public TrustInfo TrustInfo { get { throw null; } set { } } + public bool UseApplicationTrust { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlConfigFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("EntryPointIdentity")] + public AssemblyIdentity XmlEntryPointIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlEntryPointPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileAssociations")] + public FileAssociation[] XmlFileAssociations { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHostInBrowser { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIconFile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsClickOnceManifest { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSBuild { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMajor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSMinor { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSRevision { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlOSSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUseApplicationTrust { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class AssemblyIdentity + { + public AssemblyIdentity() { } + public AssemblyIdentity(AssemblyIdentity identity) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture, string type) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture, string processorArchitecture) { } + public AssemblyIdentity(string name, string version, string publicKeyToken, string culture) { } + public AssemblyIdentity(string name, string version) { } + public AssemblyIdentity(string name) { } + public string Culture { get { throw null; } set { } } + public bool IsFrameworkAssembly { get { throw null; } } + public bool IsNeutralPlatform { get { throw null; } } + public bool IsStrongName { get { throw null; } } + public string Name { get { throw null; } set { } } + public string ProcessorArchitecture { get { throw null; } set { } } + public string PublicKeyToken { get { throw null; } set { } } + public string Type { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCulture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProcessorArchitecture { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublicKeyToken { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlType { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + + public static AssemblyIdentity FromAssemblyName(string assemblyName) { throw null; } + public static AssemblyIdentity FromFile(string path) { throw null; } + public static AssemblyIdentity FromManagedAssembly(string path) { throw null; } + public static AssemblyIdentity FromManifest(string path) { throw null; } + public static AssemblyIdentity FromNativeAssembly(string path) { throw null; } + public string GetFullName(FullNameFlags flags) { throw null; } + public bool IsInFramework(string frameworkIdentifier, string frameworkVersion) { throw null; } + public override string ToString() { throw null; } + [System.Flags] + public enum FullNameFlags + { + Default = 0, + ProcessorArchitecture = 1, + Type = 2, + All = 3 + } + } + public partial class AssemblyManifest : Manifest + { + public ProxyStub[] ExternalProxyStubs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ExternalProxyStubs")] + public ProxyStub[] XmlExternalProxyStubs { get { throw null; } set { } } + } + + public sealed partial class AssemblyReference : BaseReference + { + public AssemblyReference() { } + public AssemblyReference(string path) { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public bool IsPrerequisite { get { throw null; } set { } } + public AssemblyReferenceType ReferenceType { get { throw null; } set { } } + protected internal override string SortName { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsNative { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsPrerequisite { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + public sealed partial class AssemblyReferenceCollection : System.Collections.IEnumerable + { + internal AssemblyReferenceCollection() { } + public int Count { get { throw null; } } + + public AssemblyReference this[int index] { get { throw null; } } + + public AssemblyReference Add(AssemblyReference assembly) { throw null; } + public AssemblyReference Add(string path) { throw null; } + public void Clear() { } + public AssemblyReference Find(AssemblyIdentity identity) { throw null; } + public AssemblyReference Find(string name) { throw null; } + public AssemblyReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(AssemblyReference assemblyReference) { } + } + + public enum AssemblyReferenceType + { + Unspecified = 0, + ClickOnceManifest = 1, + ManagedAssembly = 2, + NativeAssembly = 3 + } + + public abstract partial class BaseReference + { + protected internal BaseReference() { } + protected internal BaseReference(string path) { } + public string Group { get { throw null; } set { } } + public string Hash { get { throw null; } set { } } + public bool IsOptional { get { throw null; } set { } } + public string ResolvedPath { get { throw null; } set { } } + public long Size { get { throw null; } set { } } + protected internal abstract string SortName { get; } + public string SourcePath { get { throw null; } set { } } + public string TargetPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlGroup { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHash { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHashAlgorithm { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIsOptional { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSize { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class ComClass + { + public string ClsId { get { throw null; } } + public string Description { get { throw null; } } + public string ProgId { get { throw null; } } + public string ThreadingModel { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlClsId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlThreadingModel { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public sealed partial class CompatibleFramework + { + public string Profile { get { throw null; } set { } } + public string SupportedRuntime { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProfile { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportedRuntime { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public sealed partial class CompatibleFrameworkCollection : System.Collections.IEnumerable + { + internal CompatibleFrameworkCollection() { } + public int Count { get { throw null; } } + + public CompatibleFramework this[int index] { get { throw null; } } + + public void Add(CompatibleFramework compatibleFramework) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class DeployManifest : Manifest + { + public DeployManifest() { } + public DeployManifest(string targetFrameworkMoniker) { } + public CompatibleFrameworkCollection CompatibleFrameworks { get { throw null; } } + public bool CreateDesktopShortcut { get { throw null; } set { } } + public string DeploymentUrl { get { throw null; } set { } } + public bool DisallowUrlActivation { get { throw null; } set { } } + public override AssemblyReference EntryPoint { get { throw null; } set { } } + public string ErrorReportUrl { get { throw null; } set { } } + public bool Install { get { throw null; } set { } } + public bool MapFileExtensions { get { throw null; } set { } } + public string MinimumRequiredVersion { get { throw null; } set { } } + public string Product { get { throw null; } set { } } + public string Publisher { get { throw null; } set { } } + public string SuiteName { get { throw null; } set { } } + public string SupportUrl { get { throw null; } set { } } + public string TargetFrameworkMoniker { get { throw null; } set { } } + public bool TrustUrlParameters { get { throw null; } set { } } + public bool UpdateEnabled { get { throw null; } set { } } + public int UpdateInterval { get { throw null; } set { } } + public UpdateMode UpdateMode { get { throw null; } set { } } + public UpdateUnit UpdateUnit { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("CompatibleFrameworks")] + public CompatibleFramework[] XmlCompatibleFrameworks { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlCreateDesktopShortcut { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDeploymentUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDisallowUrlActivation { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlErrorReportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlInstall { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMapFileExtensions { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlMinimumRequiredVersion { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProduct { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlPublisher { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSuiteName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSupportUrl { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTrustUrlParameters { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateEnabled { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateInterval { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateMode { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlUpdateUnit { get { throw null; } set { } } + + public override void Validate() { } + } + + public sealed partial class FileAssociation + { + public string DefaultIcon { get { throw null; } set { } } + public string Description { get { throw null; } set { } } + public string Extension { get { throw null; } set { } } + public string ProgId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDefaultIcon { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlExtension { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlProgId { get { throw null; } set { } } + } + public sealed partial class FileAssociationCollection : System.Collections.IEnumerable + { + internal FileAssociationCollection() { } + public int Count { get { throw null; } } + + public FileAssociation this[int index] { get { throw null; } } + + public void Add(FileAssociation fileAssociation) { } + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public sealed partial class FileReference : BaseReference + { + public FileReference() { } + public FileReference(string path) { } + public ComClass[] ComClasses { get { throw null; } } + public bool IsDataFile { get { throw null; } set { } } + public ProxyStub[] ProxyStubs { get { throw null; } } + protected internal override string SortName { get { throw null; } } + public TypeLib[] TypeLibs { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ComClasses")] + public ComClass[] XmlComClasses { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("ProxyStubs")] + public ProxyStub[] XmlProxyStubs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("TypeLibs")] + public TypeLib[] XmlTypeLibs { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlWriteableType { get { throw null; } set { } } + } + + public sealed partial class FileReferenceCollection : System.Collections.IEnumerable + { + internal FileReferenceCollection() { } + public int Count { get { throw null; } } + + public FileReference this[int index] { get { throw null; } } + + public FileReference Add(FileReference file) { throw null; } + public FileReference Add(string path) { throw null; } + public void Clear() { } + public FileReference FindTargetPath(string targetPath) { throw null; } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(FileReference file) { } + } + + public partial class LauncherBuilder + { + public LauncherBuilder(string launcherPath) { } + public string LauncherPath { get { throw null; } set { } } + + public Bootstrapper.BuildResults Build(string filename, string outputPath) { throw null; } + } + public abstract partial class Manifest + { + protected internal Manifest() { } + public AssemblyIdentity AssemblyIdentity { get { throw null; } set { } } + public string AssemblyName { get { throw null; } set { } } + public AssemblyReferenceCollection AssemblyReferences { get { throw null; } } + public string Description { get { throw null; } set { } } + public virtual AssemblyReference EntryPoint { get { throw null; } set { } } + public FileReferenceCollection FileReferences { get { throw null; } } + public System.IO.Stream InputStream { get { throw null; } set { } } + public bool LauncherBasedDeployment { get { throw null; } set { } } + public OutputMessageCollection OutputMessages { get { throw null; } } + public bool ReadOnly { get { throw null; } set { } } + public string SourcePath { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlElement("AssemblyIdentity")] + public AssemblyIdentity XmlAssemblyIdentity { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("AssemblyReferences")] + public AssemblyReference[] XmlAssemblyReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlDescription { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + [System.Xml.Serialization.XmlArray("FileReferences")] + public FileReference[] XmlFileReferences { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlSchema { get { throw null; } set { } } + + public void ResolveFiles() { } + public void ResolveFiles(string[] searchPaths) { } + public override string ToString() { throw null; } + public void UpdateFileInfo() { } + public void UpdateFileInfo(string targetFrameworkVersion) { } + public virtual void Validate() { } + protected void ValidatePlatform() { } + } + public static partial class ManifestReader + { + public static Manifest ReadManifest(System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string path, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, System.IO.Stream input, bool preserveStream) { throw null; } + public static Manifest ReadManifest(string manifestType, string path, bool preserveStream) { throw null; } + } + public static partial class ManifestWriter + { + public static void WriteManifest(Manifest manifest, System.IO.Stream output) { } + public static void WriteManifest(Manifest manifest, string path, string targetframeWorkVersion) { } + public static void WriteManifest(Manifest manifest, string path) { } + public static void WriteManifest(Manifest manifest) { } + } + public sealed partial class OutputMessage + { + internal OutputMessage() { } + public string Name { get { throw null; } } + public string Text { get { throw null; } } + public OutputMessageType Type { get { throw null; } } + + public string[] GetArguments() { throw null; } + } + public sealed partial class OutputMessageCollection : System.Collections.IEnumerable + { + internal OutputMessageCollection() { } + public int ErrorCount { get { throw null; } } + + public OutputMessage this[int index] { get { throw null; } } + + public int WarningCount { get { throw null; } } + + public void Clear() { } + public System.Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum OutputMessageType + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class ProxyStub + { + public string BaseInterface { get { throw null; } } + public string IID { get { throw null; } } + public string Name { get { throw null; } } + public string NumMethods { get { throw null; } } + public string TlbId { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlBaseInterface { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlIID { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlNumMethods { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + } + public static partial class SecurityUtilities + { + public static void SignFile(System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Uri timestampUrl, string path) { } + public static void SignFile(string certPath, System.Security.SecureString certPassword, System.Uri timestampUrl, string path) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier, bool disallowMansignTimestampFallback) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion, string targetFrameworkIdentifier) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path, string targetFrameworkVersion) { } + public static void SignFile(string certThumbprint, System.Uri timestampUrl, string path) { } + } + public sealed partial class TrustInfo + { + public bool HasUnmanagedCodePermission { get { throw null; } } + public bool IsFullTrust { get { throw null; } } + public bool PreserveFullTrustPermissionSet { get { throw null; } set { } } + public string SameSiteAccess { get { throw null; } set { } } + + public void Clear() { } + public void Read(System.IO.Stream input) { } + public void Read(string path) { } + public void ReadManifest(System.IO.Stream input) { } + public void ReadManifest(string path) { } + public override string ToString() { throw null; } + public void Write(System.IO.Stream output) { } + public void Write(string path) { } + public void WriteManifest(System.IO.Stream input, System.IO.Stream output) { } + public void WriteManifest(System.IO.Stream output) { } + public void WriteManifest(string path) { } + } + public partial class TypeLib + { + public string Flags { get { throw null; } } + public string HelpDirectory { get { throw null; } } + public string ResourceId { get { throw null; } } + public string TlbId { get { throw null; } } + public string Version { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlFlags { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlHelpDirectory { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlResourceId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlTlbId { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersion { get { throw null; } set { } } + } + public enum UpdateMode + { + Background = 0, + Foreground = 1 + } + + public enum UpdateUnit + { + Hours = 0, + Days = 1, + Weeks = 2 + } + + public partial class WindowClass + { + public WindowClass() { } + public WindowClass(string name, bool versioned) { } + public string Name { get { throw null; } } + public bool Versioned { get { throw null; } } + + [System.ComponentModel.Browsable(false)] + public string XmlName { get { throw null; } set { } } + + [System.ComponentModel.Browsable(false)] + public string XmlVersioned { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Tasks.Hosting +{ + public partial interface IAnalyzerHostObject + { + bool SetAdditionalFiles(Framework.ITaskItem[] additionalFiles); + bool SetAnalyzers(Framework.ITaskItem[] analyzers); + bool SetRuleSet(string ruleSetFile); + } + + public partial interface ICscHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + bool EndInitialization(out string errorMessage, out int errorCode); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks); + bool SetBaseAddress(string baseAddress); + bool SetCheckForOverflowUnderflow(bool checkForOverflowUnderflow); + bool SetCodePage(int codePage); + bool SetDebugType(string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySignExplicitlySet, bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetEmitDebugInformation(bool emitDebugInformation); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateFullPaths(bool generateFullPaths); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLangVersion(string langVersion); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string targetType, string mainEntryPoint); + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetOptimize(bool optimize); + bool SetOutputAssembly(string outputAssembly); + bool SetPdbFile(string pdbFile); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningLevel(int warningLevel); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface ICscHostObject2 : ICscHostObject, Framework.ITaskHost + { + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface ICscHostObject3 : ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetApplicationConfiguration(string applicationConfiguration); + } + + public partial interface ICscHostObject4 : ICscHostObject3, ICscHostObject2, ICscHostObject, Framework.ITaskHost + { + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObject : Framework.ITaskHost + { + void BeginInitialization(); + bool Compile(); + void EndInitialization(); + bool IsDesignTime(); + bool IsUpToDate(); + bool SetAdditionalLibPaths(string[] additionalLibPaths); + bool SetAddModules(string[] addModules); + bool SetBaseAddress(string targetType, string baseAddress); + bool SetCodePage(int codePage); + bool SetDebugType(bool emitDebugInformation, string debugType); + bool SetDefineConstants(string defineConstants); + bool SetDelaySign(bool delaySign); + bool SetDisabledWarnings(string disabledWarnings); + bool SetDocumentationFile(string documentationFile); + bool SetErrorReport(string errorReport); + bool SetFileAlignment(int fileAlignment); + bool SetGenerateDocumentation(bool generateDocumentation); + bool SetImports(Framework.ITaskItem[] importsList); + bool SetKeyContainer(string keyContainer); + bool SetKeyFile(string keyFile); + bool SetLinkResources(Framework.ITaskItem[] linkResources); + bool SetMainEntryPoint(string mainEntryPoint); + bool SetNoConfig(bool noConfig); + bool SetNoStandardLib(bool noStandardLib); + bool SetNoWarnings(bool noWarnings); + bool SetOptimize(bool optimize); + bool SetOptionCompare(string optionCompare); + bool SetOptionExplicit(bool optionExplicit); + bool SetOptionStrict(bool optionStrict); + bool SetOptionStrictType(string optionStrictType); + bool SetOutputAssembly(string outputAssembly); + bool SetPlatform(string platform); + bool SetReferences(Framework.ITaskItem[] references); + bool SetRemoveIntegerChecks(bool removeIntegerChecks); + bool SetResources(Framework.ITaskItem[] resources); + bool SetResponseFiles(Framework.ITaskItem[] responseFiles); + bool SetRootNamespace(string rootNamespace); + bool SetSdkPath(string sdkPath); + bool SetSources(Framework.ITaskItem[] sources); + bool SetTargetCompactFramework(bool targetCompactFramework); + bool SetTargetType(string targetType); + bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors); + bool SetWarningsAsErrors(string warningsAsErrors); + bool SetWarningsNotAsErrors(string warningsNotAsErrors); + bool SetWin32Icon(string win32Icon); + bool SetWin32Resource(string win32Resource); + } + + public partial interface IVbcHostObject2 : IVbcHostObject, Framework.ITaskHost + { + bool SetModuleAssemblyName(string moduleAssemblyName); + bool SetOptionInfer(bool optionInfer); + bool SetWin32Manifest(string win32Manifest); + } + + public partial interface IVbcHostObject3 : IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetLanguageVersion(string languageVersion); + } + + public partial interface IVbcHostObject4 : IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + bool SetVBRuntime(string VBRuntime); + } + + public partial interface IVbcHostObject5 : IVbcHostObject4, IVbcHostObject3, IVbcHostObject2, IVbcHostObject, Framework.ITaskHost + { + int CompileAsync(out System.IntPtr buildSucceededEvent, out System.IntPtr buildFailedEvent); + int EndCompile(bool buildSuccess); + IVbcHostObjectFreeThreaded GetFreeThreadedHostObject(); + bool SetHighEntropyVA(bool highEntropyVA); + bool SetPlatformWith32BitPreference(string platformWith32BitPreference); + bool SetSubsystemVersion(string subsystemVersion); + } + + public partial interface IVbcHostObjectFreeThreaded + { + bool Compile(); + } +} + +namespace System.Deployment.Internal.CodeSigning +{ + public sealed partial class RSAPKCS1SHA256SignatureDescription : Security.Cryptography.SignatureDescription + { + public override Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + public override Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(Security.Cryptography.AsymmetricAlgorithm key) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/Microsoft.Build.Utilities.Core.17.11.48.csproj b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/Microsoft.Build.Utilities.Core.17.11.48.csproj new file mode 100644 index 0000000000..936847217a --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/Microsoft.Build.Utilities.Core.17.11.48.csproj @@ -0,0 +1,28 @@ + + + + net8.0;netstandard2.0 + 17.11.48 + Microsoft.Build.Utilities.Core + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/microsoft.build.utilities.core.nuspec b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/microsoft.build.utilities.core.nuspec new file mode 100644 index 0000000000..4b24ffaa4d --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/microsoft.build.utilities.core.nuspec @@ -0,0 +1,37 @@ + + + + Microsoft.Build.Utilities.Core + 17.11.48 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/net8.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/net8.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..e7f15dd58b --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/net8.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,536 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..aa48266646 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.11.48/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,534 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/Microsoft.Build.Utilities.Core.17.12.50.csproj b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/Microsoft.Build.Utilities.Core.17.12.50.csproj new file mode 100644 index 0000000000..c327b69529 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/Microsoft.Build.Utilities.Core.17.12.50.csproj @@ -0,0 +1,28 @@ + + + + net9.0;netstandard2.0 + 17.12.50 + Microsoft.Build.Utilities.Core + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/microsoft.build.utilities.core.nuspec b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/microsoft.build.utilities.core.nuspec new file mode 100644 index 0000000000..bea3d576de --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/microsoft.build.utilities.core.nuspec @@ -0,0 +1,37 @@ + + + + Microsoft.Build.Utilities.Core + 17.12.50 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/net9.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/net9.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..388e3dc5ac --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/net9.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,536 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..71eae2e6ac --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.12.50/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,534 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/Microsoft.Build.Utilities.Core.17.14.28.csproj b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/Microsoft.Build.Utilities.Core.17.14.28.csproj new file mode 100644 index 0000000000..cb6af67637 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/Microsoft.Build.Utilities.Core.17.14.28.csproj @@ -0,0 +1,32 @@ + + + + net9.0;netstandard2.0 + 17.14.28 + Microsoft.Build.Utilities.Core + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/microsoft.build.utilities.core.nuspec b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/microsoft.build.utilities.core.nuspec new file mode 100644 index 0000000000..d5cc38af1b --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/microsoft.build.utilities.core.nuspec @@ -0,0 +1,41 @@ + + + + Microsoft.Build.Utilities.Core + 17.14.28 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://aka.ms/msbuildicon + This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/net9.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/net9.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..bf31877672 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/net9.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,537 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, bool treatAsFilePath) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs new file mode 100644 index 0000000000..c31f2d2496 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.utilities.core/17.14.28/ref/netstandard2.0/Microsoft.Build.Utilities.Core.cs @@ -0,0 +1,535 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.Utilities.Core.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.Utilities +{ + [Framework.LoadInSeparateAppDomain] + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Framework.ITask + { + protected AppDomainIsolatedTask() { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + [System.Obsolete("AppDomains are no longer supported in .NET Core or .NET 5.0 or higher.")] + public override object InitializeLifetimeService() { throw null; } + } + + public partial class AssemblyFoldersExInfo + { + public AssemblyFoldersExInfo(Win32.RegistryHive hive, Win32.RegistryView view, string registryKey, string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public Win32.RegistryHive Hive { get { throw null; } } + public string Key { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + public Win32.RegistryView View { get { throw null; } } + } + public partial class AssemblyFoldersFromConfigInfo + { + public AssemblyFoldersFromConfigInfo(string directoryPath, System.Version targetFrameworkVersion) { } + public string DirectoryPath { get { throw null; } } + public System.Version TargetFrameworkVersion { get { throw null; } } + } + public partial class CommandLineBuilder + { + public CommandLineBuilder() { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine, bool useNewLineSeparator) { } + public CommandLineBuilder(bool quoteHyphensOnCommandLine) { } + protected System.Text.StringBuilder CommandLine { get { throw null; } } + public int Length { get { throw null; } } + + public void AppendFileNameIfNotNull(Framework.ITaskItem fileItem) { } + public void AppendFileNameIfNotNull(string fileName) { } + public void AppendFileNamesIfNotNull(Framework.ITaskItem[] fileItems, string delimiter) { } + public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { } + protected void AppendFileNameWithQuoting(string fileName) { } + protected void AppendQuotedTextToBuffer(System.Text.StringBuilder buffer, string unquotedTextToAppend) { } + protected void AppendSpaceIfNotEmpty() { } + public void AppendSwitch(string switchName) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchIfNotNull(string switchName, string parameter) { } + public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, Framework.ITaskItem[] parameters, string delimiter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } + public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { } + public void AppendTextUnquoted(string textToAppend) { } + protected void AppendTextWithQuoting(string textToAppend) { } + protected virtual bool IsQuotingRequired(string parameter) { throw null; } + public override string ToString() { throw null; } + protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } + } + public enum DotNetFrameworkArchitecture + { + Current = 0, + Bitness32 = 1, + Bitness64 = 2 + } + + public enum HostObjectInitializationStatus + { + UseHostObjectToExecute = 0, + UseAlternateToolToExecute = 1, + NoActionReturnSuccess = 2, + NoActionReturnFailure = 3 + } + + public static partial class LockCheck + { + public static string GetLockedFileMessage(string filePath) { throw null; } + } + public abstract partial class Logger : Framework.ILogger + { + public virtual string Parameters { get { throw null; } set { } } + public virtual Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public virtual string FormatErrorEvent(Framework.BuildErrorEventArgs args) { throw null; } + public virtual string FormatWarningEvent(Framework.BuildWarningEventArgs args) { throw null; } + public abstract void Initialize(Framework.IEventSource eventSource); + public bool IsVerbosityAtLeast(Framework.LoggerVerbosity checkVerbosity) { throw null; } + public virtual void Shutdown() { } + } + + public enum MultipleVersionSupport + { + Allow = 0, + Warning = 1, + Error = 2 + } + + public partial class MuxLogger : Framework.INodeLogger, Framework.ILogger + { + public bool IncludeEvaluationMetaprojects { get { throw null; } set { } } + public bool IncludeEvaluationProfiles { get { throw null; } set { } } + public bool IncludeEvaluationPropertiesAndItems { get { throw null; } set { } } + public bool IncludeTaskInputs { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int maxNodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void RegisterLogger(int submissionId, Framework.ILogger logger) { } + public void Shutdown() { } + public bool UnregisterLoggers(int submissionId) { throw null; } + } + + public static partial class ProcessorArchitecture + { + public const string AMD64 = "AMD64"; + public const string ARM = "ARM"; + public const string ARM64 = "ARM64"; + public const string ARMV6 = "ARMV6"; + public const string IA64 = "IA64"; + public const string LOONGARCH64 = "LOONGARCH64"; + public const string MSIL = "MSIL"; + public const string PPC64LE = "PPC64LE"; + public const string S390X = "S390X"; + public const string WASM = "WASM"; + public const string X86 = "x86"; + public static string CurrentProcessArchitecture { get { throw null; } } + } + public partial class SDKManifest + { + public SDKManifest(string pathToSdk) { } + public System.Collections.Generic.IDictionary AppxLocations { get { throw null; } } + public string CopyRedistToSubDirectory { get { throw null; } } + public string DependsOnSDK { get { throw null; } } + public string DisplayName { get { throw null; } } + public System.Collections.Generic.IDictionary FrameworkIdentities { get { throw null; } } + public string FrameworkIdentity { get { throw null; } } + public string MaxOSVersionTested { get { throw null; } } + public string MaxPlatformVersion { get { throw null; } } + public string MinOSVersion { get { throw null; } } + public string MinVSVersion { get { throw null; } } + public string MoreInfo { get { throw null; } } + public string PlatformIdentity { get { throw null; } } + public string ProductFamilyName { get { throw null; } } + public bool ReadError { get { throw null; } } + public string ReadErrorMessage { get { throw null; } } + public SDKType SDKType { get { throw null; } } + public string SupportedArchitectures { get { throw null; } } + public string SupportPrefer32Bit { get { throw null; } } + public MultipleVersionSupport SupportsMultipleVersions { get { throw null; } } + public string TargetPlatform { get { throw null; } } + public string TargetPlatformMinVersion { get { throw null; } } + public string TargetPlatformVersion { get { throw null; } } + + public static partial class Attributes + { + public const string APPX = "APPX"; + public const string AppxLocation = "AppxLocation"; + public const string CopyLocalExpandedReferenceAssemblies = "CopyLocalExpandedReferenceAssemblies"; + public const string CopyRedist = "CopyRedist"; + public const string CopyRedistToSubDirectory = "CopyRedistToSubDirectory"; + public const string DependsOnSDK = "DependsOn"; + public const string DisplayName = "DisplayName"; + public const string ExpandReferenceAssemblies = "ExpandReferenceAssemblies"; + public const string FrameworkIdentity = "FrameworkIdentity"; + public const string MaxOSVersionTested = "MaxOSVersionTested"; + public const string MaxPlatformVersion = "MaxPlatformVersion"; + public const string MinOSVersion = "MinOSVersion"; + public const string MinVSVersion = "MinVSVersion"; + public const string MoreInfo = "MoreInfo"; + public const string PlatformIdentity = "PlatformIdentity"; + public const string ProductFamilyName = "ProductFamilyName"; + public const string SDKType = "SDKType"; + public const string SupportedArchitectures = "SupportedArchitectures"; + public const string SupportPrefer32Bit = "SupportPrefer32Bit"; + public const string SupportsMultipleVersions = "SupportsMultipleVersions"; + public const string TargetedSDK = "TargetedSDKArchitecture"; + public const string TargetedSDKConfiguration = "TargetedSDKConfiguration"; + public const string TargetPlatform = "TargetPlatform"; + public const string TargetPlatformMinVersion = "TargetPlatformMinVersion"; + public const string TargetPlatformVersion = "TargetPlatformVersion"; + } + } + public enum SDKType + { + Unspecified = 0, + External = 1, + Platform = 2, + Framework = 3 + } + + public enum TargetDotNetFrameworkVersion + { + Version11 = 0, + Version20 = 1, + Version30 = 2, + Version35 = 3, + Version40 = 4, + Version45 = 5, + Version451 = 6, + Version46 = 7, + Version461 = 8, + Version452 = 9, + Version462 = 10, + Version47 = 11, + Version471 = 12, + Version472 = 13, + Version48 = 14, + VersionLatest = 14, + Version481 = 15, + Latest = 9999 + } + + public partial class TargetPlatformSDK : System.IEquatable + { + public TargetPlatformSDK(string targetPlatformIdentifier, System.Version targetPlatformVersion, string path) { } + public string DisplayName { get { throw null; } } + public System.Version MinOSVersion { get { throw null; } } + public System.Version MinVSVersion { get { throw null; } } + public string Path { get { throw null; } set { } } + public string TargetPlatformIdentifier { get { throw null; } } + public System.Version TargetPlatformVersion { get { throw null; } } + + public bool ContainsPlatform(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public bool Equals(TargetPlatformSDK other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + } + + public abstract partial class Task : Framework.ITask + { + protected Task() { } + protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected Task(System.Resources.ResourceManager taskResources) { } + public Framework.IBuildEngine BuildEngine { get { throw null; } set { } } + public Framework.IBuildEngine2 BuildEngine2 { get { throw null; } } + public Framework.IBuildEngine3 BuildEngine3 { get { throw null; } } + public Framework.IBuildEngine4 BuildEngine4 { get { throw null; } } + public Framework.IBuildEngine5 BuildEngine5 { get { throw null; } } + public Framework.IBuildEngine6 BuildEngine6 { get { throw null; } } + public Framework.IBuildEngine7 BuildEngine7 { get { throw null; } } + public Framework.IBuildEngine8 BuildEngine8 { get { throw null; } } + public Framework.IBuildEngine9 BuildEngine9 { get { throw null; } } + protected string HelpKeywordPrefix { get { throw null; } set { } } + public Framework.ITaskHost HostObject { get { throw null; } set { } } + public TaskLoggingHelper Log { get { throw null; } } + protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public abstract bool Execute(); + } + + public sealed partial class TaskItem : Framework.ITaskItem2, Framework.ITaskItem + { + public TaskItem() { } + public TaskItem(Framework.ITaskItem sourceItem) { } + public TaskItem(string itemSpec, bool treatAsFilePath) { } + public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { } + public TaskItem(string itemSpec) { } + public string ItemSpec { get { throw null; } set { } } + public int MetadataCount { get { throw null; } } + public System.Collections.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + + public System.Collections.IDictionary CloneCustomMetadata() { throw null; } + public void CopyMetadataTo(Framework.ITaskItem destinationItem) { } + public string GetMetadata(string metadataName) { throw null; } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public static explicit operator string(TaskItem taskItemToCast) { throw null; } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(string metadataName, string metadataValue) { } + public override string ToString() { throw null; } + } + + public partial class TaskLoggingHelper + { + public TaskLoggingHelper(Framework.IBuildEngine buildEngine, string taskName) { } + public TaskLoggingHelper(Framework.ITask taskInstance) { } + protected Framework.IBuildEngine BuildEngine { get { throw null; } } + public bool HasLoggedErrors { get { throw null; } } + public string HelpKeywordPrefix { get { throw null; } set { } } + public bool IsTaskInputLoggingEnabled { get { throw null; } } + protected string TaskName { get { throw null; } } + public System.Resources.ResourceManager TaskResources { get { throw null; } set { } } + + public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; } + public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; } + public virtual string FormatString(string unformatted, params object[] args) { throw null; } + public static string GetInnerExceptionMessageString(System.Exception e) { throw null; } + public virtual string GetResourceMessage(string resourceName) { throw null; } + public void LogCommandLine(Framework.MessageImportance importance, string commandLine) { } + public void LogCommandLine(string commandLine) { } + public void LogCriticalMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogError(string subcategory, string errorCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { } + public void LogErrorFromException(System.Exception exception, bool showStackTrace) { } + public void LogErrorFromException(System.Exception exception) { } + public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { } + public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { } + public void LogIncludeGeneratedFile(string filePath, string content) { } + public void LogMessage(Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessage(string message, params object[] messageArgs) { } + public void LogMessage(string subcategory, string code, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, Framework.MessageImportance importance, string message, params object[] messageArgs) { } + public void LogMessageFromResources(Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { } + public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { } + public bool LogMessageFromText(string lineOfText, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName, Framework.MessageImportance messageImportance) { throw null; } + public bool LogMessagesFromFile(string fileName) { throw null; } + public bool LogMessagesFromStream(System.IO.TextReader stream, Framework.MessageImportance messageImportance) { throw null; } + public bool LogsMessagesOfImportance(Framework.MessageImportance importance) { throw null; } + public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary properties) { } + public void LogWarning(string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarning(string subcategory, string warningCode, string helpKeyword, string helpLink, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { } + public void LogWarningFromException(System.Exception exception, bool showStackTrace) { } + public void LogWarningFromException(System.Exception exception) { } + public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { } + public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { } + } + public static partial class ToolLocationHelper + { + public static string CurrentToolsVersion { get { throw null; } } + public static string PathToSystem { get { throw null; } } + + public static void ClearSDKStaticCache() { } + public static System.Collections.Generic.IDictionary FilterPlatformExtensionSDKs(System.Version targetPlatformVersion, System.Collections.Generic.IDictionary extensionSdks) { throw null; } + public static System.Collections.Generic.IList FilterTargetPlatformSdks(System.Collections.Generic.IList targetPlatformSdkList, System.Version osVersion, System.Version vsVersion) { throw null; } + public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersExInfo(string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static System.Collections.Generic.IList GetAssemblyFoldersFromConfigInfo(string configFile, string targetFrameworkVersion, System.Reflection.ProcessorArchitecture targetProcessorArchitecture) { throw null; } + public static string GetDisplayNameForTargetFrameworkDirectory(string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static string GetDotNetFrameworkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetDotNetFrameworkVersionFolderPrefix(TargetDotNetFrameworkVersion version) { throw null; } + public static System.Collections.Generic.IEnumerable GetFoldersInVSInstalls(System.Version minVersion = null, System.Version maxVersion = null, string subFolder = null) { throw null; } + public static string GetFoldersInVSInstallsAsString(string minVersionString = null, string maxVersionString = null, string subFolder = null) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion, string[] sdkRoots) { throw null; } + public static string GetLatestSDKTargetPlatformVersion(string sdkIdentifier, string sdkVersion) { throw null; } + public static string GetPathToBuildTools(string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildTools(string toolsVersion) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToBuildToolsFile(string fileName, string toolsVersion) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFramework(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkReferenceAssemblies(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdk() { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName, TargetDotNetFrameworkVersion version) { throw null; } + public static string GetPathToDotNetFrameworkSdkFile(string fileName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string targetFrameworkRootPath) { throw null; } + public static System.Collections.Generic.IList GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath, string targetFrameworkFallbackSearchPaths) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget, string targetFrameworkRootPath) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile, string platformTarget) { throw null; } + public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; } + public static string GetPathToSystemFile(string fileName) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocation instead")] + public static string GetPathToWindowsSdk(TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion, DotNetFrameworkArchitecture architecture) { throw null; } + [System.Obsolete("Consider using GetPlatformSDKLocationFile instead")] + public static string GetPathToWindowsSdkFile(string fileName, TargetDotNetFrameworkVersion version, VisualStudioVersion visualStudioVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string[] extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformExtensionSDKLocation(string sdkMoniker, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IDictionary> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string[] GetPlatformOrFrameworkExtensionSdkReferences(string extensionSdkMoniker, string targetSdkIdentifier, string targetSdkVersion, string diskRoots, string extensionDiskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKDisplayName(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, string targetPlatformVersion) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion, string[] diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKLocation(string targetPlatformIdentifier, System.Version targetPlatformVersion) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string GetPlatformSDKPropsFileLocation(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion, string[] diskRoots, string registryRoot) { throw null; } + public static System.Collections.Generic.IEnumerable GetPlatformsForSDK(string sdkIdentifier, System.Version sdkVersion) { throw null; } + public static string GetProgramFilesReferenceAssemblyRoot() { throw null; } + public static string GetSDKContentFolderPath(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string folderName, string diskRoot = null) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKDesignTimeFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKRedistFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture) { throw null; } + public static System.Collections.Generic.IList GetSDKReferenceFolders(string sdkRoot) { throw null; } + public static System.Collections.Generic.IList GetSupportedTargetFrameworks() { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion, string diskRoots, string registryRoot) { throw null; } + public static string[] GetTargetPlatformReferences(string sdkIdentifier, string sdkVersion, string targetPlatformIdentifier, string targetPlatformMinVersion, string targetPlatformVersion) { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks() { throw null; } + public static System.Collections.Generic.IList GetTargetPlatformSdks(string[] diskRoots, string registryRoot) { throw null; } + public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier(string targetFrameworkRootDirectory, string frameworkIdentifier) { throw null; } + } + public abstract partial class ToolTask : Task, Framework.IIncrementalTask, Framework.ICancelableTask, Framework.ITask + { + protected ToolTask() { } + protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { } + protected ToolTask(System.Resources.ResourceManager taskResources) { } + protected bool canBeIncremental { get { throw null; } set { } } + public bool EchoOff { get { throw null; } set { } } + + [System.Obsolete("Use EnvironmentVariables property")] + protected virtual System.Collections.Generic.Dictionary EnvironmentOverride { get { throw null; } } + public string[] EnvironmentVariables { get { throw null; } set { } } + + [Framework.Output] + public int ExitCode { get { throw null; } } + public bool FailIfNotIncremental { get { throw null; } set { } } + protected virtual bool HasLoggedErrors { get { throw null; } } + public bool LogStandardErrorAsError { get { throw null; } set { } } + protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } } + protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } } + public string StandardErrorImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } } + protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } } + public string StandardOutputImportance { get { throw null; } set { } } + protected Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } } + protected virtual Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } } + protected int TaskProcessTerminationTimeout { get { throw null; } set { } } + public virtual int Timeout { get { throw null; } set { } } + protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } } + public virtual string ToolExe { get { throw null; } set { } } + protected abstract string ToolName { get; } + public string ToolPath { get { throw null; } set { } } + public bool UseCommandProcessor { get { throw null; } set { } } + public string UseUtf8Encoding { get { throw null; } set { } } + public bool YieldDuringToolExecution { get { throw null; } set { } } + + protected virtual string AdjustCommandsForOperatingSystem(string input) { throw null; } + protected virtual bool CallHostObjectToExecute() { throw null; } + public virtual void Cancel() { } + protected void DeleteTempFile(string fileName) { } + public override bool Execute() { throw null; } + protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; } + protected virtual string GenerateCommandLineCommands() { throw null; } + protected abstract string GenerateFullPathToTool(); + protected virtual string GenerateResponseFileCommands() { throw null; } + protected virtual System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; } + protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; } + protected virtual string GetWorkingDirectory() { throw null; } + protected virtual bool HandleTaskExecutionErrors() { throw null; } + protected virtual HostObjectInitializationStatus InitializeHostObject() { throw null; } + protected virtual void LogEventsFromTextOutput(string singleLine, Framework.MessageImportance messageImportance) { } + protected virtual void LogPathToTool(string toolName, string pathToTool) { } + protected virtual void LogToolCommand(string message) { } + protected virtual void ProcessStarted() { } + protected void ReceiveExitNotification(object sender, System.EventArgs e) { } + protected void ReceiveStandardErrorData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected void ReceiveStandardOutputData(object sender, System.Diagnostics.DataReceivedEventArgs e) { } + protected virtual string ResponseFileEscape(string responseString) { throw null; } + protected virtual bool SkipTaskExecution() { throw null; } + protected virtual System.Diagnostics.Process StartToolProcess(System.Diagnostics.Process proc) { throw null; } + protected internal virtual bool ValidateParameters() { throw null; } + } + + public static partial class TrackedDependencies + { + public static Framework.ITaskItem[] ExpandWildcards(Framework.ITaskItem[] expand) { throw null; } + } + public enum VisualStudioVersion + { + Version100 = 0, + Version110 = 1, + Version120 = 2, + Version140 = 3, + Version150 = 4, + Version160 = 5, + Version170 = 6, + VersionLatest = 6 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.11.48/Customizations.cs b/src/referencePackages/src/microsoft.build/17.11.48/Customizations.cs new file mode 100644 index 0000000000..7cba5168c9 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.11.48/Customizations.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual additions to address missing interface members +// The generator doesn't properly emit all IBuildEventArgsReaderNotifications members +namespace Microsoft.Build.Logging +{ + public sealed partial class BinaryLogReplayEventSource + { + public event System.Action? ArchiveFileEncountered + { + add { } + remove { } + } + + public event System.Action? StringReadDone + { + add { } + remove { } + } + } +} diff --git a/src/referencePackages/src/microsoft.build/17.11.48/Microsoft.Build.17.11.48.csproj b/src/referencePackages/src/microsoft.build/17.11.48/Microsoft.Build.17.11.48.csproj new file mode 100644 index 0000000000..b96cb9125e --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.11.48/Microsoft.Build.17.11.48.csproj @@ -0,0 +1,18 @@ + + + + net8.0 + 17.11.48 + Microsoft.Build + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build/17.11.48/microsoft.build.nuspec b/src/referencePackages/src/microsoft.build/17.11.48/microsoft.build.nuspec new file mode 100644 index 0000000000..93680feb52 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.11.48/microsoft.build.nuspec @@ -0,0 +1,28 @@ + + + + Microsoft.Build + 17.11.48 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.11.48/ref/net8.0/Microsoft.Build.cs b/src/referencePackages/src/microsoft.build/17.11.48/ref/net8.0/Microsoft.Build.cs new file mode 100644 index 0000000000..2dac29079d --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.11.48/ref/net8.0/Microsoft.Build.cs @@ -0,0 +1,2963 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Unittest, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Cop, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Utilities.Core", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Processes", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.Build.BackEnd.SdkResolution +{ + public partial class SdkResolverException : Framework.BuildException.BuildExceptionBase + { + public SdkResolverException(string resourceName, Framework.SdkResolver resolver, Framework.SdkReference sdk, System.Exception innerException, params string[] args) { } + public Framework.SdkResolver Resolver { get { throw null; } } + public Framework.SdkReference Sdk { get { throw null; } } + } +} + +namespace Microsoft.Build.Construction +{ + public abstract partial class ElementLocation + { + public abstract int Column { get; } + public static ElementLocation EmptyLocation { get { throw null; } } + public abstract string File { get; } + public abstract int Line { get; } + public string LocationString { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + public enum ImplicitImportLocation + { + None = 0, + Top = 1, + Bottom = 2 + } + + public partial class ProjectChooseElement : ProjectElementContainer + { + internal ProjectChooseElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public ProjectOtherwiseElement OtherwiseElement { get { throw null; } } + public System.Collections.Generic.ICollection WhenElements { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectConfigurationInSolution + { + internal ProjectConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public bool IncludeInBuild { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public abstract partial class ProjectElement : Framework.IProjectElement + { + internal ProjectElement() { } + public System.Collections.Generic.IEnumerable AllParents { get { throw null; } } + public virtual string Condition { get { throw null; } set { } } + public virtual ElementLocation ConditionLocation { get { throw null; } } + public ProjectRootElement ContainingProject { get { throw null; } } + public string ElementName { get { throw null; } } + public string Label { get { throw null; } set { } } + public ElementLocation LabelLocation { get { throw null; } } + public ElementLocation Location { get { throw null; } } + public ProjectElement NextSibling { get { throw null; } } + public string OuterElement { get { throw null; } } + public ProjectElementContainer Parent { get { throw null; } } + public ProjectElement PreviousSibling { get { throw null; } } + + public ProjectElement Clone() { throw null; } + protected internal virtual ProjectElement Clone(ProjectRootElement factory) { throw null; } + public virtual void CopyFrom(ProjectElement element) { } + protected abstract ProjectElement CreateNewInstance(ProjectRootElement owner); + protected virtual bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public abstract partial class ProjectElementContainer : ProjectElement + { + internal ProjectElementContainer() { } + public System.Collections.Generic.IEnumerable AllChildren { get { throw null; } } + public System.Collections.Generic.ICollection Children { get { throw null; } } + public System.Collections.Generic.ICollection ChildrenReversed { get { throw null; } } + public int Count { get { throw null; } } + public ProjectElement FirstChild { get { throw null; } } + public ProjectElement LastChild { get { throw null; } } + + public void AppendChild(ProjectElement child) { } + protected internal virtual ProjectElementContainer DeepClone(ProjectRootElement factory, ProjectElementContainer parent) { throw null; } + public virtual void DeepCopyFrom(ProjectElementContainer element) { } + public void InsertAfterChild(ProjectElement child, ProjectElement reference) { } + public void InsertBeforeChild(ProjectElement child, ProjectElement reference) { } + public void PrependChild(ProjectElement child) { } + public void RemoveAllChildren() { } + public void RemoveChild(ProjectElement child) { } + } + + public partial class ProjectExtensionsElement : ProjectElement + { + internal ProjectExtensionsElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Content { get { throw null; } set { } } + + public string this[string name] { get { throw null; } set { } } + + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportElement : ProjectElement + { + internal ProjectImportElement() { } + public ImplicitImportLocation ImplicitImportLocation { get { throw null; } } + public string MinimumVersion { get { throw null; } set { } } + public ProjectElement OriginalElement { get { throw null; } } + public string Project { get { throw null; } set { } } + public ElementLocation ProjectLocation { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportGroupElement : ProjectElementContainer + { + internal ProjectImportGroupElement() { } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectInSolution + { + internal ProjectInSolution() { } + public string AbsolutePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + public string ParentProjectGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ProjectConfigurations { get { throw null; } } + public string ProjectGuid { get { throw null; } } + public string ProjectName { get { throw null; } } + public SolutionProjectType ProjectType { get { throw null; } set { } } + public string RelativePath { get { throw null; } } + } + public partial class ProjectItemDefinitionElement : ProjectElementContainer + { + internal ProjectItemDefinitionElement() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemDefinitionGroupElement : ProjectElementContainer + { + internal ProjectItemDefinitionGroupElement() { } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectItemElement : ProjectElementContainer + { + internal ProjectItemElement() { } + public string Exclude { get { throw null; } set { } } + public ElementLocation ExcludeLocation { get { throw null; } } + public bool HasMetadata { get { throw null; } } + public string Include { get { throw null; } set { } } + public ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public string KeepDuplicates { get { throw null; } set { } } + public ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } set { } } + public ElementLocation KeepMetadataLocation { get { throw null; } } + public string MatchOnMetadata { get { throw null; } set { } } + public ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } set { } } + public ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } set { } } + public ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } set { } } + public ElementLocation RemoveMetadataLocation { get { throw null; } } + public string Update { get { throw null; } set { } } + public ElementLocation UpdateLocation { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemGroupElement : ProjectElementContainer + { + internal ProjectItemGroupElement() { } + public System.Collections.Generic.ICollection Items { get { throw null; } } + + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectMetadataElement : ProjectElement + { + internal ProjectMetadataElement() { } + public bool ExpressedAsAttribute { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOnErrorElement : ProjectElement + { + internal ProjectOnErrorElement() { } + public string ExecuteTargetsAttribute { get { throw null; } set { } } + public ElementLocation ExecuteTargetsLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOtherwiseElement : ProjectElementContainer + { + internal ProjectOtherwiseElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOutputElement : ProjectElement + { + internal ProjectOutputElement() { } + public bool IsOutputItem { get { throw null; } } + public bool IsOutputProperty { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public ElementLocation ItemTypeLocation { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + public ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } set { } } + public ElementLocation TaskParameterLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyElement : ProjectElement + { + internal ProjectPropertyElement() { } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyGroupElement : ProjectElementContainer + { + internal ProjectPropertyGroupElement() { } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertiesReversed { get { throw null; } } + + public ProjectPropertyElement AddProperty(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectPropertyElement SetProperty(string name, string unevaluatedValue) { throw null; } + } + + public partial class ProjectRootElement : ProjectElementContainer + { + internal ProjectRootElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string DefaultTargets { get { throw null; } set { } } + public ElementLocation DefaultTargetsLocation { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public System.Text.Encoding Encoding { get { throw null; } } + public string EscapedFullPath { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public bool HasUnsavedChanges { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroups { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + public string InitialTargets { get { throw null; } set { } } + public ElementLocation InitialTargetsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.DateTime LastWriteTimeWhenRead { get { throw null; } } + public bool PreserveFormatting { get { throw null; } } + public ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroupsReversed { get { throw null; } } + public string RawXml { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public System.Collections.Generic.ICollection Targets { get { throw null; } } + public System.DateTime TimeLastChanged { get { throw null; } } + public string ToolsVersion { get { throw null; } set { } } + public ElementLocation ToolsVersionLocation { get { throw null; } } + public string TreatAsLocalProperty { get { throw null; } set { } } + public ElementLocation TreatAsLocalPropertyLocation { get { throw null; } } + public System.Collections.Generic.ICollection UsingTasks { get { throw null; } } + public int Version { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + public ProjectImportGroupElement AddImportGroup() { throw null; } + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement AddItemDefinitionGroup() { throw null; } + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyElement AddProperty(string name, string value) { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTargetElement AddTarget(string name) { throw null; } + public ProjectUsingTaskElement AddUsingTask(string name, string assemblyFile, string assemblyName) { throw null; } + public static ProjectRootElement Create() { throw null; } + public static ProjectRootElement Create(Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection, bool preserveFormatting) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader) { throw null; } + public ProjectChooseElement CreateChooseElement() { throw null; } + public ProjectImportElement CreateImportElement(string project) { throw null; } + public ProjectImportGroupElement CreateImportGroupElement() { throw null; } + public ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement() { throw null; } + public ProjectItemElement CreateItemElement(string itemType, string include) { throw null; } + public ProjectItemElement CreateItemElement(string itemType) { throw null; } + public ProjectItemGroupElement CreateItemGroupElement() { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue, ElementLocation location) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectOnErrorElement CreateOnErrorElement(string executeTargets) { throw null; } + public ProjectOtherwiseElement CreateOtherwiseElement() { throw null; } + public ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName) { throw null; } + public ProjectExtensionsElement CreateProjectExtensionsElement() { throw null; } + public ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion) { throw null; } + public ProjectPropertyElement CreatePropertyElement(string name) { throw null; } + public ProjectPropertyGroupElement CreatePropertyGroupElement() { throw null; } + public ProjectTargetElement CreateTargetElement(string name) { throw null; } + public ProjectTaskElement CreateTaskElement(string name) { throw null; } + public ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName) { throw null; } + public ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType) { throw null; } + public UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement() { throw null; } + public ProjectWhenElement CreateWhenElement(string condition) { throw null; } + public ProjectRootElement DeepClone() { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Open(string path) { throw null; } + public void Reload(bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(string path, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding saveEncoding) { } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement TryOpen(string path) { throw null; } + } + + public partial class ProjectSdkElement : ProjectElementContainer + { + internal ProjectSdkElement() { } + public string MinimumVersion { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTargetElement : ProjectElementContainer + { + internal ProjectTargetElement() { } + public string AfterTargets { get { throw null; } set { } } + public ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } set { } } + public ElementLocation BeforeTargetsLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } set { } } + public ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string Inputs { get { throw null; } set { } } + public ElementLocation InputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } set { } } + public ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public ElementLocation NameLocation { get { throw null; } } + public System.Collections.Generic.ICollection OnErrors { get { throw null; } } + public string Outputs { get { throw null; } set { } } + public ElementLocation OutputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public string Returns { get { throw null; } set { } } + public ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTaskElement AddTask(string taskName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTaskElement : ProjectElementContainer + { + internal ProjectTaskElement() { } + public string ContinueOnError { get { throw null; } set { } } + public ElementLocation ContinueOnErrorLocation { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } set { } } + public ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } set { } } + public ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.ICollection Outputs { get { throw null; } } + public System.Collections.Generic.IEnumerable> ParameterLocations { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType, string condition) { throw null; } + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName, string condition) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public string GetParameter(string name) { throw null; } + public void RemoveAllParameters() { } + public void RemoveParameter(string name) { } + public void SetParameter(string name, string unevaluatedValue) { } + } + + public partial class ProjectUsingTaskBodyElement : ProjectElement + { + internal ProjectUsingTaskBodyElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Evaluate { get { throw null; } set { } } + public ElementLocation EvaluateLocation { get { throw null; } } + public string TaskBody { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskElement : ProjectElementContainer + { + internal ProjectUsingTaskElement() { } + public string Architecture { get { throw null; } set { } } + public ElementLocation ArchitectureLocation { get { throw null; } } + public string AssemblyFile { get { throw null; } set { } } + public ElementLocation AssemblyFileLocation { get { throw null; } } + public string AssemblyName { get { throw null; } set { } } + public ElementLocation AssemblyNameLocation { get { throw null; } } + public string Override { get { throw null; } set { } } + public ElementLocation OverrideLocation { get { throw null; } } + public UsingTaskParameterGroupElement ParameterGroup { get { throw null; } } + public string Runtime { get { throw null; } set { } } + public ElementLocation RuntimeLocation { get { throw null; } } + public ProjectUsingTaskBodyElement TaskBody { get { throw null; } } + public string TaskFactory { get { throw null; } set { } } + public ElementLocation TaskFactoryLocation { get { throw null; } } + public string TaskName { get { throw null; } set { } } + public ElementLocation TaskNameLocation { get { throw null; } } + + public UsingTaskParameterGroupElement AddParameterGroup() { throw null; } + public ProjectUsingTaskBodyElement AddUsingTaskBody(string evaluate, string taskBody) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskParameterElement : ProjectElement + { + internal ProjectUsingTaskParameterElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public string Output { get { throw null; } set { } } + public ElementLocation OutputLocation { get { throw null; } } + public string ParameterType { get { throw null; } set { } } + public ElementLocation ParameterTypeLocation { get { throw null; } } + public string Required { get { throw null; } set { } } + public ElementLocation RequiredLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectWhenElement : ProjectElementContainer + { + internal ProjectWhenElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class SolutionConfigurationInSolution + { + internal SolutionConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public sealed partial class SolutionFile + { + internal SolutionFile() { } + public System.Collections.Generic.IReadOnlyDictionary ProjectsByGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ProjectsInOrder { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SolutionConfigurations { get { throw null; } } + + public string GetDefaultConfigurationName() { throw null; } + public string GetDefaultPlatformName() { throw null; } + public static SolutionFile Parse(string solutionFile) { throw null; } + } + public enum SolutionProjectType + { + Unknown = 0, + KnownToBeMSBuildFormat = 1, + SolutionFolder = 2, + WebProject = 3, + WebDeploymentProject = 4, + EtpSubProject = 5, + SharedProject = 6 + } + + public partial class UsingTaskParameterGroupElement : ProjectElementContainer + { + internal UsingTaskParameterGroupElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Parameters { get { throw null; } } + + public ProjectUsingTaskParameterElement AddParameter(string name, string output, string required, string parameterType) { throw null; } + public ProjectUsingTaskParameterElement AddParameter(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } +} + +namespace Microsoft.Build.Definition +{ + public partial class ProjectOptions + { + public FileSystem.IDirectoryCacheFactory DirectoryCacheFactory { get { throw null; } set { } } + public Evaluation.Context.EvaluationContext EvaluationContext { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings LoadSettings { get { throw null; } set { } } + public Evaluation.ProjectCollection ProjectCollection { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Evaluation +{ + public partial class GlobResult + { + public GlobResult(Construction.ProjectItemElement itemElement, System.Collections.Generic.IEnumerable includeGlobStrings, Globbing.IMSBuildGlob globWithGaps, System.Collections.Generic.IEnumerable excludeFragmentStrings, System.Collections.Generic.IEnumerable removeFragmentStrings) { } + public System.Collections.Generic.IEnumerable Excludes { get { throw null; } } + public System.Collections.Generic.IEnumerable IncludeGlobs { get { throw null; } } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public Globbing.IMSBuildGlob MsBuildGlob { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Removes { get { throw null; } set { } } + } + public static partial class MatchOnMetadataConstants + { + public const MatchOnMetadataOptions MatchOnMetadataOptionsDefaultValue = 0; + } + public enum MatchOnMetadataOptions + { + CaseSensitive = 0, + CaseInsensitive = 1, + PathLike = 2 + } + + [System.Flags] + public enum NewProjectFileOptions + { + IncludeAllOptions = -1, + None = 0, + IncludeXmlDeclaration = 1, + IncludeToolsVersion = 2, + IncludeXmlNamespace = 4 + } + + public enum Operation + { + Include = 0, + Exclude = 1, + Update = 2, + Remove = 3 + } + + public partial class Project + { + public Project() { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(Construction.ProjectRootElement xml) { } + public Project(NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(string projectFile) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(System.Xml.XmlReader xmlReader) { } + public System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedItems { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedProperties { get { throw null; } } + public System.Collections.Generic.IDictionary> ConditionedProperties { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public bool DisableMarkDirty { get { throw null; } set { } } + public int EvaluationCounter { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IList Imports { get { throw null; } } + public System.Collections.Generic.IList ImportsIncludingDuplicates { get { throw null; } } + public bool IsBuildEnabled { get { throw null; } set { } } + public bool IsDirty { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemsIgnoringCondition { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public int LastEvaluationId { get { throw null; } } + public ProjectCollection ProjectCollection { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public bool SkipEvaluation { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public bool ThrowInsteadOfSplittingItemElement { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } } + public Construction.ProjectRootElement Xml { get { throw null; } } + + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(Framework.ILogger logger) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Context.EvaluationContext evaluationContext) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets) { throw null; } + public Execution.ProjectInstance CreateProjectInstance() { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Context.EvaluationContext evaluationContext) { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public static Project FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static Project FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static Project FromXmlReader(System.Xml.XmlReader reader, Definition.ProjectOptions options) { throw null; } + public System.Collections.Generic.List GetAllGlobs() { throw null; } + public System.Collections.Generic.List GetAllGlobs(Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItem item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinition item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude) { throw null; } + public System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetLogicalProject() { throw null; } + public static string GetMetadataValueEscaped(ProjectItem item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinition item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadata metadatum) { throw null; } + public ProjectProperty GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectProperty property) { throw null; } + public void MarkDirty() { } + public void ReevaluateIfNecessary() { } + public void ReevaluateIfNecessary(Context.EvaluationContext evaluationContext) { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveItem(ProjectItem item) { throw null; } + public void RemoveItems(System.Collections.Generic.IEnumerable items) { } + public bool RemoveProperty(ProjectProperty property) { throw null; } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding encoding) { } + public void SaveLogicalProject(System.IO.TextWriter writer) { } + public bool SetGlobalProperty(string name, string escapedValue) { throw null; } + public ProjectProperty SetProperty(string name, string unevaluatedValue) { throw null; } + } + public partial class ProjectChangedEventArgs : System.EventArgs + { + internal ProjectChangedEventArgs() { } + public Project Project { get { throw null; } } + } + + public partial class ProjectCollection : System.IDisposable + { + public ProjectCollection() { } + public ProjectCollection(ToolsetDefinitionLocations toolsetLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, ToolsetDefinitionLocations toolsetDefinitionLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties) { } + public int Count { get { throw null; } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DisableMarkDirty { get { throw null; } set { } } + public static string DisplayVersion { get { throw null; } } + public static ProjectCollection GlobalProjectCollection { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public Execution.HostServices HostServices { get { throw null; } set { } } + public bool IsBuildEnabled { get { throw null; } set { } } + public System.Collections.Generic.ICollection LoadedProjects { get { throw null; } } + public System.Collections.Generic.ICollection Loggers { get { throw null; } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public bool SkipEvaluation { get { throw null; } set { } } + public ToolsetDefinitionLocations ToolsetLocations { get { throw null; } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public static System.Version Version { get { throw null; } } + + public event ProjectAddedEventHandler ProjectAdded { + add { } + remove { } + } + + public event System.EventHandler ProjectChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectCollectionChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectXmlChanged { + add { } + remove { } + } + + public void AddToolset(Toolset toolset) { } + public bool ContainsToolset(string toolsVersion) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public static string Escape(string unescapedString) { throw null; } + public string GetEffectiveToolsVersion(string explicitToolsVersion, string toolsVersionFromProject) { throw null; } + public Execution.ProjectPropertyInstance GetGlobalProperty(string name) { throw null; } + public System.Collections.Generic.ICollection GetLoadedProjects(string fullPath) { throw null; } + public Toolset GetToolset(string toolsVersion) { throw null; } + public Project LoadProject(string fileName, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(string fileName, string toolsVersion) { throw null; } + public Project LoadProject(string fileName) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader) { throw null; } + public void LogBuildFinishedEvent(bool success) { } + public void RegisterForwardingLoggers(System.Collections.Generic.IEnumerable remoteLoggers) { } + public void RegisterLogger(Framework.ILogger logger) { } + public void RegisterLoggers(System.Collections.Generic.IEnumerable loggers) { } + public void RemoveAllToolsets() { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveToolset(string toolsVersion) { throw null; } + public void SetGlobalProperty(string name, string value) { } + public bool TryUnloadProject(Construction.ProjectRootElement projectRootElement) { throw null; } + public static string Unescape(string escapedString) { throw null; } + public void UnloadAllProjects() { } + public void UnloadProject(Construction.ProjectRootElement projectRootElement) { } + public void UnloadProject(Project project) { } + public void UnregisterAllLoggers() { } + public delegate void ProjectAddedEventHandler(object sender, ProjectAddedToProjectCollectionEventArgs e); + public partial class ProjectAddedToProjectCollectionEventArgs : System.EventArgs + { + public ProjectAddedToProjectCollectionEventArgs(Construction.ProjectRootElement element) { } + public Construction.ProjectRootElement ProjectRootElement { get { throw null; } } + } + } + + public partial class ProjectCollectionChangedEventArgs : System.EventArgs + { + internal ProjectCollectionChangedEventArgs() { } + public ProjectCollectionChangedState Changed { get { throw null; } } + } + + public enum ProjectCollectionChangedState + { + DefaultToolsVersion = 0, + Toolsets = 1, + Loggers = 2, + GlobalProperties = 3, + IsBuildEnabled = 4, + OnlyLogCriticalEvents = 5, + HostServices = 6, + DisableMarkDirty = 7, + SkipEvaluation = 8 + } + + public partial class ProjectItem + { + internal ProjectItem() { } + public System.Collections.Generic.IEnumerable DirectMetadata { get { throw null; } } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedInclude { get { throw null; } set { } } + public Construction.ProjectItemElement Xml { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + public bool RemoveMetadata(string name) { throw null; } + public void Rename(string name) { } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + public partial class ProjectItemDefinition + { + internal ProjectItemDefinition() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + [System.Flags] + public enum ProjectLoadSettings + { + Default = 0, + IgnoreMissingImports = 1, + RecordDuplicateButNotCircularImports = 2, + RejectCircularImports = 4, + RecordEvaluatedItemElements = 8, + IgnoreEmptyImports = 16, + DoNotEvaluateElementsWithFalseCondition = 32, + IgnoreInvalidImports = 64, + ProfileEvaluation = 128, + FailOnUnresolvedSdk = 256 + } + + public partial class ProjectMetadata : System.IEquatable + { + internal ProjectMetadata() { } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string EvaluatedValue { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public ProjectMetadata Predecessor { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedValue { get { throw null; } set { } } + public Construction.ProjectMetadataElement Xml { get { throw null; } } + + bool System.IEquatable.Equals(ProjectMetadata other) { throw null; } + } + + public abstract partial class ProjectProperty : System.IEquatable + { + internal ProjectProperty() { } + public string EvaluatedValue { get { throw null; } } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public abstract string Name { get; } + public abstract ProjectProperty Predecessor { get; } + public Project Project { get { throw null; } } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + bool System.IEquatable.Equals(ProjectProperty other) { throw null; } + } + + public partial class ProjectXmlChangedEventArgs : System.EventArgs + { + internal ProjectXmlChangedEventArgs() { } + public Construction.ProjectRootElement ProjectXml { get { throw null; } } + public string Reason { get { throw null; } } + } + + [System.Flags] + public enum Provenance + { + Undefined = 0, + StringLiteral = 1, + Glob = 2, + Inconclusive = 4 + } + + public partial class ProvenanceResult + { + public ProvenanceResult(Construction.ProjectItemElement itemElement, Operation operation, Provenance provenance, int occurrences) { } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public int Occurrences { get { throw null; } } + public Operation Operation { get { throw null; } } + public Provenance Provenance { get { throw null; } } + } + public partial struct ResolvedImport + { + private object _dummy; + private int _dummyPrimitive; + public Construction.ProjectRootElement ImportedProject { get { throw null; } } + public Construction.ProjectImportElement ImportingElement { get { throw null; } } + public bool IsImported { get { throw null; } } + public Framework.SdkResult SdkResult { get { throw null; } } + } + + public partial class SubToolset + { + internal SubToolset() { } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public string SubToolsetVersion { get { throw null; } } + } + public partial class Toolset + { + public Toolset(string toolsVersion, string toolsPath, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, System.Collections.Generic.IDictionary subToolsets, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public string DefaultSubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public System.Collections.Generic.IDictionary SubToolsets { get { throw null; } } + public string ToolsPath { get { throw null; } } + public string ToolsVersion { get { throw null; } } + + public string GenerateSubToolsetVersion() { throw null; } + public string GenerateSubToolsetVersion(System.Collections.Generic.IDictionary overrideGlobalProperties, int solutionVersion) { throw null; } + public Execution.ProjectPropertyInstance GetProperty(string propertyName, string subToolsetVersion) { throw null; } + } + [System.Flags] + public enum ToolsetDefinitionLocations + { + None = 0, + ConfigurationFile = 1, + Registry = 2, + Default = 4, + Local = 4 + } +} + +namespace Microsoft.Build.Evaluation.Context +{ + public partial class EvaluationContext + { + internal EvaluationContext() { } + public static EvaluationContext Create(SharingPolicy policy, FileSystem.MSBuildFileSystemBase fileSystem) { throw null; } + public static EvaluationContext Create(SharingPolicy policy) { throw null; } + public enum SharingPolicy + { + Shared = 0, + Isolated = 1, + SharedSDKCache = 2 + } + } +} + +namespace Microsoft.Build.Exceptions +{ + public partial class BuildAbortedException : Framework.BuildException.BuildExceptionBase + { + public BuildAbortedException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected BuildAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public BuildAbortedException(string message, System.Exception innerException) { } + public BuildAbortedException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class CircularDependencyException : Framework.BuildException.BuildExceptionBase + { + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected CircularDependencyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class InternalLoggerException : Framework.BuildException.BuildExceptionBase + { + public InternalLoggerException() { } + public InternalLoggerException(string message, System.Exception innerException) { } + public InternalLoggerException(string message) { } + public Framework.BuildEventArgs BuildEventArgs { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public bool InitializationException { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public sealed partial class InvalidProjectFileException : Framework.BuildException.BuildExceptionBase + { + public InvalidProjectFileException() { } + public InvalidProjectFileException(string message, System.Exception innerException) { } + public InvalidProjectFileException(string projectFile, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string errorSubcategory, string errorCode, string helpKeyword) { } + public InvalidProjectFileException(string message) { } + public string BaseMessage { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string ErrorSubcategory { get { throw null; } } + public bool HasBeenLogged { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class InvalidToolsetDefinitionException : Framework.BuildException.BuildExceptionBase + { + public InvalidToolsetDefinitionException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected InvalidToolsetDefinitionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public InvalidToolsetDefinitionException(string message, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode) { } + public InvalidToolsetDefinitionException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } +} + +namespace Microsoft.Build.Execution +{ + public partial class BuildManager : System.IDisposable + { + public BuildManager() { } + public BuildManager(string hostName) { } + public static BuildManager DefaultBuildManager { get { throw null; } } + + public void BeginBuild(BuildParameters parameters, System.Collections.Generic.IEnumerable deferredBuildMessages) { } + public void BeginBuild(BuildParameters parameters) { } + public BuildResult Build(BuildParameters parameters, BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult Build(BuildParameters parameters, Graph.GraphBuildRequestData requestData) { throw null; } + public BuildResult BuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult BuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void CancelAllSubmissions() { } + public void Dispose() { } + public void EndBuild() { } + ~BuildManager() { + } + + public ProjectInstance GetProjectInstanceForBuild(Evaluation.Project project) { throw null; } + public BuildSubmission PendBuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildSubmission PendBuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void ResetCaches() { } + public void ShutdownAllNodes() { } + public readonly partial struct DeferredBuildMessage + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeferredBuildMessage(string text, Framework.MessageImportance importance, string filePath) { } + public DeferredBuildMessage(string text, Framework.MessageImportance importance) { } + public string FilePath { get { throw null; } } + public Framework.MessageImportance Importance { get { throw null; } } + public string Text { get { throw null; } } + } + } + + public partial class BuildParameters + { + public BuildParameters() { } + public BuildParameters(Evaluation.ProjectCollection projectCollection) { } + public bool AllowFailureWithoutError { get { throw null; } set { } } + public System.Collections.Generic.IDictionary BuildProcessEnvironment { get { throw null; } } + public System.Threading.ThreadPriority BuildThreadPriority { get { throw null; } set { } } + public System.Globalization.CultureInfo Culture { get { throw null; } set { } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DetailedSummary { get { throw null; } set { } } + public bool DisableInProcNode { get { throw null; } set { } } + public bool DiscardBuildResults { get { throw null; } set { } } + public bool EnableNodeReuse { get { throw null; } set { } } + public System.Collections.Generic.IDictionary EnvironmentProperties { get { throw null; } } + public System.Collections.Generic.IEnumerable ForwardingLoggers { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public HostServices HostServices { get { throw null; } set { } } + public string[] InputResultsCacheFiles { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public bool IsBuildCheckEnabled { get { throw null; } set { } } + public bool IsolateProjects { get { throw null; } set { } } + public bool LegacyThreadingSemantics { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Loggers { get { throw null; } set { } } + public bool LogInitialPropertiesAndItems { get { throw null; } set { } } + public bool LogTaskInputs { get { throw null; } set { } } + public bool LowPriority { get { throw null; } set { } } + public int MaxNodeCount { get { throw null; } set { } } + public int MemoryUseLimit { get { throw null; } set { } } + public string NodeExeLocation { get { throw null; } set { } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public string OutputResultsCacheFile { get { throw null; } set { } } + public Experimental.ProjectCache.ProjectCacheDescriptor ProjectCacheDescriptor { get { throw null; } set { } } + public ProjectIsolationMode ProjectIsolationMode { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings ProjectLoadSettings { get { throw null; } set { } } + public bool Question { get { throw null; } set { } } + public bool ResetCaches { get { throw null; } set { } } + public bool SaveOperatingEnvironment { get { throw null; } set { } } + public bool ShutdownInProcNodeOnBuildFinish { get { throw null; } set { } } + public Evaluation.ToolsetDefinitionLocations ToolsetDefinitionLocations { get { throw null; } set { } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public System.Globalization.CultureInfo UICulture { get { throw null; } set { } } + public bool UseSynchronousLogging { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsErrors { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsMessages { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsNotAsErrors { get { throw null; } set { } } + + public BuildParameters Clone() { throw null; } + public Evaluation.Toolset GetToolset(string toolsVersion) { throw null; } + } + public partial class BuildRequestData + { + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable propertiesToTransfer, RequestedProjectState requestedProjectState) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable propertiesToTransfer) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags, RequestedProjectState requestedProjectState) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string[] targetsToBuild, HostServices hostServices) { } + public string ExplicitlySpecifiedToolsVersion { get { throw null; } } + public BuildRequestDataFlags Flags { get { throw null; } } + public System.Collections.Generic.ICollection GlobalProperties { get { throw null; } } + public HostServices HostServices { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public ProjectInstance ProjectInstance { get { throw null; } } + public System.Collections.Generic.IEnumerable PropertiesToTransfer { get { throw null; } } + public RequestedProjectState RequestedProjectState { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + [System.Flags] + public enum BuildRequestDataFlags + { + None = 0, + ReplaceExistingProjectInstance = 1, + ProvideProjectStateAfterBuild = 2, + IgnoreExistingProjectState = 4, + ClearCachesAfterBuild = 8, + SkipNonexistentTargets = 16, + ProvideSubsetOfStateAfterBuild = 32, + IgnoreMissingEmptyAndInvalidImports = 64, + FailOnUnresolvedSdk = 128 + } + + public partial class BuildResult + { + public BuildRequestDataFlags? BuildRequestDataFlags { get { throw null; } } + public bool CircularDependency { get { throw null; } } + public int ConfigurationId { get { throw null; } } + public System.Exception Exception { get { throw null; } } + public int GlobalRequestId { get { throw null; } } + + public ITargetResult this[string target] { get { throw null; } } + + public int NodeRequestId { get { throw null; } } + public BuildResultCode OverallResult { get { throw null; } } + public int ParentGlobalRequestId { get { throw null; } } + public ProjectInstance ProjectStateAfterBuild { get { throw null; } set { } } + public System.Collections.Generic.IDictionary ResultsByTarget { get { throw null; } } + public int SubmissionId { get { throw null; } } + + public void AddResultsForTarget(string target, TargetResult result) { } + public bool HasResultsForTarget(string target) { throw null; } + public void MergeResults(BuildResult results) { } + } + public enum BuildResultCode + { + Success = 0, + Failure = 1 + } + + public partial class BuildSubmission + { + internal BuildSubmission() { } + public object AsyncContext { get { throw null; } } + public BuildManager BuildManager { get { throw null; } } + public BuildResult BuildResult { get { throw null; } set { } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + public BuildResult Execute() { throw null; } + public void ExecuteAsync(BuildSubmissionCompleteCallback callback, object context) { } + } + public delegate void BuildSubmissionCompleteCallback(BuildSubmission submission); + public partial class HostServices + { + public Framework.ITaskHost GetHostObject(string projectFile, string targetName, string taskName) { throw null; } + public NodeAffinity GetNodeAffinity(string projectFile) { throw null; } + public void OnRenameProject(string oldFullPath, string newFullPath) { } + public void RegisterHostObject(string projectFile, string targetName, string taskName, Framework.ITaskHost hostObject) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public void RegisterHostObject(string projectFile, string targetName, string taskName, string monikerName) { } + public void SetNodeAffinity(string projectFile, NodeAffinity nodeAffinity) { } + public void UnregisterProject(string projectFullPath) { } + } + public partial interface ITargetResult + { + System.Exception Exception { get; } + + Framework.ITaskItem[] Items { get; } + + TargetResultCode ResultCode { get; } + } + + public enum NodeAffinity + { + InProc = 0, + OutOfProc = 1, + Any = 2 + } + + public enum NodeEngineShutdownReason + { + BuildComplete = 0, + BuildCompleteReuse = 1, + ConnectionFailed = 2, + Error = 3 + } + + public partial class OutOfProcNode + { + public NodeEngineShutdownReason Run(bool enableReuse, bool lowPriority, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(bool enableReuse, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(out System.Exception shutdownException) { throw null; } + } + public partial class ProjectInstance + { + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml) { } + public ProjectInstance(Evaluation.Project project, ProjectInstanceSettings settings) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public ProjectInstance(string projectFile) { } + public System.Collections.Generic.List DefaultTargets { get { throw null; } } + public string Directory { get { throw null; } } + public System.Collections.Generic.List EvaluatedItemElements { get { throw null; } } + public int EvaluationId { get { throw null; } set { } } + public string FullPath { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPaths { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPathsIncludingDuplicates { get { throw null; } } + public System.Collections.Generic.List InitialTargets { get { throw null; } } + public bool IsImmutable { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public string ToolsVersion { get { throw null; } } + public bool TranslateEntireState { get { throw null; } set { } } + + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public ProjectInstance DeepCopy() { throw null; } + public ProjectInstance DeepCopy(bool isImmutable) { throw null; } + public bool EvaluateCondition(string condition) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public ProjectInstance FilteredCopy(RequestedProjectState filter) { throw null; } + public static ProjectInstance FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static ProjectInstance FromImmutableProjectSource(Evaluation.Project project, ProjectInstanceSettings settings) { throw null; } + public static ProjectInstance FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinitionInstance item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemInstance item) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetItemsByItemTypeAndEvaluatedInclude(string itemType, string evaluatedInclude) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinitionInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadataInstance metadatum) { throw null; } + public ProjectPropertyInstance GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectPropertyInstance property) { throw null; } + public bool RemoveItem(ProjectItemInstance item) { throw null; } + public bool RemoveProperty(string name) { throw null; } + public ProjectPropertyInstance SetProperty(string name, string evaluatedValue) { throw null; } + public Construction.ProjectRootElement ToProjectRootElement() { throw null; } + public void UpdateStateFrom(ProjectInstance projectState) { } + } + [System.Flags] + public enum ProjectInstanceSettings + { + None = 0, + Immutable = 1, + ImmutableWithFastItemLookup = 3 + } + + public enum ProjectIsolationMode + { + False = 0, + MessageUponIsolationViolation = 1, + True = 2 + } + + public partial class ProjectItemDefinitionInstance + { + internal ProjectItemDefinitionInstance() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.IEnumerable MetadataNames { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + } + public partial class ProjectItemGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectItemGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectItemGroupTaskItemInstance + { + internal ProjectItemGroupTaskItemInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string Exclude { get { throw null; } } + public Construction.ElementLocation ExcludeLocation { get { throw null; } } + public string Include { get { throw null; } } + public Construction.ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public string KeepDuplicates { get { throw null; } } + public Construction.ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } } + public Construction.ElementLocation KeepMetadataLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string MatchOnMetadata { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } } + public Construction.ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } } + public Construction.ElementLocation RemoveMetadataLocation { get { throw null; } } + } + public partial class ProjectItemGroupTaskMetadataInstance + { + internal ProjectItemGroupTaskMetadataInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectItemInstance : Framework.ITaskItem2, Framework.ITaskItem + { + internal ProjectItemInstance() { } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } set { } } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem.ItemSpec { get { throw null; } set { } } + + System.Collections.ICollection Framework.ITaskItem.MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + public ProjectInstance Project { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + System.Collections.IDictionary Framework.ITaskItem.CloneCustomMetadata() { throw null; } + void Framework.ITaskItem.CopyMetadataTo(Framework.ITaskItem destinationItem) { } + string Framework.ITaskItem.GetMetadata(string metadataName) { throw null; } + void Framework.ITaskItem.SetMetadata(string metadataName, string metadataValue) { } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string name) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(System.Collections.Generic.IEnumerable> metadataDictionary) { } + public ProjectMetadataInstance SetMetadata(string name, string evaluatedValue) { throw null; } + public override string ToString() { throw null; } + } + + public partial class ProjectMetadataInstance : System.IEquatable + { + internal ProjectMetadataInstance() { } + public string EvaluatedValue { get { throw null; } } + public string Name { get { throw null; } } + + public ProjectMetadataInstance DeepClone() { throw null; } + bool System.IEquatable.Equals(ProjectMetadataInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectOnErrorInstance : ProjectTargetInstanceChild + { + internal ProjectOnErrorInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ExecuteTargets { get { throw null; } } + public Construction.ElementLocation ExecuteTargetsLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectPropertyGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskPropertyInstance + { + internal ProjectPropertyGroupTaskPropertyInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectPropertyInstance : System.IEquatable + { + internal ProjectPropertyInstance() { } + public string EvaluatedValue { get { throw null; } set { } } + public virtual bool IsImmutable { get { throw null; } } + public string Name { get { throw null; } } + + bool System.IEquatable.Equals(ProjectPropertyInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectTargetInstance + { + internal ProjectTargetInstance() { } + public string AfterTargets { get { throw null; } } + public Construction.ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } } + public Construction.ElementLocation BeforeTargetsLocation { get { throw null; } } + public System.Collections.Generic.IList Children { get { throw null; } } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } } + public Construction.ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string FullPath { get { throw null; } } + public string Inputs { get { throw null; } } + public Construction.ElementLocation InputsLocation { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } } + public Construction.ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList OnErrorChildren { get { throw null; } } + public string Outputs { get { throw null; } } + public Construction.ElementLocation OutputsLocation { get { throw null; } } + public string Returns { get { throw null; } } + public Construction.ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + } + public abstract partial class ProjectTargetInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public string FullPath { get { throw null; } } + public abstract Construction.ElementLocation Location { get; } + } + public sealed partial class ProjectTaskInstance : ProjectTargetInstanceChild + { + internal ProjectTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ContinueOnError { get { throw null; } } + public Construction.ElementLocation ContinueOnErrorLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } } + public Construction.ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } } + public Construction.ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList Outputs { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + } + + public abstract partial class ProjectTaskInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ElementLocation TaskParameterLocation { get; } + } + public sealed partial class ProjectTaskOutputItemInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputItemInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation ItemTypeLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public sealed partial class ProjectTaskOutputPropertyInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputPropertyInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string PropertyName { get { throw null; } } + public Construction.ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public partial class RequestedProjectState + { + public System.Collections.Generic.IDictionary> ItemFilters { get { throw null; } set { } } + public System.Collections.Generic.List PropertyFilters { get { throw null; } set { } } + } + public partial class TargetResult : ITargetResult + { + internal TargetResult() { } + public System.Exception Exception { get { throw null; } } + public Framework.ITaskItem[] Items { get { throw null; } } + public TargetResultCode ResultCode { get { throw null; } } + } + + public enum TargetResultCode : byte + { + Skipped = 0, + Success = 1, + Failure = 2 + } +} + +namespace Microsoft.Build.Experimental +{ + public sealed partial class MSBuildClient + { + public MSBuildClient(string[] commandLine, string msbuildLocation) { } + public MSBuildClientExitResult Execute(System.Threading.CancellationToken cancellationToken) { throw null; } + public static bool ShutdownServer(System.Threading.CancellationToken cancellationToken) { throw null; } + } + public sealed partial class MSBuildClientExitResult + { + public string? MSBuildAppExitTypeString { get { throw null; } set { } } + public MSBuildClientExitType MSBuildClientExitType { get { throw null; } set { } } + } + public enum MSBuildClientExitType + { + Success = 0, + ServerBusy = 1, + UnableToConnect = 2, + LaunchError = 3, + Unexpected = 4, + UnknownServerState = 5 + } + + public sealed partial class OutOfProcServerNode + { + public OutOfProcServerNode(BuildCallback buildFunction) { } + public Execution.NodeEngineShutdownReason Run(out System.Exception? shutdownException) { throw null; } + public delegate (int exitCode, string exitType) BuildCallback(string[] commandLine); + } +} + +namespace Microsoft.Build.Experimental.BuildCheck +{ + public abstract partial class AnalysisData + { + protected AnalysisData(string projectFilePath) { } + public string ProjectFileDirectory { get { throw null; } } + public string ProjectFilePath { get { throw null; } } + } + public abstract partial class BuildAnalyzer : System.IDisposable + { + public abstract string FriendlyName { get; } + public abstract System.Collections.Generic.IReadOnlyList SupportedRules { get; } + + public virtual void Dispose() { } + public abstract void Initialize(ConfigurationContext configurationContext); + public abstract void RegisterActions(IBuildCheckRegistrationContext registrationContext); + } + + public partial class BuildAnalyzerConfiguration + { + public static BuildAnalyzerConfiguration Default { get { throw null; } } + public EvaluationAnalysisScope? EvaluationAnalysisScope { get { throw null; } } + public bool? IsEnabled { get { throw null; } } + public static BuildAnalyzerConfiguration Null { get { throw null; } } + public BuildAnalyzerResultSeverity? Severity { get { throw null; } } + } + public enum BuildAnalyzerResultSeverity + { + Info = 0, + Warning = 1, + Error = 2 + } + + public partial class BuildAnalyzerRule + { + public BuildAnalyzerRule(string id, string title, string description, string messageFormat, BuildAnalyzerConfiguration defaultConfiguration) { } + public BuildAnalyzerConfiguration DefaultConfiguration { get { throw null; } } + public string Description { get { throw null; } } + public string Id { get { throw null; } } + public string MessageFormat { get { throw null; } } + public string Title { get { throw null; } } + } + public partial class BuildCheckDataContext where T : AnalysisData + { + internal BuildCheckDataContext() { } + public T Data { get { throw null; } } + + public void ReportResult(BuildCheckResult result) { } + } + public sealed partial class BuildCheckResult + { + public BuildCheckResult(BuildAnalyzerRule buildAnalyzerRule, Construction.ElementLocation location, string[] messageArgs) { } + public BuildAnalyzerRule BuildAnalyzerRule { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string LocationString { get { throw null; } } + public string[] MessageArgs { get { throw null; } } + public string MessageFormat { get { throw null; } } + + public static BuildCheckResult Create(BuildAnalyzerRule rule, Construction.ElementLocation location, params string[] messageArgs) { throw null; } + public string FormatMessage() { throw null; } + } + public partial class ConfigurationContext + { + internal ConfigurationContext() { } + public System.Collections.Generic.IReadOnlyList CustomConfigurationData { get { throw null; } init { } } + } + public sealed partial class CustomConfigurationData + { + public CustomConfigurationData(string ruleId, System.Collections.Generic.Dictionary properties) { } + public CustomConfigurationData(string ruleId) { } + public System.Collections.Generic.IReadOnlyDictionary? ConfigurationData { get { throw null; } init { } } + public static CustomConfigurationData Null { get { throw null; } } + public string RuleId { get { throw null; } init { } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool NotNull(CustomConfigurationData data) { throw null; } + } + public partial class EvaluatedPropertiesAnalysisData : AnalysisData + { + internal EvaluatedPropertiesAnalysisData() : base(default!) { } + public System.Collections.Generic.IReadOnlyDictionary EvaluatedProperties { get { throw null; } } + } + + public enum EvaluationAnalysisScope + { + ProjectOnly = 0, + ProjectWithImportsFromCurrentWorkTree = 1, + ProjectWithImportsWithoutSdks = 2, + ProjectWithAllImports = 3 + } + + public partial interface IBuildCheckRegistrationContext + { + void RegisterEvaluatedPropertiesAction(System.Action> evaluatedPropertiesAction); + void RegisterParsedItemsAction(System.Action> parsedItemsAction); + void RegisterTaskInvocationAction(System.Action> taskInvocationAction); + } + + public partial class ItemsHolder + { + public ItemsHolder(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEnumerable itemGroups) { } + public System.Collections.Generic.IEnumerable ItemGroups { get { throw null; } } + public System.Collections.Generic.IEnumerable Items { get { throw null; } } + + public System.Collections.Generic.IEnumerable GetItemsOfType(string itemType) { throw null; } + } + public static partial class ItemTypeExtensions + { + public static System.Collections.Generic.IEnumerable GetItemsOfType(this System.Collections.Generic.IEnumerable items, string itemType) { throw null; } + } + public partial class ParsedItemsAnalysisData : AnalysisData + { + internal ParsedItemsAnalysisData() : base(default!) { } + public ItemsHolder ItemsHolder { get { throw null; } } + } + + public sealed partial class TaskInvocationAnalysisData : AnalysisData + { + internal TaskInvocationAnalysisData() : base(default!) { } + public System.Collections.Generic.IReadOnlyDictionary Parameters { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public Construction.ElementLocation TaskInvocationLocation { get { throw null; } } + public string TaskName { get { throw null; } } + + public partial record TaskParameter(object? Value, bool IsOutput) + { + public System.Collections.Generic.IEnumerable EnumerateStringValues() { throw null; } + public System.Collections.Generic.IEnumerable EnumerateValues() { throw null; } + } + } +} + +namespace Microsoft.Build.Experimental.FileAccess +{ + [System.Flags] + [System.CLSCompliant(false)] + public enum DesiredAccess : uint + { + GENERIC_READ = 2147483648U, + FILE_LIST_DIRECTORY = 1U, + FILE_ADD_FILE = 2U, + FILE_WRITE_DATA = 2U, + FILE_ADD_SUBDIRECTORY = 4U, + FILE_APPEND_DATA = 4U, + FILE_READ_EA = 8U, + FILE_WRITE_EA = 16U, + FILE_EXECUTE = 32U, + FILE_DELETE_CHILD = 64U, + FILE_READ_ATTRIBUTES = 128U, + FILE_WRITE_ATTRIBUTES = 256U, + DELETE = 65536U, + SYNCHRONIZE = 1048576U, + GENERIC_ALL = 268435456U, + GENERIC_EXECUTE = 536870912U, + GENERIC_WRITE = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct FileAccessData + { + private object _dummy; + private int _dummyPrimitive; + public FileAccessData(ReportedFileOperation operation, RequestedAccess requestedAccess, uint processId, uint id, uint correlationId, uint error, DesiredAccess desiredAccess, FlagsAndAttributes flagsAndAttributes, string path, string? processArgs, bool isAnAugmentedFileAccess) { } + public uint CorrelationId { get { throw null; } } + public DesiredAccess DesiredAccess { get { throw null; } } + public uint Error { get { throw null; } } + public FlagsAndAttributes FlagsAndAttributes { get { throw null; } } + public uint Id { get { throw null; } } + public bool IsAnAugmentedFileAccess { get { throw null; } } + public ReportedFileOperation Operation { get { throw null; } } + public string Path { get { throw null; } } + public string? ProcessArgs { get { throw null; } } + public uint ProcessId { get { throw null; } } + public RequestedAccess RequestedAccess { get { throw null; } } + } + + [System.Flags] + [System.CLSCompliant(false)] + public enum FlagsAndAttributes : uint + { + FILE_FLAG_WRITE_THROUGH = 2147483648U, + FILE_ATTRIBUTE_READONLY = 1U, + FILE_ATTRIBUTE_HIDDEN = 2U, + FILE_ATTRIBUTE_SYSTEM = 4U, + FILE_ATTRIBUTE_DIRECTORY = 16U, + FILE_ATTRIBUTE_ARCHIVE = 32U, + FILE_ATTRIBUTE_NORMAL = 128U, + FILE_ATTRIBUTE_TEMPORARY = 256U, + FILE_ATTRIBUTE_OFFLINE = 4096U, + FILE_ATTRIBUTE_ENCRYPED = 16384U, + FILE_FLAG_OPEN_NO_RECALL = 1048576U, + FILE_FLAG_OPEN_REPARSE_POINT = 2097152U, + FILE_FLAG_SESSION_AWARE = 8388608U, + FILE_FLAG_POSIX_SEMANTICS = 16777216U, + FILE_FLAG_BACKUP_SEMANTICS = 33554432U, + FILE_FLAG_DELETE_ON_CLOSE = 67108864U, + FILE_FLAG_SEQUENTIAL_SCAN = 134217728U, + FILE_FLAG_RANDOM_ACCESS = 268435456U, + FILE_FLAG_NO_BUFFERING = 536870912U, + FILE_FLAG_OVERLAPPED = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct ProcessData + { + private object _dummy; + private int _dummyPrimitive; + public ProcessData(string processName, uint processId, uint parentProcessId, System.DateTime creationDateTime, System.DateTime exitDateTime, uint exitCode) { } + public System.DateTime CreationDateTime { get { throw null; } } + public uint ExitCode { get { throw null; } } + public System.DateTime ExitDateTime { get { throw null; } } + public uint ParentProcessId { get { throw null; } } + public uint ProcessId { get { throw null; } } + public string ProcessName { get { throw null; } } + } + + public enum ReportedFileOperation : byte + { + Unknown = 0, + CreateFile = 1, + CreateProcess = 2, + GetFileAttributes = 3, + GetFileAttributesEx = 4, + Process = 5, + FindFirstFileEx = 6, + FindNextFile = 7, + CreateDirectory = 8, + DeleteFile = 9, + MoveFileSource = 10, + MoveFileDestination = 11, + SetFileInformationByHandleSource = 12, + SetFileInformationByHandleDest = 13, + ZwSetRenameInformationFileSource = 14, + ZwSetRenameInformationFileDest = 15, + ZwSetLinkInformationFile = 16, + ZwSetDispositionInformationFile = 17, + ZwSetModeInformationFile = 18, + ZwSetFileNameInformationFileSource = 19, + ZwSetFileNameInformationFileDest = 20, + CopyFileSource = 21, + CopyFileDestination = 22, + CreateHardLinkSource = 23, + CreateHardLinkDestination = 24, + RemoveDirectory = 25, + RemoveDirectorySource = 26, + NtQueryDirectoryFile = 27, + ZwQueryDirectoryFile = 28, + NtCreateFile = 29, + ZwCreateFile = 30, + ZwOpenFile = 31, + ChangedReadWriteToReadAccess = 32, + FirstAllowWriteCheckInProcess = 33, + StaticallyLinkedProcess = 34, + ReparsePointTarget = 35, + ReparsePointTargetCached = 36, + CreateSymbolicLinkSource = 37, + MoveFileWithProgressSource = 38, + MoveFileWithProgressDest = 39, + MultipleOperations = 40, + ProcessExit = 41, + MacLookup = 42, + MacReadlink = 43, + MacVNodeCreate = 44, + KAuthMoveSource = 45, + KAuthMoveDest = 46, + KAuthCreateHardlinkSource = 47, + KAuthCreateHardlinkDest = 48, + KAuthCopySource = 49, + KAuthCopyDest = 50, + KAuthDeleteDir = 51, + KAuthDeleteFile = 52, + KAuthOpenDir = 53, + KAuthReadFile = 54, + KAuthCreateDir = 55, + KAuthWriteFile = 56, + KAuthClose = 57, + KAuthCloseModified = 58, + KAuthGetAttributes = 59, + KAuthVNodeExecute = 60, + KAuthVNodeWrite = 61, + KAuthVNodeRead = 62, + KAuthVNodeProbe = 63, + MacVNodeWrite = 64, + MacVNodeCloneSource = 65, + MacVNodeCloneDest = 66 + } + + [System.Flags] + public enum RequestedAccess : byte + { + None = 0, + Read = 1, + Write = 2, + ReadWrite = 3, + Probe = 4, + Enumerate = 8, + EnumerationProbe = 16, + All = 31 + } +} + +namespace Microsoft.Build.Experimental.ProjectCache +{ + public partial class CacheContext + { + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, System.Collections.Generic.IReadOnlyCollection requestedTargets, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public FileSystem.MSBuildFileSystemBase FileSystem { get { throw null; } } + public Graph.ProjectGraph? Graph { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection? GraphEntryPoints { get { throw null; } } + public string? MSBuildExePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection RequestedTargets { get { throw null; } } + } + public partial class CacheResult + { + internal CacheResult() { } + public Execution.BuildResult? BuildResult { get { throw null; } } + public ProxyTargets? ProxyTargets { get { throw null; } } + public CacheResultType ResultType { get { throw null; } } + + public static CacheResult IndicateCacheHit(Execution.BuildResult buildResult) { throw null; } + public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets) { throw null; } + public static CacheResult IndicateCacheHit(System.Collections.Generic.IReadOnlyCollection targetResults) { throw null; } + public static CacheResult IndicateNonCacheHit(CacheResultType resultType) { throw null; } + } + public enum CacheResultType + { + None = 0, + CacheHit = 1, + CacheMiss = 2, + CacheNotApplicable = 3 + } + + public readonly partial struct FileAccessContext + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FileAccessContext(string projectFullPath, System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IReadOnlyList targets) { } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Targets { get { throw null; } } + } + + public abstract partial class PluginLoggerBase + { + public abstract bool HasLoggedErrors { get; protected set; } + + public abstract void LogError(string error); + public abstract void LogMessage(string message, Framework.MessageImportance? messageImportance = null); + public abstract void LogWarning(string warning); + } + public readonly partial struct PluginTargetResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PluginTargetResult(string targetName, System.Collections.Generic.IReadOnlyCollection taskItems, Execution.BuildResultCode resultCode) { } + public Execution.BuildResultCode ResultCode { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection TaskItems { get { throw null; } } + } + + public partial class ProjectCacheDescriptor + { + internal ProjectCacheDescriptor() { } + public string? PluginAssemblyPath { get { throw null; } } + public ProjectCachePluginBase? PluginInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + + public static ProjectCacheDescriptor FromAssemblyPath(string pluginAssemblyPath, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + public static ProjectCacheDescriptor FromInstance(ProjectCachePluginBase pluginInstance, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + } + public sealed partial class ProjectCacheException : Framework.BuildException.BuildExceptionBase + { + internal ProjectCacheException() { } + public string ErrorCode { get { throw null; } } + public bool HasBeenLoggedByProjectCache { get { throw null; } } + } + + public abstract partial class ProjectCachePluginBase + { + public abstract System.Threading.Tasks.Task BeginBuildAsync(CacheContext context, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task EndBuildAsync(PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task GetCacheResultAsync(Execution.BuildRequestData buildRequest, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + [System.CLSCompliant(false)] + public virtual void HandleFileAccess(FileAccessContext fileAccessContext, FileAccess.FileAccessData fileAccessData) { } + [System.CLSCompliant(false)] + public virtual void HandleProcess(FileAccessContext fileAccessContext, FileAccess.ProcessData processData) { } + public virtual System.Threading.Tasks.Task HandleProjectFinishedAsync(FileAccessContext fileAccessContext, Execution.BuildResult buildResult, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public partial class ProxyTargets + { + public ProxyTargets(System.Collections.Generic.IReadOnlyDictionary proxyTargetToRealTargetMap) { } + public System.Collections.Generic.IReadOnlyDictionary ProxyTargetToRealTargetMap { get { throw null; } } + } +} + +namespace Microsoft.Build.FileSystem +{ + public delegate bool FindPredicate(ref System.ReadOnlySpan fileName); + public delegate TResult FindTransform(ref System.ReadOnlySpan fileName); + public partial interface IDirectoryCache + { + bool DirectoryExists(string path); + System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string pattern, FindPredicate predicate, FindTransform transform); + System.Collections.Generic.IEnumerable EnumerateFiles(string path, string pattern, FindPredicate predicate, FindTransform transform); + bool FileExists(string path); + } + + public partial interface IDirectoryCacheFactory + { + IDirectoryCache GetDirectoryCacheForEvaluation(int evaluationId); + } + + public abstract partial class MSBuildFileSystemBase + { + public virtual bool DirectoryExists(string path) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFiles(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFileSystemEntries(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual bool FileExists(string path) { throw null; } + public virtual bool FileOrDirectoryExists(string path) { throw null; } + public virtual System.IO.FileAttributes GetAttributes(string path) { throw null; } + public virtual System.IO.Stream GetFileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; } + public virtual System.DateTime GetLastWriteTimeUtc(string path) { throw null; } + public virtual System.IO.TextReader ReadFile(string path) { throw null; } + public virtual byte[] ReadFileAllBytes(string path) { throw null; } + public virtual string ReadFileAllText(string path) { throw null; } + } +} + +namespace Microsoft.Build.Globbing +{ + public partial class CompositeGlob : IMSBuildGlob + { + public CompositeGlob(params IMSBuildGlob[] globs) { } + public CompositeGlob(System.Collections.Generic.IEnumerable globs) { } + public System.Collections.Generic.IEnumerable Globs { get { throw null; } } + + public static IMSBuildGlob Create(System.Collections.Generic.IEnumerable globs) { throw null; } + public bool IsMatch(string stringToMatch) { throw null; } + } + + public partial interface IMSBuildGlob + { + bool IsMatch(string stringToMatch); + } + + public partial class MSBuildGlob : IMSBuildGlob + { + internal MSBuildGlob() { } + public string FilenamePart { get { throw null; } } + public string FixedDirectoryPart { get { throw null; } } + public bool IsLegal { get { throw null; } } + public string WildcardDirectoryPart { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + public MatchInfoResult MatchInfo(string stringToMatch) { throw null; } + public static MSBuildGlob Parse(string globRoot, string fileSpec) { throw null; } + public static MSBuildGlob Parse(string fileSpec) { throw null; } + public readonly partial struct MatchInfoResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string FilenamePartMatchGroup { get { throw null; } } + public string FixedDirectoryPartMatchGroup { get { throw null; } } + public bool IsMatch { get { throw null; } } + public string WildcardDirectoryPartMatchGroup { get { throw null; } } + } + } + + public partial class MSBuildGlobWithGaps : IMSBuildGlob + { + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, params IMSBuildGlob[] gaps) { } + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, System.Collections.Generic.IEnumerable gaps) { } + public IMSBuildGlob Gaps { get { throw null; } } + public IMSBuildGlob MainGlob { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + } +} + +namespace Microsoft.Build.Globbing.Extensions +{ + public static partial class MSBuildGlobExtensions + { + public static System.Collections.Generic.IEnumerable GetParsedGlobs(this IMSBuildGlob glob) { throw null; } + } +} + +namespace Microsoft.Build.Graph +{ + public partial record GraphBuildOptions() + { + public bool Build { get { throw null; } init { } } + } + public sealed partial class GraphBuildRequestData + { + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices, Execution.BuildRequestDataFlags flags) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices, Execution.BuildRequestDataFlags flags) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices, Execution.BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices, Execution.BuildRequestDataFlags flags) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices, Execution.BuildRequestDataFlags flags) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices hostServices) { } + public Execution.BuildRequestDataFlags Flags { get { throw null; } } + public GraphBuildOptions GraphBuildOptions { get { throw null; } } + public Execution.HostServices HostServices { get { throw null; } } + public ProjectGraph ProjectGraph { get { throw null; } } + public System.Collections.Generic.IEnumerable ProjectGraphEntryPoints { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + public sealed partial class GraphBuildResult + { + internal GraphBuildResult() { } + public bool CircularDependency { get { throw null; } } + public System.Exception Exception { get { throw null; } } + + public Execution.BuildResult this[ProjectGraphNode node] { get { throw null; } } + + public Execution.BuildResultCode OverallResult { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ResultsByNode { get { throw null; } } + public int SubmissionId { get { throw null; } } + } + public partial class GraphBuildSubmission + { + internal GraphBuildSubmission() { } + public object AsyncContext { get { throw null; } } + public Execution.BuildManager BuildManager { get { throw null; } } + public GraphBuildResult BuildResult { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + public GraphBuildResult Execute() { throw null; } + public void ExecuteAsync(GraphBuildSubmissionCompleteCallback callback, object context) { } + } + public delegate void GraphBuildSubmissionCompleteCallback(GraphBuildSubmission submission); + public sealed partial class ProjectGraph + { + public ProjectGraph(ProjectGraphEntryPoint entryPoint, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(ProjectGraphEntryPoint entryPoint) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, int degreeOfParallelism, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(string entryProjectFile) { } + public GraphConstructionMetrics ConstructionMetrics { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection EntryPointNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection GraphRoots { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodesTopologicallySorted { get { throw null; } } + + public System.Collections.Generic.IReadOnlyDictionary> GetTargetLists(System.Collections.Generic.ICollection entryProjectTargets) { throw null; } + public readonly partial struct GraphConstructionMetrics + { + private readonly int _dummyPrimitive; + public GraphConstructionMetrics(System.TimeSpan constructionTime, int nodeCount, int edgeCount) { } + public System.TimeSpan ConstructionTime { get { throw null; } } + public int EdgeCount { get { throw null; } } + public int NodeCount { get { throw null; } } + } + + public delegate Execution.ProjectInstance ProjectInstanceFactoryFunc(string projectPath, System.Collections.Generic.Dictionary globalProperties, Evaluation.ProjectCollection projectCollection); + } + public partial struct ProjectGraphEntryPoint + { + private object _dummy; + private int _dummyPrimitive; + public ProjectGraphEntryPoint(string projectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraphEntryPoint(string projectFile) { } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public string ProjectFile { get { throw null; } } + } + + public sealed partial class ProjectGraphNode + { + internal ProjectGraphNode() { } + public Execution.ProjectInstance ProjectInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectReferences { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ReferencingProjects { get { throw null; } } + } +} + +namespace Microsoft.Build.Logging +{ + public abstract partial class ArchiveData : System.IDisposable + { + internal ArchiveData() { } + public string FullPath { get { throw null; } } + + public virtual void Dispose() { } + public abstract ArchiveFile ToArchiveFile(); + } + + public sealed partial class ArchiveFile : ArchiveData + { + public ArchiveFile(string fullPath, string content) { } + public string Content { get { throw null; } } + + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class ArchiveFileEventArgs : System.EventArgs + { + public ArchiveFileEventArgs(ArchiveData archiveData) { } + public ArchiveData ArchiveData { get { throw null; } set { } } + } + + public static partial class ArchiveFileEventArgsExtensions + { + public static System.Action ToArchiveFileHandler(this System.Action stringHandler) { throw null; } + } + public sealed partial class ArchiveStream : ArchiveData + { + public ArchiveStream(string fullPath, System.IO.StreamReader contentReader) { } + public System.IO.StreamReader ContentReader { get { throw null; } } + + public override void Dispose() { } + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class BinaryLogger : Framework.ILogger + { + public ProjectImportsCollectionMode CollectProjectImports { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + public enum ProjectImportsCollectionMode + { + None = 0, + Embed = 1, + ZipFile = 2 + } + } + + public sealed partial class BinaryLogReaderErrorEventArgs : System.EventArgs + { + internal BinaryLogReaderErrorEventArgs() { } + public ReaderErrorType ErrorType { get { throw null; } } + public BinaryLogRecordKind RecordKind { get { throw null; } } + + public string GetFormattedMessage() { throw null; } + } + + public enum BinaryLogRecordKind + { + EndOfFile = 0, + BuildStarted = 1, + BuildFinished = 2, + ProjectStarted = 3, + ProjectFinished = 4, + TargetStarted = 5, + TargetFinished = 6, + TaskStarted = 7, + TaskFinished = 8, + Error = 9, + Warning = 10, + Message = 11, + TaskCommandLine = 12, + CriticalBuildMessage = 13, + ProjectEvaluationStarted = 14, + ProjectEvaluationFinished = 15, + ProjectImported = 16, + ProjectImportArchive = 17, + TargetSkipped = 18, + PropertyReassignment = 19, + UninitializedPropertyRead = 20, + EnvironmentVariableRead = 21, + PropertyInitialValueSet = 22, + NameValueList = 23, + String = 24, + TaskParameter = 25, + ResponseFileUsed = 26, + AssemblyLoad = 27 + } + + public sealed partial class BinaryLogReplayEventSource : EventArgsDispatcher, Framework.IEventSource, IBuildEventArgsReaderNotifications + { + public bool AllowForwardCompatibility { init { } } + public int FileFormatVersion { get { throw null; } } + public int MinimumReaderVersion { get { throw null; } } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public static BuildEventArgsReader OpenBuildEventsReader(System.IO.BinaryReader binaryReader, bool closeInput, bool allowForwardCompatibility = false) { throw null; } + public static BuildEventArgsReader OpenBuildEventsReader(string sourceFilePath) { throw null; } + public static System.IO.BinaryReader OpenReader(System.IO.Stream sourceFileStream) { throw null; } + public static System.IO.BinaryReader OpenReader(string sourceFilePath) { throw null; } + public void Replay(BuildEventArgsReader reader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, bool closeInput, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.Stream sourceFileStream, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath) { } + } + + public partial class BuildEventArgsReader : IBuildEventArgsReaderNotifications, System.IDisposable + { + public BuildEventArgsReader(System.IO.BinaryReader binaryReader, int fileFormatVersion) { } + public bool CloseInput { set { } } + public bool SkipUnknownEventParts { set { } } + public bool SkipUnknownEvents { set { } } + + public event System.Action? ArchiveFileEncountered { + add { } + remove { } + } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public event System.Action? StringReadDone { + add { } + remove { } + } + + public void Dispose() { } + public Framework.BuildEventArgs? Read() { throw null; } + } + + public delegate void ColorResetter(); + public delegate void ColorSetter(System.ConsoleColor color); + public partial class ConfigurableForwardingLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector? BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + protected virtual void ForwardToCentralLogger(Framework.BuildEventArgs e) { } + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public virtual void Shutdown() { } + } + + public partial class ConsoleLogger : Framework.INodeLogger, Framework.ILogger + { + public ConsoleLogger() { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity, WriteHandler write, ColorSetter colorSet, ColorResetter colorReset) { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity) { } + public string Parameters { get { throw null; } set { } } + public bool ShowSummary { get { throw null; } set { } } + public bool SkipProjectStartedText { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + protected WriteHandler WriteHandler { get { throw null; } set { } } + + public void ApplyParameter(string parameterName, string parameterValue) { } + public void BuildFinishedHandler(object sender, Framework.BuildFinishedEventArgs e) { } + public void BuildStartedHandler(object sender, Framework.BuildStartedEventArgs e) { } + public void CustomEventHandler(object sender, Framework.CustomBuildEventArgs e) { } + public void ErrorHandler(object sender, Framework.BuildErrorEventArgs e) { } + public virtual void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public void MessageHandler(object sender, Framework.BuildMessageEventArgs e) { } + public void ProjectFinishedHandler(object sender, Framework.ProjectFinishedEventArgs e) { } + public void ProjectStartedHandler(object sender, Framework.ProjectStartedEventArgs e) { } + public virtual void Shutdown() { } + public void TargetFinishedHandler(object sender, Framework.TargetFinishedEventArgs e) { } + public void TargetStartedHandler(object sender, Framework.TargetStartedEventArgs e) { } + public void TaskFinishedHandler(object sender, Framework.TaskFinishedEventArgs e) { } + public void TaskStartedHandler(object sender, Framework.TaskStartedEventArgs e) { } + public void WarningHandler(object sender, Framework.BuildWarningEventArgs e) { } + } + + public partial class DistributedFileLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public partial class EventArgsDispatcher : Framework.IEventSource + { + public event Framework.AnyEventHandler AnyEventRaised { + add { } + remove { } + } + + public event Framework.BuildFinishedEventHandler BuildFinished { + add { } + remove { } + } + + public event Framework.BuildStartedEventHandler BuildStarted { + add { } + remove { } + } + + public event Framework.CustomBuildEventHandler CustomEventRaised { + add { } + remove { } + } + + public event Framework.BuildErrorEventHandler ErrorRaised { + add { } + remove { } + } + + public event Framework.BuildMessageEventHandler MessageRaised { + add { } + remove { } + } + + public event Framework.ProjectFinishedEventHandler ProjectFinished { + add { } + remove { } + } + + public event Framework.ProjectStartedEventHandler ProjectStarted { + add { } + remove { } + } + + public event Framework.BuildStatusEventHandler StatusEventRaised { + add { } + remove { } + } + + public event Framework.TargetFinishedEventHandler TargetFinished { + add { } + remove { } + } + + public event Framework.TargetStartedEventHandler TargetStarted { + add { } + remove { } + } + + public event Framework.TaskFinishedEventHandler TaskFinished { + add { } + remove { } + } + + public event Framework.TaskStartedEventHandler TaskStarted { + add { } + remove { } + } + + public event Framework.BuildWarningEventHandler WarningRaised { + add { } + remove { } + } + + public void Dispatch(Framework.BuildEventArgs buildEvent) { } + } + + public partial class FileLogger : ConsoleLogger + { + public override void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public override void Initialize(Framework.IEventSource eventSource) { } + public override void Shutdown() { } + } + + public partial class ForwardingLoggerRecord + { + public ForwardingLoggerRecord(Framework.ILogger centralLogger, LoggerDescription forwardingLoggerDescription) { } + public Framework.ILogger CentralLogger { get { throw null; } } + public LoggerDescription ForwardingLoggerDescription { get { throw null; } } + } + public partial interface IBuildEventArgsReaderNotifications + { + event System.Action? ArchiveFileEncountered; + event System.Action? RecoverableReadError; + event System.Action? StringReadDone; + } + + public partial class LoggerDescription + { + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity, bool isOptional) { } + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity) { } + public bool IsOptional { get { throw null; } } + public string LoggerSwitchParameters { get { throw null; } } + public string Name { get { throw null; } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } } + + public Framework.ILogger CreateLogger() { throw null; } + } + public sealed partial class ProfilerLogger : Framework.ILogger + { + public ProfilerLogger(string fileToLog) { } + public string FileToLog { get { throw null; } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public enum ReaderErrorType + { + UnknownEventType = 0, + UnknownEventData = 1, + UnknownFormatOfEventData = 2 + } + + public sealed partial class StringReadEventArgs : System.EventArgs + { + public StringReadEventArgs(string str) { } + public string OriginalString { get { throw null; } } + public string StringToBeUsed { get { throw null; } set { } } + } + + public delegate void WriteHandler(string message); +} + +namespace Microsoft.Build.Logging.SimpleErrorLogger +{ + public sealed partial class SimpleErrorLogger : Framework.INodeLogger, Framework.ILogger + { + public bool HasLoggedErrors { get { throw null; } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } +} + +namespace Microsoft.Build.ObjectModelRemoting +{ + public abstract partial class ExternalProjectsProvider + { + public virtual void Disconnected(Evaluation.ProjectCollection collection) { } + public abstract System.Collections.Generic.ICollection GetLoadedProjects(string filePath); + public static void SetExternalProjectsProvider(Evaluation.ProjectCollection collection, ExternalProjectsProvider link) { } + } + public partial class LinkedObjectsFactory + { + internal LinkedObjectsFactory() { } + public Evaluation.ProjectCollection Collection { get { throw null; } } + + public Evaluation.ResolvedImport Create(Construction.ProjectImportElement importingElement, Construction.ProjectRootElement importedProject, int versionEvaluated, Framework.SdkResult sdkResult, bool isImported) { throw null; } + public Construction.ProjectChooseElement Create(ProjectChooseElementLink link) { throw null; } + public Construction.ProjectExtensionsElement Create(ProjectExtensionsElementLink link) { throw null; } + public Construction.ProjectImportElement Create(ProjectImportElementLink link) { throw null; } + public Construction.ProjectImportGroupElement Create(ProjectImportGroupElementLink link) { throw null; } + public Construction.ProjectItemDefinitionElement Create(ProjectItemDefinitionElementLink link) { throw null; } + public Construction.ProjectItemDefinitionGroupElement Create(ProjectItemDefinitionGroupElementLink link) { throw null; } + public Evaluation.ProjectItemDefinition Create(ProjectItemDefinitionLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectItemElement Create(ProjectItemElementLink link) { throw null; } + public Construction.ProjectItemGroupElement Create(ProjectItemGroupElementLink link) { throw null; } + public Evaluation.ProjectItem Create(ProjectItemLink link, Evaluation.Project project = null, Construction.ProjectItemElement xml = null) { throw null; } + public Evaluation.Project Create(ProjectLink link) { throw null; } + public Construction.ProjectMetadataElement Create(ProjectMetadataElementLink link) { throw null; } + public Evaluation.ProjectMetadata Create(ProjectMetadataLink link, object parent = null) { throw null; } + public Construction.ProjectOnErrorElement Create(ProjectOnErrorElementLink link) { throw null; } + public Construction.ProjectOtherwiseElement Create(ProjectOtherwiseElementLink link) { throw null; } + public Construction.ProjectOutputElement Create(ProjectOutputElementLink link) { throw null; } + public Construction.ProjectPropertyElement Create(ProjectPropertyElementLink link) { throw null; } + public Construction.ProjectPropertyGroupElement Create(ProjectPropertyGroupElementLink link) { throw null; } + public Evaluation.ProjectProperty Create(ProjectPropertyLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectRootElement Create(ProjectRootElementLink link) { throw null; } + public Construction.ProjectSdkElement Create(ProjectSdkElementLink link) { throw null; } + public Construction.ProjectTargetElement Create(ProjectTargetElementLink link) { throw null; } + public Construction.ProjectTaskElement Create(ProjectTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskBodyElement Create(ProjectUsingTaskBodyElementLink link) { throw null; } + public Construction.ProjectUsingTaskElement Create(ProjectUsingTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskParameterElement Create(ProjectUsingTaskParameterElementLink link) { throw null; } + public Construction.ProjectWhenElement Create(ProjectWhenElementLink link) { throw null; } + public Construction.UsingTaskParameterGroupElement Create(UsingTaskParameterGroupElementLink link) { throw null; } + public static LinkedObjectsFactory Get(Evaluation.ProjectCollection collection) { throw null; } + public static object GetLink(object obj) { throw null; } + public static System.Collections.Generic.IReadOnlyCollection GetLocalProjects(Evaluation.ProjectCollection collection, string projectFile = null) { throw null; } + public static bool IsLocal(object obj) { throw null; } + } + public abstract partial class ProjectChooseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectElementContainerLink : ProjectElementLink + { + public abstract int Count { get; } + public abstract Construction.ProjectElement FirstChild { get; } + public abstract Construction.ProjectElement LastChild { get; } + + public abstract void AddInitialChild(Construction.ProjectElement child); + public static void AddInitialChild(Construction.ProjectElementContainer xml, Construction.ProjectElement child) { } + public static Construction.ProjectElementContainer DeepClone(Construction.ProjectElementContainer xml, Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent) { throw null; } + public abstract Construction.ProjectElementContainer DeepClone(Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent); + public abstract void InsertAfterChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void InsertBeforeChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void RemoveChild(Construction.ProjectElement child); + } + + public abstract partial class ProjectElementLink + { + public abstract System.Collections.Generic.IReadOnlyCollection Attributes { get; } + public abstract Construction.ProjectRootElement ContainingProject { get; } + public abstract string ElementName { get; } + public abstract bool ExpressedAsAttribute { get; set; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ProjectElement NextSibling { get; } + public abstract string OuterElement { get; } + public abstract Construction.ProjectElementContainer Parent { get; } + public abstract Construction.ProjectElement PreviousSibling { get; } + public abstract string PureText { get; } + + public abstract void CopyFrom(Construction.ProjectElement element); + public static Construction.ProjectElement CreateNewInstance(Construction.ProjectElement xml, Construction.ProjectRootElement owner) { throw null; } + public abstract Construction.ProjectElement CreateNewInstance(Construction.ProjectRootElement owner); + public static Construction.ElementLocation GetAttributeLocation(Construction.ProjectElement xml, string attributeName) { throw null; } + public abstract Construction.ElementLocation GetAttributeLocation(string attributeName); + public static System.Collections.Generic.IReadOnlyCollection GetAttributes(Construction.ProjectElement xml) { throw null; } + public static string GetAttributeValue(Construction.ProjectElement xml, string attributeName, bool nullIfNotExists) { throw null; } + public abstract string GetAttributeValue(string attributeName, bool nullIfNotExists); + public static bool GetExpressedAsAttribute(Construction.ProjectElement xml) { throw null; } + public static string GetPureText(Construction.ProjectElement xml) { throw null; } + public static void MarkDirty(Construction.ProjectElement xml, string reason, string param) { } + public static void SetExpressedAsAttribute(Construction.ProjectElement xml, bool value) { } + public static void SetOrRemoveAttribute(Construction.ProjectElement xml, string name, string value, bool clearAttributeCache, string reason, string param) { } + public abstract void SetOrRemoveAttribute(string name, string value, bool clearAttributeCache, string reason, string param); + } + public abstract partial class ProjectExtensionsElementLink : ProjectElementLink + { + public abstract string Content { get; set; } + + public abstract string GetSubElement(string name); + public abstract void SetSubElement(string name, string value); + } + + public abstract partial class ProjectImportElementLink : ProjectElementLink + { + public abstract Construction.ImplicitImportLocation ImplicitImportLocation { get; } + public abstract Construction.ProjectElement OriginalElement { get; } + } + + public abstract partial class ProjectImportGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionLink + { + public abstract string ItemType { get; } + public abstract System.Collections.Generic.ICollection Metadata { get; } + public abstract Evaluation.Project Project { get; } + + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue); + } + public abstract partial class ProjectItemElementLink : ProjectElementContainerLink + { + public abstract void ChangeItemType(string newType); + } + + public abstract partial class ProjectItemGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemLink + { + public abstract System.Collections.Generic.ICollection DirectMetadata { get; } + public abstract string EvaluatedInclude { get; } + public abstract System.Collections.Generic.ICollection MetadataCollection { get; } + public abstract Evaluation.Project Project { get; } + public abstract Construction.ProjectItemElement Xml { get; } + + public abstract void ChangeItemType(string newItemType); + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract bool HasMetadata(string name); + public abstract bool RemoveMetadata(string name); + public abstract void Rename(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems); + } + public abstract partial class ProjectLink + { + public abstract System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedItems { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedProperties { get; } + public abstract System.Collections.Generic.IDictionary> ConditionedProperties { get; } + public abstract bool DisableMarkDirty { get; set; } + public abstract System.Collections.Generic.IDictionary GlobalProperties { get; } + public abstract System.Collections.Generic.IList Imports { get; } + public abstract System.Collections.Generic.IList ImportsIncludingDuplicates { get; } + public abstract bool IsBuildEnabled { get; set; } + public abstract bool IsDirty { get; } + public abstract System.Collections.Generic.IDictionary ItemDefinitions { get; } + public abstract System.Collections.Generic.ICollection Items { get; } + public abstract System.Collections.Generic.ICollection ItemsIgnoringCondition { get; } + public abstract System.Collections.Generic.ICollection ItemTypes { get; } + public abstract int LastEvaluationId { get; } + public abstract System.Collections.Generic.ICollection Properties { get; } + public abstract bool SkipEvaluation { get; set; } + public abstract string SubToolsetVersion { get; } + public abstract System.Collections.Generic.IDictionary Targets { get; } + public abstract bool ThrowInsteadOfSplittingItemElement { get; set; } + public abstract string ToolsVersion { get; } + public abstract Construction.ProjectRootElement Xml { get; } + + public abstract System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Evaluation.Context.EvaluationContext evaluationContext); + public abstract Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Evaluation.Context.EvaluationContext evaluationContext); + public abstract string ExpandString(string unexpandedValue); + public abstract System.Collections.Generic.List GetAllGlobs(Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetAllGlobs(string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(Evaluation.ProjectItem item, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.ICollection GetItems(string itemType); + public abstract System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude); + public abstract System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType); + public abstract System.Collections.Generic.IEnumerable GetLogicalProject(); + public abstract Evaluation.ProjectProperty GetProperty(string name); + public abstract string GetPropertyValue(string name); + public virtual bool GlobalPropertiesContains(string key) { throw null; } + public virtual int GlobalPropertiesCount() { throw null; } + public virtual System.Collections.Generic.IEnumerable> GlobalPropertiesEnumerable() { throw null; } + public abstract void MarkDirty(); + public abstract void ReevaluateIfNecessary(Evaluation.Context.EvaluationContext evaluationContext); + public abstract bool RemoveGlobalProperty(string name); + public abstract bool RemoveItem(Evaluation.ProjectItem item); + public abstract void RemoveItems(System.Collections.Generic.IEnumerable items); + public abstract bool RemoveProperty(Evaluation.ProjectProperty property); + public abstract void SaveLogicalProject(System.IO.TextWriter writer); + public abstract bool SetGlobalProperty(string name, string escapedValue); + public abstract Evaluation.ProjectProperty SetProperty(string name, string unevaluatedValue); + public abstract void Unload(); + } + public abstract partial class ProjectMetadataElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectMetadataLink + { + public abstract string EvaluatedValueEscaped { get; } + public abstract object Parent { get; } + public abstract Evaluation.ProjectMetadata Predecessor { get; } + public abstract Construction.ProjectMetadataElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectMetadata metadata) { throw null; } + public static object GetParent(Evaluation.ProjectMetadata metadata) { throw null; } + } + public abstract partial class ProjectOnErrorElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectOtherwiseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectOutputElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectPropertyElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectPropertyGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectPropertyLink + { + public abstract string EvaluatedIncludeEscaped { get; } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public abstract string Name { get; } + public abstract Evaluation.ProjectProperty Predecessor { get; } + public abstract Evaluation.Project Project { get; } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectProperty property) { throw null; } + } + public abstract partial class ProjectRootElementLink : ProjectElementContainerLink + { + public abstract string DirectoryPath { get; } + public abstract System.Text.Encoding Encoding { get; } + public abstract string FullPath { get; set; } + public abstract bool HasUnsavedChanges { get; } + public abstract System.DateTime LastWriteTimeWhenRead { get; } + public abstract bool PreserveFormatting { get; } + public abstract Construction.ElementLocation ProjectFileLocation { get; } + public abstract string RawXml { get; } + public abstract System.DateTime TimeLastChanged { get; } + public abstract int Version { get; } + + public abstract Construction.ProjectChooseElement CreateChooseElement(); + public abstract Construction.ProjectImportElement CreateImportElement(string project); + public abstract Construction.ProjectImportGroupElement CreateImportGroupElement(); + public abstract Construction.ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType); + public abstract Construction.ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement(); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType, string include); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType); + public abstract Construction.ProjectItemGroupElement CreateItemGroupElement(); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name); + public abstract Construction.ProjectOnErrorElement CreateOnErrorElement(string executeTargets); + public abstract Construction.ProjectOtherwiseElement CreateOtherwiseElement(); + public abstract Construction.ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName); + public abstract Construction.ProjectExtensionsElement CreateProjectExtensionsElement(); + public abstract Construction.ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion); + public abstract Construction.ProjectPropertyElement CreatePropertyElement(string name); + public abstract Construction.ProjectPropertyGroupElement CreatePropertyGroupElement(); + public abstract Construction.ProjectTargetElement CreateTargetElement(string name); + public abstract Construction.ProjectTaskElement CreateTaskElement(string name); + public abstract Construction.ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body); + public abstract Construction.ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture); + public abstract Construction.ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType); + public abstract Construction.UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement(); + public abstract Construction.ProjectWhenElement CreateWhenElement(string condition); + public abstract void MarkDirty(string reason, string param); + public abstract void ReloadFrom(string path, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void Save(System.IO.TextWriter writer); + public abstract void Save(System.Text.Encoding saveEncoding); + } + + public abstract partial class ProjectSdkElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectTargetElementLink : ProjectElementContainerLink + { + public abstract string Name { get; set; } + public abstract string Returns { set; } + } + + public abstract partial class ProjectTaskElementLink : ProjectElementContainerLink + { + public abstract System.Collections.Generic.IEnumerable> ParameterLocations { get; } + public abstract System.Collections.Generic.IDictionary Parameters { get; } + + public abstract string GetParameter(string name); + public abstract void RemoveAllParameters(); + public abstract void RemoveParameter(string name); + public abstract void SetParameter(string name, string unevaluatedValue); + } + + public abstract partial class ProjectUsingTaskBodyElementLink : ProjectElementLink + { + public abstract string TaskBody { get; set; } + } + + public abstract partial class ProjectUsingTaskElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectUsingTaskParameterElementLink : ProjectElementLink + { + public abstract string Name { get; set; } + } + + public abstract partial class ProjectWhenElementLink : ProjectElementContainerLink + { + } + + public abstract partial class UsingTaskParameterGroupElementLink : ProjectElementContainerLink + { + } + + public partial struct XmlAttributeLink + { + private object _dummy; + private int _dummyPrimitive; + public XmlAttributeLink(string localName, string value, string namespaceUri) { } + public string LocalName { get { throw null; } } + public string NamespaceURI { get { throw null; } } + public string Value { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.12.50/Customizations.cs b/src/referencePackages/src/microsoft.build/17.12.50/Customizations.cs new file mode 100644 index 0000000000..7cba5168c9 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.12.50/Customizations.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual additions to address missing interface members +// The generator doesn't properly emit all IBuildEventArgsReaderNotifications members +namespace Microsoft.Build.Logging +{ + public sealed partial class BinaryLogReplayEventSource + { + public event System.Action? ArchiveFileEncountered + { + add { } + remove { } + } + + public event System.Action? StringReadDone + { + add { } + remove { } + } + } +} diff --git a/src/referencePackages/src/microsoft.build/17.12.50/Microsoft.Build.17.12.50.csproj b/src/referencePackages/src/microsoft.build/17.12.50/Microsoft.Build.17.12.50.csproj new file mode 100644 index 0000000000..e74da0d1ca --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.12.50/Microsoft.Build.17.12.50.csproj @@ -0,0 +1,18 @@ + + + + net9.0 + 17.12.50 + Microsoft.Build + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build/17.12.50/microsoft.build.nuspec b/src/referencePackages/src/microsoft.build/17.12.50/microsoft.build.nuspec new file mode 100644 index 0000000000..ac4b8f0c04 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.12.50/microsoft.build.nuspec @@ -0,0 +1,28 @@ + + + + Microsoft.Build + 17.12.50 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.12.50/ref/net9.0/Microsoft.Build.cs b/src/referencePackages/src/microsoft.build/17.12.50/ref/net9.0/Microsoft.Build.cs new file mode 100644 index 0000000000..24e49cb036 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.12.50/ref/net9.0/Microsoft.Build.cs @@ -0,0 +1,3059 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Core, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Conversion.Unittest, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Cop, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Utilities.Core", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Processes", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Build.Execution.BuildRequestDataFlags))] +namespace Microsoft.Build.BackEnd.SdkResolution +{ + public partial class SdkResolverException : Framework.BuildException.BuildExceptionBase + { + public SdkResolverException(string resourceName, Framework.SdkResolver resolver, Framework.SdkReference sdk, System.Exception innerException, params string[] args) { } + public Framework.SdkResolver Resolver { get { throw null; } } + public Framework.SdkReference Sdk { get { throw null; } } + } +} + +namespace Microsoft.Build.Construction +{ + public abstract partial class ElementLocation : Shared.IMSBuildElementLocation + { + public abstract int Column { get; } + public static ElementLocation EmptyLocation { get { throw null; } } + public abstract string File { get; } + public abstract int Line { get; } + public string LocationString { get { throw null; } } + + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public enum ImplicitImportLocation + { + None = 0, + Top = 1, + Bottom = 2 + } + + public partial class ProjectChooseElement : ProjectElementContainer + { + internal ProjectChooseElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public ProjectOtherwiseElement OtherwiseElement { get { throw null; } } + public System.Collections.Generic.ICollection WhenElements { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectConfigurationInSolution + { + internal ProjectConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public bool IncludeInBuild { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public abstract partial class ProjectElement : Framework.IProjectElement + { + internal ProjectElement() { } + public System.Collections.Generic.IEnumerable AllParents { get { throw null; } } + public virtual string Condition { get { throw null; } set { } } + public virtual ElementLocation ConditionLocation { get { throw null; } } + public ProjectRootElement ContainingProject { get { throw null; } } + public string ElementName { get { throw null; } } + public string Label { get { throw null; } set { } } + public ElementLocation LabelLocation { get { throw null; } } + public ElementLocation Location { get { throw null; } } + public ProjectElement NextSibling { get { throw null; } } + public string OuterElement { get { throw null; } } + public ProjectElementContainer Parent { get { throw null; } } + public ProjectElement PreviousSibling { get { throw null; } } + + public ProjectElement Clone() { throw null; } + protected internal virtual ProjectElement Clone(ProjectRootElement factory) { throw null; } + public virtual void CopyFrom(ProjectElement element) { } + protected abstract ProjectElement CreateNewInstance(ProjectRootElement owner); + protected virtual bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public abstract partial class ProjectElementContainer : ProjectElement + { + internal ProjectElementContainer() { } + public System.Collections.Generic.IEnumerable AllChildren { get { throw null; } } + public System.Collections.Generic.ICollection Children { get { throw null; } } + public System.Collections.Generic.ICollection ChildrenReversed { get { throw null; } } + public int Count { get { throw null; } } + public ProjectElement FirstChild { get { throw null; } } + public ProjectElement LastChild { get { throw null; } } + + public void AppendChild(ProjectElement child) { } + protected internal virtual ProjectElementContainer DeepClone(ProjectRootElement factory, ProjectElementContainer parent) { throw null; } + public virtual void DeepCopyFrom(ProjectElementContainer element) { } + public void InsertAfterChild(ProjectElement child, ProjectElement reference) { } + public void InsertBeforeChild(ProjectElement child, ProjectElement reference) { } + public void PrependChild(ProjectElement child) { } + public void RemoveAllChildren() { } + public void RemoveChild(ProjectElement child) { } + } + + public partial class ProjectExtensionsElement : ProjectElement + { + internal ProjectExtensionsElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Content { get { throw null; } set { } } + + public string this[string name] { get { throw null; } set { } } + + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportElement : ProjectElement + { + internal ProjectImportElement() { } + public ImplicitImportLocation ImplicitImportLocation { get { throw null; } } + public string MinimumVersion { get { throw null; } set { } } + public ProjectElement OriginalElement { get { throw null; } } + public string Project { get { throw null; } set { } } + public ElementLocation ProjectLocation { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportGroupElement : ProjectElementContainer + { + internal ProjectImportGroupElement() { } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectInSolution + { + internal ProjectInSolution() { } + public string AbsolutePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + public string ParentProjectGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ProjectConfigurations { get { throw null; } } + public string ProjectGuid { get { throw null; } } + public string ProjectName { get { throw null; } } + public SolutionProjectType ProjectType { get { throw null; } set { } } + public string RelativePath { get { throw null; } } + } + public partial class ProjectItemDefinitionElement : ProjectElementContainer + { + internal ProjectItemDefinitionElement() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemDefinitionGroupElement : ProjectElementContainer + { + internal ProjectItemDefinitionGroupElement() { } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectItemElement : ProjectElementContainer + { + internal ProjectItemElement() { } + public string Exclude { get { throw null; } set { } } + public ElementLocation ExcludeLocation { get { throw null; } } + public bool HasMetadata { get { throw null; } } + public string Include { get { throw null; } set { } } + public ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public string KeepDuplicates { get { throw null; } set { } } + public ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } set { } } + public ElementLocation KeepMetadataLocation { get { throw null; } } + public string MatchOnMetadata { get { throw null; } set { } } + public ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } set { } } + public ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } set { } } + public ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } set { } } + public ElementLocation RemoveMetadataLocation { get { throw null; } } + public string Update { get { throw null; } set { } } + public ElementLocation UpdateLocation { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemGroupElement : ProjectElementContainer + { + internal ProjectItemGroupElement() { } + public System.Collections.Generic.ICollection Items { get { throw null; } } + + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectMetadataElement : ProjectElement + { + internal ProjectMetadataElement() { } + public bool ExpressedAsAttribute { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOnErrorElement : ProjectElement + { + internal ProjectOnErrorElement() { } + public string ExecuteTargetsAttribute { get { throw null; } set { } } + public ElementLocation ExecuteTargetsLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOtherwiseElement : ProjectElementContainer + { + internal ProjectOtherwiseElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOutputElement : ProjectElement + { + internal ProjectOutputElement() { } + public bool IsOutputItem { get { throw null; } } + public bool IsOutputProperty { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public ElementLocation ItemTypeLocation { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + public ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } set { } } + public ElementLocation TaskParameterLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyElement : ProjectElement + { + internal ProjectPropertyElement() { } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyGroupElement : ProjectElementContainer + { + internal ProjectPropertyGroupElement() { } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertiesReversed { get { throw null; } } + + public ProjectPropertyElement AddProperty(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectPropertyElement SetProperty(string name, string unevaluatedValue) { throw null; } + } + + public partial class ProjectRootElement : ProjectElementContainer + { + internal ProjectRootElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string DefaultTargets { get { throw null; } set { } } + public ElementLocation DefaultTargetsLocation { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public System.Text.Encoding Encoding { get { throw null; } } + public string EscapedFullPath { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public bool HasUnsavedChanges { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroups { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + public string InitialTargets { get { throw null; } set { } } + public ElementLocation InitialTargetsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.DateTime LastWriteTimeWhenRead { get { throw null; } } + public bool PreserveFormatting { get { throw null; } } + public ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroupsReversed { get { throw null; } } + public string RawXml { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public System.Collections.Generic.ICollection Targets { get { throw null; } } + public System.DateTime TimeLastChanged { get { throw null; } } + public string ToolsVersion { get { throw null; } set { } } + public ElementLocation ToolsVersionLocation { get { throw null; } } + public string TreatAsLocalProperty { get { throw null; } set { } } + public ElementLocation TreatAsLocalPropertyLocation { get { throw null; } } + public System.Collections.Generic.ICollection UsingTasks { get { throw null; } } + public int Version { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + public ProjectImportGroupElement AddImportGroup() { throw null; } + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement AddItemDefinitionGroup() { throw null; } + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyElement AddProperty(string name, string value) { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTargetElement AddTarget(string name) { throw null; } + public ProjectUsingTaskElement AddUsingTask(string name, string assemblyFile, string assemblyName) { throw null; } + public static ProjectRootElement Create() { throw null; } + public static ProjectRootElement Create(Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection, bool preserveFormatting) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader) { throw null; } + public ProjectChooseElement CreateChooseElement() { throw null; } + public ProjectImportElement CreateImportElement(string project) { throw null; } + public ProjectImportGroupElement CreateImportGroupElement() { throw null; } + public ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement() { throw null; } + public ProjectItemElement CreateItemElement(string itemType, string include) { throw null; } + public ProjectItemElement CreateItemElement(string itemType) { throw null; } + public ProjectItemGroupElement CreateItemGroupElement() { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue, ElementLocation location) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectOnErrorElement CreateOnErrorElement(string executeTargets) { throw null; } + public ProjectOtherwiseElement CreateOtherwiseElement() { throw null; } + public ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName) { throw null; } + public ProjectExtensionsElement CreateProjectExtensionsElement() { throw null; } + public ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion) { throw null; } + public ProjectPropertyElement CreatePropertyElement(string name) { throw null; } + public ProjectPropertyGroupElement CreatePropertyGroupElement() { throw null; } + public ProjectTargetElement CreateTargetElement(string name) { throw null; } + public ProjectTaskElement CreateTaskElement(string name) { throw null; } + public ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName) { throw null; } + public ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType) { throw null; } + public UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement() { throw null; } + public ProjectWhenElement CreateWhenElement(string condition) { throw null; } + public ProjectRootElement DeepClone() { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Open(string path) { throw null; } + public void Reload(bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(string path, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding saveEncoding) { } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement TryOpen(string path) { throw null; } + } + + public partial class ProjectSdkElement : ProjectElementContainer + { + internal ProjectSdkElement() { } + public string MinimumVersion { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTargetElement : ProjectElementContainer + { + internal ProjectTargetElement() { } + public string AfterTargets { get { throw null; } set { } } + public ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } set { } } + public ElementLocation BeforeTargetsLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } set { } } + public ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string Inputs { get { throw null; } set { } } + public ElementLocation InputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } set { } } + public ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public ElementLocation NameLocation { get { throw null; } } + public System.Collections.Generic.ICollection OnErrors { get { throw null; } } + public string Outputs { get { throw null; } set { } } + public ElementLocation OutputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public string Returns { get { throw null; } set { } } + public ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTaskElement AddTask(string taskName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTaskElement : ProjectElementContainer + { + internal ProjectTaskElement() { } + public string ContinueOnError { get { throw null; } set { } } + public ElementLocation ContinueOnErrorLocation { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } set { } } + public ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } set { } } + public ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.ICollection Outputs { get { throw null; } } + public System.Collections.Generic.IEnumerable> ParameterLocations { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType, string condition) { throw null; } + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName, string condition) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public string GetParameter(string name) { throw null; } + public void RemoveAllParameters() { } + public void RemoveParameter(string name) { } + public void SetParameter(string name, string unevaluatedValue) { } + } + + public partial class ProjectUsingTaskBodyElement : ProjectElement + { + internal ProjectUsingTaskBodyElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Evaluate { get { throw null; } set { } } + public ElementLocation EvaluateLocation { get { throw null; } } + public string TaskBody { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskElement : ProjectElementContainer + { + internal ProjectUsingTaskElement() { } + public string Architecture { get { throw null; } set { } } + public ElementLocation ArchitectureLocation { get { throw null; } } + public string AssemblyFile { get { throw null; } set { } } + public ElementLocation AssemblyFileLocation { get { throw null; } } + public string AssemblyName { get { throw null; } set { } } + public ElementLocation AssemblyNameLocation { get { throw null; } } + public string Override { get { throw null; } set { } } + public ElementLocation OverrideLocation { get { throw null; } } + public UsingTaskParameterGroupElement ParameterGroup { get { throw null; } } + public string Runtime { get { throw null; } set { } } + public ElementLocation RuntimeLocation { get { throw null; } } + public ProjectUsingTaskBodyElement TaskBody { get { throw null; } } + public string TaskFactory { get { throw null; } set { } } + public ElementLocation TaskFactoryLocation { get { throw null; } } + public string TaskName { get { throw null; } set { } } + public ElementLocation TaskNameLocation { get { throw null; } } + + public UsingTaskParameterGroupElement AddParameterGroup() { throw null; } + public ProjectUsingTaskBodyElement AddUsingTaskBody(string evaluate, string taskBody) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskParameterElement : ProjectElement + { + internal ProjectUsingTaskParameterElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public string Output { get { throw null; } set { } } + public ElementLocation OutputLocation { get { throw null; } } + public string ParameterType { get { throw null; } set { } } + public ElementLocation ParameterTypeLocation { get { throw null; } } + public string Required { get { throw null; } set { } } + public ElementLocation RequiredLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectWhenElement : ProjectElementContainer + { + internal ProjectWhenElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class SolutionConfigurationInSolution + { + internal SolutionConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public sealed partial class SolutionFile + { + internal SolutionFile() { } + public System.Collections.Generic.IReadOnlyDictionary ProjectsByGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ProjectsInOrder { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SolutionConfigurations { get { throw null; } } + + public string GetDefaultConfigurationName() { throw null; } + public string GetDefaultPlatformName() { throw null; } + public static SolutionFile Parse(string solutionFile) { throw null; } + } + public enum SolutionProjectType + { + Unknown = 0, + KnownToBeMSBuildFormat = 1, + SolutionFolder = 2, + WebProject = 3, + WebDeploymentProject = 4, + EtpSubProject = 5, + SharedProject = 6 + } + + public partial class UsingTaskParameterGroupElement : ProjectElementContainer + { + internal UsingTaskParameterGroupElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Parameters { get { throw null; } } + + public ProjectUsingTaskParameterElement AddParameter(string name, string output, string required, string parameterType) { throw null; } + public ProjectUsingTaskParameterElement AddParameter(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } +} + +namespace Microsoft.Build.Definition +{ + public partial class ProjectOptions + { + public FileSystem.IDirectoryCacheFactory DirectoryCacheFactory { get { throw null; } set { } } + public Evaluation.Context.EvaluationContext EvaluationContext { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings LoadSettings { get { throw null; } set { } } + public Evaluation.ProjectCollection ProjectCollection { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Evaluation +{ + public partial class GlobResult + { + public GlobResult(Construction.ProjectItemElement itemElement, System.Collections.Generic.IEnumerable includeGlobStrings, Globbing.IMSBuildGlob globWithGaps, System.Collections.Generic.IEnumerable excludeFragmentStrings, System.Collections.Generic.IEnumerable removeFragmentStrings) { } + public System.Collections.Generic.IEnumerable Excludes { get { throw null; } } + public System.Collections.Generic.IEnumerable IncludeGlobs { get { throw null; } } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public Globbing.IMSBuildGlob MsBuildGlob { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Removes { get { throw null; } set { } } + } + public static partial class MatchOnMetadataConstants + { + public const MatchOnMetadataOptions MatchOnMetadataOptionsDefaultValue = 0; + } + public enum MatchOnMetadataOptions + { + CaseSensitive = 0, + CaseInsensitive = 1, + PathLike = 2 + } + + [System.Flags] + public enum NewProjectFileOptions + { + IncludeAllOptions = -1, + None = 0, + IncludeXmlDeclaration = 1, + IncludeToolsVersion = 2, + IncludeXmlNamespace = 4 + } + + public enum Operation + { + Include = 0, + Exclude = 1, + Update = 2, + Remove = 3 + } + + public partial class Project + { + public Project() { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(Construction.ProjectRootElement xml) { } + public Project(NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(string projectFile) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(System.Xml.XmlReader xmlReader) { } + public System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedItems { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedProperties { get { throw null; } } + public System.Collections.Generic.IDictionary> ConditionedProperties { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public bool DisableMarkDirty { get { throw null; } set { } } + public int EvaluationCounter { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IList Imports { get { throw null; } } + public System.Collections.Generic.IList ImportsIncludingDuplicates { get { throw null; } } + public bool IsBuildEnabled { get { throw null; } set { } } + public bool IsDirty { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemsIgnoringCondition { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public int LastEvaluationId { get { throw null; } } + public ProjectCollection ProjectCollection { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public bool SkipEvaluation { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public bool ThrowInsteadOfSplittingItemElement { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } } + public Construction.ProjectRootElement Xml { get { throw null; } } + + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(Framework.ILogger logger) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Context.EvaluationContext evaluationContext) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets) { throw null; } + public Execution.ProjectInstance CreateProjectInstance() { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Context.EvaluationContext evaluationContext) { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public static Project FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static Project FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static Project FromXmlReader(System.Xml.XmlReader reader, Definition.ProjectOptions options) { throw null; } + public System.Collections.Generic.List GetAllGlobs() { throw null; } + public System.Collections.Generic.List GetAllGlobs(Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItem item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinition item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude) { throw null; } + public System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetLogicalProject() { throw null; } + public static string GetMetadataValueEscaped(ProjectItem item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinition item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadata metadatum) { throw null; } + public ProjectProperty GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectProperty property) { throw null; } + public void MarkDirty() { } + public void ReevaluateIfNecessary() { } + public void ReevaluateIfNecessary(Context.EvaluationContext evaluationContext) { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveItem(ProjectItem item) { throw null; } + public void RemoveItems(System.Collections.Generic.IEnumerable items) { } + public bool RemoveProperty(ProjectProperty property) { throw null; } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding encoding) { } + public void SaveLogicalProject(System.IO.TextWriter writer) { } + public bool SetGlobalProperty(string name, string escapedValue) { throw null; } + public ProjectProperty SetProperty(string name, string unevaluatedValue) { throw null; } + } + public partial class ProjectChangedEventArgs : System.EventArgs + { + internal ProjectChangedEventArgs() { } + public Project Project { get { throw null; } } + } + + public partial class ProjectCollection : System.IDisposable + { + public ProjectCollection() { } + public ProjectCollection(ToolsetDefinitionLocations toolsetLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, ToolsetDefinitionLocations toolsetDefinitionLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties) { } + public int Count { get { throw null; } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DisableMarkDirty { get { throw null; } set { } } + public static string DisplayVersion { get { throw null; } } + public static ProjectCollection GlobalProjectCollection { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public Execution.HostServices HostServices { get { throw null; } set { } } + public bool IsBuildEnabled { get { throw null; } set { } } + public System.Collections.Generic.ICollection LoadedProjects { get { throw null; } } + public System.Collections.Generic.ICollection Loggers { get { throw null; } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public bool SkipEvaluation { get { throw null; } set { } } + public ToolsetDefinitionLocations ToolsetLocations { get { throw null; } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public static System.Version Version { get { throw null; } } + + public event ProjectAddedEventHandler ProjectAdded { + add { } + remove { } + } + + public event System.EventHandler ProjectChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectCollectionChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectXmlChanged { + add { } + remove { } + } + + public void AddToolset(Toolset toolset) { } + public bool ContainsToolset(string toolsVersion) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public static string Escape(string unescapedString) { throw null; } + public string GetEffectiveToolsVersion(string explicitToolsVersion, string toolsVersionFromProject) { throw null; } + public Execution.ProjectPropertyInstance GetGlobalProperty(string name) { throw null; } + public System.Collections.Generic.ICollection GetLoadedProjects(string fullPath) { throw null; } + public Toolset GetToolset(string toolsVersion) { throw null; } + public Project LoadProject(string fileName, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(string fileName, string toolsVersion) { throw null; } + public Project LoadProject(string fileName) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader) { throw null; } + public void LogBuildFinishedEvent(bool success) { } + public void RegisterForwardingLoggers(System.Collections.Generic.IEnumerable remoteLoggers) { } + public void RegisterLogger(Framework.ILogger logger) { } + public void RegisterLoggers(System.Collections.Generic.IEnumerable loggers) { } + public void RemoveAllToolsets() { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveToolset(string toolsVersion) { throw null; } + public void SetGlobalProperty(string name, string value) { } + public bool TryUnloadProject(Construction.ProjectRootElement projectRootElement) { throw null; } + public static string Unescape(string escapedString) { throw null; } + public void UnloadAllProjects() { } + public void UnloadProject(Construction.ProjectRootElement projectRootElement) { } + public void UnloadProject(Project project) { } + public void UnregisterAllLoggers() { } + public delegate void ProjectAddedEventHandler(object sender, ProjectAddedToProjectCollectionEventArgs e); + public partial class ProjectAddedToProjectCollectionEventArgs : System.EventArgs + { + public ProjectAddedToProjectCollectionEventArgs(Construction.ProjectRootElement element) { } + public Construction.ProjectRootElement ProjectRootElement { get { throw null; } } + } + } + + public partial class ProjectCollectionChangedEventArgs : System.EventArgs + { + internal ProjectCollectionChangedEventArgs() { } + public ProjectCollectionChangedState Changed { get { throw null; } } + } + + public enum ProjectCollectionChangedState + { + DefaultToolsVersion = 0, + Toolsets = 1, + Loggers = 2, + GlobalProperties = 3, + IsBuildEnabled = 4, + OnlyLogCriticalEvents = 5, + HostServices = 6, + DisableMarkDirty = 7, + SkipEvaluation = 8 + } + + public partial class ProjectItem + { + internal ProjectItem() { } + public System.Collections.Generic.IEnumerable DirectMetadata { get { throw null; } } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedInclude { get { throw null; } set { } } + public Construction.ProjectItemElement Xml { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + public bool RemoveMetadata(string name) { throw null; } + public void Rename(string name) { } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + public partial class ProjectItemDefinition + { + internal ProjectItemDefinition() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + [System.Flags] + public enum ProjectLoadSettings + { + Default = 0, + IgnoreMissingImports = 1, + RecordDuplicateButNotCircularImports = 2, + RejectCircularImports = 4, + RecordEvaluatedItemElements = 8, + IgnoreEmptyImports = 16, + DoNotEvaluateElementsWithFalseCondition = 32, + IgnoreInvalidImports = 64, + ProfileEvaluation = 128, + FailOnUnresolvedSdk = 256 + } + + public partial class ProjectMetadata : System.IEquatable + { + internal ProjectMetadata() { } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string EvaluatedValue { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public ProjectMetadata Predecessor { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedValue { get { throw null; } set { } } + public Construction.ProjectMetadataElement Xml { get { throw null; } } + + bool System.IEquatable.Equals(ProjectMetadata other) { throw null; } + } + + public abstract partial class ProjectProperty : System.IEquatable + { + internal ProjectProperty() { } + public string EvaluatedValue { get { throw null; } } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public (string File, int Line, int Column) Location { get { throw null; } } + public abstract string Name { get; } + public abstract ProjectProperty Predecessor { get; } + public Project Project { get { throw null; } } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + bool System.IEquatable.Equals(ProjectProperty other) { throw null; } + } + + public partial class ProjectXmlChangedEventArgs : System.EventArgs + { + internal ProjectXmlChangedEventArgs() { } + public Construction.ProjectRootElement ProjectXml { get { throw null; } } + public string Reason { get { throw null; } } + } + + [System.Flags] + public enum Provenance + { + Undefined = 0, + StringLiteral = 1, + Glob = 2, + Inconclusive = 4 + } + + public partial class ProvenanceResult + { + public ProvenanceResult(Construction.ProjectItemElement itemElement, Operation operation, Provenance provenance, int occurrences) { } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public int Occurrences { get { throw null; } } + public Operation Operation { get { throw null; } } + public Provenance Provenance { get { throw null; } } + } + public partial struct ResolvedImport + { + private object _dummy; + private int _dummyPrimitive; + public Construction.ProjectRootElement ImportedProject { get { throw null; } } + public Construction.ProjectImportElement ImportingElement { get { throw null; } } + public bool IsImported { get { throw null; } } + public Framework.SdkResult SdkResult { get { throw null; } } + } + + public partial class SubToolset + { + internal SubToolset() { } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public string SubToolsetVersion { get { throw null; } } + } + public partial class Toolset + { + public Toolset(string toolsVersion, string toolsPath, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, System.Collections.Generic.IDictionary subToolsets, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public string DefaultSubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public System.Collections.Generic.IDictionary SubToolsets { get { throw null; } } + public string ToolsPath { get { throw null; } } + public string ToolsVersion { get { throw null; } } + + public string GenerateSubToolsetVersion() { throw null; } + public string GenerateSubToolsetVersion(System.Collections.Generic.IDictionary overrideGlobalProperties, int solutionVersion) { throw null; } + public Execution.ProjectPropertyInstance GetProperty(string propertyName, string subToolsetVersion) { throw null; } + } + [System.Flags] + public enum ToolsetDefinitionLocations + { + None = 0, + ConfigurationFile = 1, + Registry = 2, + Default = 4, + Local = 4 + } +} + +namespace Microsoft.Build.Evaluation.Context +{ + public partial class EvaluationContext + { + internal EvaluationContext() { } + public static EvaluationContext Create(SharingPolicy policy, FileSystem.MSBuildFileSystemBase fileSystem) { throw null; } + public static EvaluationContext Create(SharingPolicy policy) { throw null; } + public enum SharingPolicy + { + Shared = 0, + Isolated = 1, + SharedSDKCache = 2 + } + } +} + +namespace Microsoft.Build.Exceptions +{ + public partial class BuildAbortedException : Framework.BuildException.BuildExceptionBase + { + public BuildAbortedException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected BuildAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public BuildAbortedException(string message, System.Exception innerException) { } + public BuildAbortedException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class CircularDependencyException : Framework.BuildException.BuildExceptionBase + { + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected CircularDependencyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class InternalLoggerException : Framework.BuildException.BuildExceptionBase + { + public InternalLoggerException() { } + public InternalLoggerException(string message, System.Exception innerException) { } + public InternalLoggerException(string message) { } + public Framework.BuildEventArgs BuildEventArgs { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public bool InitializationException { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public sealed partial class InvalidProjectFileException : Framework.BuildException.BuildExceptionBase + { + public InvalidProjectFileException() { } + public InvalidProjectFileException(string message, System.Exception innerException) { } + public InvalidProjectFileException(string projectFile, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string errorSubcategory, string errorCode, string helpKeyword) { } + public InvalidProjectFileException(string message) { } + public string BaseMessage { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string ErrorSubcategory { get { throw null; } } + public bool HasBeenLogged { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class InvalidToolsetDefinitionException : Framework.BuildException.BuildExceptionBase + { + public InvalidToolsetDefinitionException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected InvalidToolsetDefinitionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public InvalidToolsetDefinitionException(string message, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode) { } + public InvalidToolsetDefinitionException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } +} + +namespace Microsoft.Build.Execution +{ + public partial class BuildManager : System.IDisposable + { + public BuildManager() { } + public BuildManager(string hostName) { } + public static BuildManager DefaultBuildManager { get { throw null; } } + + public void BeginBuild(BuildParameters parameters, System.Collections.Generic.IEnumerable deferredBuildMessages) { } + public void BeginBuild(BuildParameters parameters) { } + public BuildResult Build(BuildParameters parameters, BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult Build(BuildParameters parameters, Graph.GraphBuildRequestData requestData) { throw null; } + public BuildResult BuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult BuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void CancelAllSubmissions() { } + public void Dispose() { } + public void EndBuild() { } + ~BuildManager() { + } + + public ProjectInstance GetProjectInstanceForBuild(Evaluation.Project project) { throw null; } + public BuildSubmission PendBuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildSubmission PendBuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void ResetCaches() { } + public void ShutdownAllNodes() { } + public readonly partial struct DeferredBuildMessage + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeferredBuildMessage(string text, Framework.MessageImportance importance, string filePath) { } + public DeferredBuildMessage(string text, Framework.MessageImportance importance) { } + public string? FilePath { get { throw null; } } + public Framework.MessageImportance Importance { get { throw null; } } + public string Text { get { throw null; } } + } + } + + public partial class BuildParameters + { + public BuildParameters() { } + public BuildParameters(Evaluation.ProjectCollection projectCollection) { } + public bool AllowFailureWithoutError { get { throw null; } set { } } + public System.Collections.Generic.IDictionary BuildProcessEnvironment { get { throw null; } } + public System.Threading.ThreadPriority BuildThreadPriority { get { throw null; } set { } } + public System.Globalization.CultureInfo Culture { get { throw null; } set { } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DetailedSummary { get { throw null; } set { } } + public bool DisableInProcNode { get { throw null; } set { } } + public bool DiscardBuildResults { get { throw null; } set { } } + public bool EnableNodeReuse { get { throw null; } set { } } + public System.Collections.Generic.IDictionary EnvironmentProperties { get { throw null; } } + public System.Collections.Generic.IEnumerable ForwardingLoggers { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public HostServices HostServices { get { throw null; } set { } } + public string[] InputResultsCacheFiles { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public bool IsBuildCheckEnabled { get { throw null; } set { } } + public bool IsolateProjects { get { throw null; } set { } } + public bool LegacyThreadingSemantics { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Loggers { get { throw null; } set { } } + public bool LogInitialPropertiesAndItems { get { throw null; } set { } } + public bool LogTaskInputs { get { throw null; } set { } } + public bool LowPriority { get { throw null; } set { } } + public int MaxNodeCount { get { throw null; } set { } } + public int MemoryUseLimit { get { throw null; } set { } } + public string NodeExeLocation { get { throw null; } set { } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public string OutputResultsCacheFile { get { throw null; } set { } } + public Experimental.ProjectCache.ProjectCacheDescriptor ProjectCacheDescriptor { get { throw null; } set { } } + public ProjectIsolationMode ProjectIsolationMode { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings ProjectLoadSettings { get { throw null; } set { } } + public bool Question { get { throw null; } set { } } + public bool ResetCaches { get { throw null; } set { } } + public bool SaveOperatingEnvironment { get { throw null; } set { } } + public bool ShutdownInProcNodeOnBuildFinish { get { throw null; } set { } } + public Evaluation.ToolsetDefinitionLocations ToolsetDefinitionLocations { get { throw null; } set { } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public System.Globalization.CultureInfo UICulture { get { throw null; } set { } } + public bool UseSynchronousLogging { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsErrors { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsMessages { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsNotAsErrors { get { throw null; } set { } } + + public BuildParameters Clone() { throw null; } + public Evaluation.Toolset GetToolset(string toolsVersion) { throw null; } + } + public partial class BuildRequestData : BuildRequestData + { + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable? propertiesToTransfer, RequestedProjectState requestedProjectState) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable? propertiesToTransfer) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, RequestedProjectState requestedProjectState) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices) : base(default!, default, default) { } + public override System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } } + public string? ExplicitlySpecifiedToolsVersion { get { throw null; } } + public BuildRequestDataFlags Flags { get { throw null; } } + public System.Collections.Generic.ICollection GlobalProperties { get { throw null; } } + public override System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get { throw null; } } + public HostServices? HostServices { get { throw null; } } + public override bool IsGraphRequest { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public ProjectInstance? ProjectInstance { get { throw null; } } + public System.Collections.Generic.IEnumerable? PropertiesToTransfer { get { throw null; } } + public RequestedProjectState? RequestedProjectState { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + + public abstract partial class BuildRequestDataBase + { + protected BuildRequestDataBase(System.Collections.Generic.ICollection targetNames, BuildRequestDataFlags flags, HostServices? hostServices) { } + public abstract System.Collections.Generic.IEnumerable EntryProjectsFullPath { get; } + public BuildRequestDataFlags Flags { get { throw null; } protected set { } } + public abstract System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get; } + public HostServices? HostServices { get { throw null; } } + public abstract bool IsGraphRequest { get; } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } protected set { } } + } + public abstract partial class BuildRequestData : BuildRequestDataBase where TRequestData : BuildRequestData where TResultData : BuildResultBase + { + protected BuildRequestData(System.Collections.Generic.ICollection targetNames, BuildRequestDataFlags flags, HostServices? hostServices) : base(default!, default, default) { } + } + + public partial class BuildResult : BuildResultBase + { + public BuildRequestDataFlags? BuildRequestDataFlags { get { throw null; } } + public override bool CircularDependency { get { throw null; } } + public int ConfigurationId { get { throw null; } } + public override System.Exception? Exception { get { throw null; } internal set { } } + public int GlobalRequestId { get { throw null; } } + + public ITargetResult this[string target] { get { throw null; } } + + public int NodeRequestId { get { throw null; } } + public override BuildResultCode OverallResult { get { throw null; } } + public int ParentGlobalRequestId { get { throw null; } } + public ProjectInstance? ProjectStateAfterBuild { get { throw null; } set { } } + public System.Collections.Generic.IDictionary ResultsByTarget { get { throw null; } } + public override int SubmissionId { get { throw null; } } + + public void AddResultsForTarget(string target, TargetResult result) { } + public bool HasResultsForTarget(string target) { throw null; } + public void MergeResults(BuildResult results) { } + } + + public abstract partial class BuildResultBase + { + public abstract bool CircularDependency { get; } + public abstract System.Exception? Exception { get; internal set; } + public abstract BuildResultCode OverallResult { get; } + public abstract int SubmissionId { get; } + } + public enum BuildResultCode + { + Success = 0, + Failure = 1 + } + + public partial class BuildSubmission : BuildSubmissionBase + { + internal BuildSubmission() : base(default!, default, default!) { } + public object? AsyncContext { get { throw null; } } + public BuildManager BuildManager { get { throw null; } } + public new BuildResult? BuildResult { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal override void CheckResultValidForCompletion(BuildResult result) { } + protected internal override BuildResult CreateFailedResult(System.Exception exception) { throw null; } + public override BuildResult Execute() { throw null; } + public void ExecuteAsync(BuildSubmissionCompleteCallback? callback, object? context) { } + protected internal override void OnCompletition() { } + } + + public abstract partial class BuildSubmissionBase + { + protected readonly System.Threading.ManualResetEvent CompletionEvent; + protected int CompletionInvoked; + protected internal BuildSubmissionBase(BuildManager buildManager, int submissionId) { } + public object? AsyncContext { get { throw null; } protected set { } } + public BuildManager BuildManager { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal abstract void CheckForCompletion(); + protected internal virtual void OnCompletition() { } + } + public abstract partial class BuildSubmissionBase : BuildSubmissionBase where TRequestData : BuildRequestDataBase where TResultData : BuildResultBase + { + protected internal BuildSubmissionBase(BuildManager buildManager, int submissionId, TRequestData requestData) : base(default!, default) { } + public TResultData? BuildResult { get { throw null; } set { } } + + protected internal override void CheckForCompletion() { } + protected internal abstract void CheckResultValidForCompletion(TResultData result); + protected internal abstract TResultData CreateFailedResult(System.Exception exception); + public abstract TResultData Execute(); + } + + public delegate void BuildSubmissionCompleteCallback(BuildSubmission submission); + public partial class HostServices + { + public Framework.ITaskHost GetHostObject(string projectFile, string targetName, string taskName) { throw null; } + public NodeAffinity GetNodeAffinity(string projectFile) { throw null; } + public void OnRenameProject(string oldFullPath, string newFullPath) { } + public void RegisterHostObject(string projectFile, string targetName, string taskName, Framework.ITaskHost hostObject) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public void RegisterHostObject(string projectFile, string targetName, string taskName, string monikerName) { } + public void SetNodeAffinity(string projectFile, NodeAffinity nodeAffinity) { } + public void UnregisterProject(string projectFullPath) { } + } + public partial interface ITargetResult + { + System.Exception Exception { get; } + + Framework.ITaskItem[] Items { get; } + + TargetResultCode ResultCode { get; } + } + + public enum NodeAffinity + { + InProc = 0, + OutOfProc = 1, + Any = 2 + } + + public enum NodeEngineShutdownReason + { + BuildComplete = 0, + BuildCompleteReuse = 1, + ConnectionFailed = 2, + Error = 3 + } + + public partial class OutOfProcNode + { + public NodeEngineShutdownReason Run(bool enableReuse, bool lowPriority, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(bool enableReuse, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(out System.Exception shutdownException) { throw null; } + } + public partial class ProjectInstance + { + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml) { } + public ProjectInstance(Evaluation.Project project, ProjectInstanceSettings settings) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public ProjectInstance(string projectFile) { } + public System.Collections.Generic.List DefaultTargets { get { throw null; } } + public string Directory { get { throw null; } } + public System.Collections.Generic.List EvaluatedItemElements { get { throw null; } } + public int EvaluationId { get { throw null; } set { } } + public string FullPath { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPaths { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPathsIncludingDuplicates { get { throw null; } } + public System.Collections.Generic.List InitialTargets { get { throw null; } } + public bool IsImmutable { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public string ToolsVersion { get { throw null; } } + public bool TranslateEntireState { get { throw null; } set { } } + + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public ProjectInstance DeepCopy() { throw null; } + public ProjectInstance DeepCopy(bool isImmutable) { throw null; } + public bool EvaluateCondition(string condition) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public ProjectInstance FilteredCopy(RequestedProjectState filter) { throw null; } + public static ProjectInstance FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static ProjectInstance FromImmutableProjectSource(Evaluation.Project project, ProjectInstanceSettings settings) { throw null; } + public static ProjectInstance FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinitionInstance item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemInstance item) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetItemsByItemTypeAndEvaluatedInclude(string itemType, string evaluatedInclude) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinitionInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadataInstance metadatum) { throw null; } + public ProjectPropertyInstance GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectPropertyInstance property) { throw null; } + public bool RemoveItem(ProjectItemInstance item) { throw null; } + public bool RemoveProperty(string name) { throw null; } + public ProjectPropertyInstance SetProperty(string name, string evaluatedValue) { throw null; } + public Construction.ProjectRootElement ToProjectRootElement() { throw null; } + public void UpdateStateFrom(ProjectInstance projectState) { } + } + [System.Flags] + public enum ProjectInstanceSettings + { + None = 0, + Immutable = 1, + ImmutableWithFastItemLookup = 3 + } + + public enum ProjectIsolationMode + { + False = 0, + MessageUponIsolationViolation = 1, + True = 2 + } + + public partial class ProjectItemDefinitionInstance + { + internal ProjectItemDefinitionInstance() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.IEnumerable MetadataNames { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + } + public partial class ProjectItemGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectItemGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectItemGroupTaskItemInstance + { + internal ProjectItemGroupTaskItemInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string Exclude { get { throw null; } } + public Construction.ElementLocation ExcludeLocation { get { throw null; } } + public string Include { get { throw null; } } + public Construction.ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public string KeepDuplicates { get { throw null; } } + public Construction.ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } } + public Construction.ElementLocation KeepMetadataLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string MatchOnMetadata { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } } + public Construction.ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } } + public Construction.ElementLocation RemoveMetadataLocation { get { throw null; } } + } + public partial class ProjectItemGroupTaskMetadataInstance + { + internal ProjectItemGroupTaskMetadataInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectItemInstance : Framework.ITaskItem2, Framework.ITaskItem + { + internal ProjectItemInstance() { } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } set { } } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem.ItemSpec { get { throw null; } set { } } + + System.Collections.ICollection Framework.ITaskItem.MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + public ProjectInstance Project { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + System.Collections.IDictionary Framework.ITaskItem.CloneCustomMetadata() { throw null; } + void Framework.ITaskItem.CopyMetadataTo(Framework.ITaskItem destinationItem) { } + string Framework.ITaskItem.GetMetadata(string metadataName) { throw null; } + void Framework.ITaskItem.SetMetadata(string metadataName, string metadataValue) { } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string name) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(System.Collections.Generic.IEnumerable> metadataDictionary) { } + public ProjectMetadataInstance SetMetadata(string name, string evaluatedValue) { throw null; } + public override string ToString() { throw null; } + } + + public partial class ProjectMetadataInstance : System.IEquatable + { + internal ProjectMetadataInstance() { } + public string EvaluatedValue { get { throw null; } } + public string Name { get { throw null; } } + + public ProjectMetadataInstance DeepClone() { throw null; } + bool System.IEquatable.Equals(ProjectMetadataInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectOnErrorInstance : ProjectTargetInstanceChild + { + internal ProjectOnErrorInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ExecuteTargets { get { throw null; } } + public Construction.ElementLocation ExecuteTargetsLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectPropertyGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskPropertyInstance + { + internal ProjectPropertyGroupTaskPropertyInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectPropertyInstance : System.IEquatable + { + internal ProjectPropertyInstance() { } + public string EvaluatedValue { get { throw null; } set { } } + public virtual bool IsImmutable { get { throw null; } } + public (string File, int Line, int Column) Location { get { throw null; } } + public string Name { get { throw null; } } + + bool System.IEquatable.Equals(ProjectPropertyInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectTargetInstance + { + internal ProjectTargetInstance() { } + public string AfterTargets { get { throw null; } } + public Construction.ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } } + public Construction.ElementLocation BeforeTargetsLocation { get { throw null; } } + public System.Collections.Generic.IList Children { get { throw null; } } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } } + public Construction.ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string FullPath { get { throw null; } } + public string Inputs { get { throw null; } } + public Construction.ElementLocation InputsLocation { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } } + public Construction.ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList OnErrorChildren { get { throw null; } } + public string Outputs { get { throw null; } } + public Construction.ElementLocation OutputsLocation { get { throw null; } } + public string Returns { get { throw null; } } + public Construction.ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + } + public abstract partial class ProjectTargetInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public string FullPath { get { throw null; } } + public abstract Construction.ElementLocation Location { get; } + } + public sealed partial class ProjectTaskInstance : ProjectTargetInstanceChild + { + internal ProjectTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ContinueOnError { get { throw null; } } + public Construction.ElementLocation ContinueOnErrorLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } } + public Construction.ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } } + public Construction.ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList Outputs { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + } + + public abstract partial class ProjectTaskInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ElementLocation TaskParameterLocation { get; } + } + public sealed partial class ProjectTaskOutputItemInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputItemInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation ItemTypeLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public sealed partial class ProjectTaskOutputPropertyInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputPropertyInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string PropertyName { get { throw null; } } + public Construction.ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public partial class RequestedProjectState + { + public System.Collections.Generic.IDictionary> ItemFilters { get { throw null; } set { } } + public System.Collections.Generic.List PropertyFilters { get { throw null; } set { } } + } + public partial class TargetResult : ITargetResult + { + internal TargetResult() { } + public System.Exception Exception { get { throw null; } } + public Framework.ITaskItem[] Items { get { throw null; } } + public TargetResultCode ResultCode { get { throw null; } } + } + + public enum TargetResultCode : byte + { + Skipped = 0, + Success = 1, + Failure = 2 + } +} + +namespace Microsoft.Build.Experimental +{ + public sealed partial class MSBuildClient + { + public MSBuildClient(string[] commandLine, string msbuildLocation) { } + public MSBuildClientExitResult Execute(System.Threading.CancellationToken cancellationToken) { throw null; } + public static bool ShutdownServer(System.Threading.CancellationToken cancellationToken) { throw null; } + } + public sealed partial class MSBuildClientExitResult + { + public string? MSBuildAppExitTypeString { get { throw null; } set { } } + public MSBuildClientExitType MSBuildClientExitType { get { throw null; } set { } } + } + public enum MSBuildClientExitType + { + Success = 0, + ServerBusy = 1, + UnableToConnect = 2, + LaunchError = 3, + Unexpected = 4, + UnknownServerState = 5 + } + + public sealed partial class OutOfProcServerNode + { + public OutOfProcServerNode(BuildCallback buildFunction) { } + public Execution.NodeEngineShutdownReason Run(out System.Exception? shutdownException) { throw null; } + public delegate (int exitCode, string exitType) BuildCallback(string[] commandLine); + } +} + +namespace Microsoft.Build.Experimental.BuildCheck +{ + public partial class BuildCheckDataContext where T : CheckData + { + internal BuildCheckDataContext() { } + public T Data { get { throw null; } } + + public void ReportResult(BuildCheckResult result) { } + } + public static partial class BuildCheckReplayModeConnector + { + public static Framework.IEventSource GetMergedEventSource(Execution.BuildManager buildManager, Framework.IEventSource replayEventSource) { throw null; } + } + public sealed partial class BuildCheckResult + { + public BuildCheckResult(CheckRule checkConfig, Shared.IMSBuildElementLocation location, string[] messageArgs) { } + public CheckRule CheckRule { get { throw null; } } + public Shared.IMSBuildElementLocation Location { get { throw null; } } + public string LocationString { get { throw null; } } + public string[] MessageArgs { get { throw null; } } + public string MessageFormat { get { throw null; } } + + public static BuildCheckResult Create(CheckRule rule, Shared.IMSBuildElementLocation location, params string[] messageArgs) { throw null; } + public string FormatMessage() { throw null; } + } + public partial class BuildFinishedCheckData : CheckData + { + public BuildFinishedCheckData() : base(default!, default) { } + } + + public abstract partial class Check : System.IDisposable + { + public abstract string FriendlyName { get; } + public abstract System.Collections.Generic.IReadOnlyList SupportedRules { get; } + + public virtual void Dispose() { } + public abstract void Initialize(ConfigurationContext configurationContext); + public abstract void RegisterActions(IBuildCheckRegistrationContext registrationContext); + } + + public partial class CheckConfiguration + { + public static CheckConfiguration Default { get { throw null; } } + public EvaluationCheckScope? EvaluationCheckScope { get { throw null; } init { } } + public bool? IsEnabled { get { throw null; } } + public static CheckConfiguration Null { get { throw null; } } + public string? RuleId { get { throw null; } } + public CheckResultSeverity? Severity { get { throw null; } init { } } + } + public abstract partial class CheckData + { + protected CheckData(string projectFilePath, int? projectConfigurationId) { } + public string ProjectFileDirectory { get { throw null; } } + public string ProjectFilePath { get { throw null; } } + } + public enum CheckResultSeverity + { + Default = 0, + None = 1, + Suggestion = 2, + Warning = 3, + Error = 4 + } + + public partial class CheckRule + { + public CheckRule(string id, string title, string description, string messageFormat, CheckConfiguration defaultConfiguration) { } + public CheckConfiguration DefaultConfiguration { get { throw null; } } + public string Description { get { throw null; } } + public string Id { get { throw null; } } + public string MessageFormat { get { throw null; } } + public string Title { get { throw null; } } + } + public partial class ConfigurationContext + { + internal ConfigurationContext() { } + public System.Collections.Generic.IReadOnlyList CheckConfig { get { throw null; } init { } } + public System.Collections.Generic.IReadOnlyList CustomConfigurationData { get { throw null; } init { } } + } + public sealed partial class CustomConfigurationData + { + public CustomConfigurationData(string ruleId, System.Collections.Generic.Dictionary properties) { } + public CustomConfigurationData(string ruleId) { } + public System.Collections.Generic.IReadOnlyDictionary? ConfigurationData { get { throw null; } init { } } + public static CustomConfigurationData Null { get { throw null; } } + public string RuleId { get { throw null; } init { } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool NotNull(CustomConfigurationData data) { throw null; } + } + public partial class EnvironmentVariableCheckData : CheckData + { + internal EnvironmentVariableCheckData() : base(default!, default) { } + public Shared.IMSBuildElementLocation EnvironmentVariableLocation { get { throw null; } } + public string EnvironmentVariableName { get { throw null; } } + public string EnvironmentVariableValue { get { throw null; } } + } + + public partial class EvaluatedPropertiesCheckData : CheckData + { + internal EvaluatedPropertiesCheckData() : base(default!, default) { } + public System.Collections.Generic.IReadOnlyDictionary EvaluatedProperties { get { throw null; } } + } + + public enum EvaluationCheckScope + { + ProjectFileOnly = 0, + WorkTreeImports = 1, + All = 2 + } + + public partial interface IBuildCheckRegistrationContext + { + void RegisterBuildFinishedAction(System.Action> buildFinishedAction); + void RegisterEnvironmentVariableReadAction(System.Action> environmentVariableAction); + void RegisterEvaluatedPropertiesAction(System.Action> evaluatedPropertiesAction); + void RegisterParsedItemsAction(System.Action> parsedItemsAction); + void RegisterTaskInvocationAction(System.Action> taskInvocationAction); + } + + public partial class ItemsHolder + { + public ItemsHolder(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEnumerable itemGroups) { } + public System.Collections.Generic.IEnumerable ItemGroups { get { throw null; } } + public System.Collections.Generic.IEnumerable Items { get { throw null; } } + + public System.Collections.Generic.IEnumerable GetItemsOfType(string itemType) { throw null; } + } + public static partial class ItemTypeExtensions + { + public static System.Collections.Generic.IEnumerable GetItemsOfType(this System.Collections.Generic.IEnumerable items, string itemType) { throw null; } + } + public partial class ParsedItemsCheckData : CheckData + { + internal ParsedItemsCheckData() : base(default!, default) { } + public ItemsHolder ItemsHolder { get { throw null; } } + } + + public sealed partial class TaskInvocationCheckData : CheckData + { + internal TaskInvocationCheckData() : base(default!, default) { } + public System.Collections.Generic.IReadOnlyDictionary Parameters { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public Construction.ElementLocation TaskInvocationLocation { get { throw null; } } + public string TaskName { get { throw null; } } + + public partial record TaskParameter(object? Value, bool IsOutput) + { + public System.Collections.Generic.IEnumerable EnumerateStringValues() { throw null; } + public System.Collections.Generic.IEnumerable EnumerateValues() { throw null; } + } + } +} + +namespace Microsoft.Build.Experimental.BuildCheck.Infrastructure +{ + public sealed partial class CheckConfigurationEffective + { + public CheckConfigurationEffective(string ruleId, EvaluationCheckScope evaluationCheckScope, CheckResultSeverity severity) { } + public EvaluationCheckScope EvaluationCheckScope { get { throw null; } } + public bool IsEnabled { get { throw null; } } + public string RuleId { get { throw null; } } + public CheckResultSeverity Severity { get { throw null; } } + + public bool IsSameConfigurationAs(CheckConfigurationEffective? other) { throw null; } + } +} + +namespace Microsoft.Build.Experimental.FileAccess +{ + [System.Flags] + [System.CLSCompliant(false)] + public enum DesiredAccess : uint + { + GENERIC_READ = 2147483648U, + FILE_LIST_DIRECTORY = 1U, + FILE_ADD_FILE = 2U, + FILE_WRITE_DATA = 2U, + FILE_ADD_SUBDIRECTORY = 4U, + FILE_APPEND_DATA = 4U, + FILE_READ_EA = 8U, + FILE_WRITE_EA = 16U, + FILE_EXECUTE = 32U, + FILE_DELETE_CHILD = 64U, + FILE_READ_ATTRIBUTES = 128U, + FILE_WRITE_ATTRIBUTES = 256U, + DELETE = 65536U, + SYNCHRONIZE = 1048576U, + GENERIC_ALL = 268435456U, + GENERIC_EXECUTE = 536870912U, + GENERIC_WRITE = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct FileAccessData + { + private object _dummy; + private int _dummyPrimitive; + public FileAccessData(ReportedFileOperation operation, RequestedAccess requestedAccess, uint processId, uint id, uint correlationId, uint error, DesiredAccess desiredAccess, FlagsAndAttributes flagsAndAttributes, string path, string? processArgs, bool isAnAugmentedFileAccess) { } + public uint CorrelationId { get { throw null; } } + public DesiredAccess DesiredAccess { get { throw null; } } + public uint Error { get { throw null; } } + public FlagsAndAttributes FlagsAndAttributes { get { throw null; } } + public uint Id { get { throw null; } } + public bool IsAnAugmentedFileAccess { get { throw null; } } + public ReportedFileOperation Operation { get { throw null; } } + public string Path { get { throw null; } } + public string? ProcessArgs { get { throw null; } } + public uint ProcessId { get { throw null; } } + public RequestedAccess RequestedAccess { get { throw null; } } + } + + [System.Flags] + [System.CLSCompliant(false)] + public enum FlagsAndAttributes : uint + { + FILE_FLAG_WRITE_THROUGH = 2147483648U, + FILE_ATTRIBUTE_READONLY = 1U, + FILE_ATTRIBUTE_HIDDEN = 2U, + FILE_ATTRIBUTE_SYSTEM = 4U, + FILE_ATTRIBUTE_DIRECTORY = 16U, + FILE_ATTRIBUTE_ARCHIVE = 32U, + FILE_ATTRIBUTE_NORMAL = 128U, + FILE_ATTRIBUTE_TEMPORARY = 256U, + FILE_ATTRIBUTE_OFFLINE = 4096U, + FILE_ATTRIBUTE_ENCRYPED = 16384U, + FILE_FLAG_OPEN_NO_RECALL = 1048576U, + FILE_FLAG_OPEN_REPARSE_POINT = 2097152U, + FILE_FLAG_SESSION_AWARE = 8388608U, + FILE_FLAG_POSIX_SEMANTICS = 16777216U, + FILE_FLAG_BACKUP_SEMANTICS = 33554432U, + FILE_FLAG_DELETE_ON_CLOSE = 67108864U, + FILE_FLAG_SEQUENTIAL_SCAN = 134217728U, + FILE_FLAG_RANDOM_ACCESS = 268435456U, + FILE_FLAG_NO_BUFFERING = 536870912U, + FILE_FLAG_OVERLAPPED = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct ProcessData + { + private object _dummy; + private int _dummyPrimitive; + public ProcessData(string processName, uint processId, uint parentProcessId, System.DateTime creationDateTime, System.DateTime exitDateTime, uint exitCode) { } + public System.DateTime CreationDateTime { get { throw null; } } + public uint ExitCode { get { throw null; } } + public System.DateTime ExitDateTime { get { throw null; } } + public uint ParentProcessId { get { throw null; } } + public uint ProcessId { get { throw null; } } + public string ProcessName { get { throw null; } } + } + + public enum ReportedFileOperation : byte + { + Unknown = 0, + CreateFile = 1, + CreateProcess = 2, + GetFileAttributes = 3, + GetFileAttributesEx = 4, + Process = 5, + FindFirstFileEx = 6, + FindNextFile = 7, + CreateDirectory = 8, + DeleteFile = 9, + MoveFileSource = 10, + MoveFileDestination = 11, + SetFileInformationByHandleSource = 12, + SetFileInformationByHandleDest = 13, + ZwSetRenameInformationFileSource = 14, + ZwSetRenameInformationFileDest = 15, + ZwSetLinkInformationFile = 16, + ZwSetDispositionInformationFile = 17, + ZwSetModeInformationFile = 18, + ZwSetFileNameInformationFileSource = 19, + ZwSetFileNameInformationFileDest = 20, + CopyFileSource = 21, + CopyFileDestination = 22, + CreateHardLinkSource = 23, + CreateHardLinkDestination = 24, + RemoveDirectory = 25, + RemoveDirectorySource = 26, + NtQueryDirectoryFile = 27, + ZwQueryDirectoryFile = 28, + NtCreateFile = 29, + ZwCreateFile = 30, + ZwOpenFile = 31, + ChangedReadWriteToReadAccess = 32, + FirstAllowWriteCheckInProcess = 33, + StaticallyLinkedProcess = 34, + ReparsePointTarget = 35, + ReparsePointTargetCached = 36, + CreateSymbolicLinkSource = 37, + MoveFileWithProgressSource = 38, + MoveFileWithProgressDest = 39, + MultipleOperations = 40, + ProcessExit = 41, + MacLookup = 42, + MacReadlink = 43, + MacVNodeCreate = 44, + KAuthMoveSource = 45, + KAuthMoveDest = 46, + KAuthCreateHardlinkSource = 47, + KAuthCreateHardlinkDest = 48, + KAuthCopySource = 49, + KAuthCopyDest = 50, + KAuthDeleteDir = 51, + KAuthDeleteFile = 52, + KAuthOpenDir = 53, + KAuthReadFile = 54, + KAuthCreateDir = 55, + KAuthWriteFile = 56, + KAuthClose = 57, + KAuthCloseModified = 58, + KAuthGetAttributes = 59, + KAuthVNodeExecute = 60, + KAuthVNodeWrite = 61, + KAuthVNodeRead = 62, + KAuthVNodeProbe = 63, + MacVNodeWrite = 64, + MacVNodeCloneSource = 65, + MacVNodeCloneDest = 66 + } + + [System.Flags] + public enum RequestedAccess : byte + { + None = 0, + Read = 1, + Write = 2, + ReadWrite = 3, + Probe = 4, + Enumerate = 8, + EnumerationProbe = 16, + All = 31 + } +} + +namespace Microsoft.Build.Experimental.ProjectCache +{ + public partial class CacheContext + { + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, System.Collections.Generic.IReadOnlyCollection requestedTargets, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public FileSystem.MSBuildFileSystemBase FileSystem { get { throw null; } } + public Graph.ProjectGraph? Graph { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection? GraphEntryPoints { get { throw null; } } + public string? MSBuildExePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection RequestedTargets { get { throw null; } } + } + public partial class CacheResult + { + internal CacheResult() { } + public Execution.BuildResult? BuildResult { get { throw null; } } + public ProxyTargets? ProxyTargets { get { throw null; } } + public CacheResultType ResultType { get { throw null; } } + + public static CacheResult IndicateCacheHit(Execution.BuildResult buildResult) { throw null; } + public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets) { throw null; } + public static CacheResult IndicateCacheHit(System.Collections.Generic.IReadOnlyCollection targetResults) { throw null; } + public static CacheResult IndicateNonCacheHit(CacheResultType resultType) { throw null; } + } + public enum CacheResultType + { + None = 0, + CacheHit = 1, + CacheMiss = 2, + CacheNotApplicable = 3 + } + + public readonly partial struct FileAccessContext + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FileAccessContext(string projectFullPath, System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IReadOnlyList targets) { } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Targets { get { throw null; } } + } + + public abstract partial class PluginLoggerBase + { + public abstract bool HasLoggedErrors { get; protected set; } + + public abstract void LogError(string error); + public abstract void LogMessage(string message, Framework.MessageImportance? messageImportance = null); + public abstract void LogWarning(string warning); + } + public readonly partial struct PluginTargetResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PluginTargetResult(string targetName, System.Collections.Generic.IReadOnlyCollection taskItems, Execution.BuildResultCode resultCode) { } + public Execution.BuildResultCode ResultCode { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection TaskItems { get { throw null; } } + } + + public partial class ProjectCacheDescriptor + { + internal ProjectCacheDescriptor() { } + public string? PluginAssemblyPath { get { throw null; } } + public ProjectCachePluginBase? PluginInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + + public static ProjectCacheDescriptor FromAssemblyPath(string pluginAssemblyPath, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + public static ProjectCacheDescriptor FromInstance(ProjectCachePluginBase pluginInstance, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + } + public sealed partial class ProjectCacheException : Framework.BuildException.BuildExceptionBase + { + internal ProjectCacheException() { } + public string ErrorCode { get { throw null; } } + public bool HasBeenLoggedByProjectCache { get { throw null; } } + } + + public abstract partial class ProjectCachePluginBase + { + public abstract System.Threading.Tasks.Task BeginBuildAsync(CacheContext context, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task EndBuildAsync(PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task GetCacheResultAsync(Execution.BuildRequestData buildRequest, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + [System.CLSCompliant(false)] + public virtual void HandleFileAccess(FileAccessContext fileAccessContext, FileAccess.FileAccessData fileAccessData) { } + [System.CLSCompliant(false)] + public virtual void HandleProcess(FileAccessContext fileAccessContext, FileAccess.ProcessData processData) { } + public virtual System.Threading.Tasks.Task HandleProjectFinishedAsync(FileAccessContext fileAccessContext, Execution.BuildResult buildResult, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public partial class ProxyTargets + { + public ProxyTargets(System.Collections.Generic.IReadOnlyDictionary proxyTargetToRealTargetMap) { } + public System.Collections.Generic.IReadOnlyDictionary ProxyTargetToRealTargetMap { get { throw null; } } + } +} + +namespace Microsoft.Build.FileSystem +{ + public delegate bool FindPredicate(ref System.ReadOnlySpan fileName); + public delegate TResult FindTransform(ref System.ReadOnlySpan fileName); + public partial interface IDirectoryCache + { + bool DirectoryExists(string path); + System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string pattern, FindPredicate predicate, FindTransform transform); + System.Collections.Generic.IEnumerable EnumerateFiles(string path, string pattern, FindPredicate predicate, FindTransform transform); + bool FileExists(string path); + } + + public partial interface IDirectoryCacheFactory + { + IDirectoryCache GetDirectoryCacheForEvaluation(int evaluationId); + } + + public abstract partial class MSBuildFileSystemBase + { + public virtual bool DirectoryExists(string path) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFiles(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFileSystemEntries(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual bool FileExists(string path) { throw null; } + public virtual bool FileOrDirectoryExists(string path) { throw null; } + public virtual System.IO.FileAttributes GetAttributes(string path) { throw null; } + public virtual System.IO.Stream GetFileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; } + public virtual System.DateTime GetLastWriteTimeUtc(string path) { throw null; } + public virtual System.IO.TextReader ReadFile(string path) { throw null; } + public virtual byte[] ReadFileAllBytes(string path) { throw null; } + public virtual string ReadFileAllText(string path) { throw null; } + } +} + +namespace Microsoft.Build.Globbing +{ + public partial class CompositeGlob : IMSBuildGlob + { + public CompositeGlob(params IMSBuildGlob[] globs) { } + public CompositeGlob(System.Collections.Generic.IEnumerable globs) { } + public System.Collections.Generic.IEnumerable Globs { get { throw null; } } + + public static IMSBuildGlob Create(System.Collections.Generic.IEnumerable globs) { throw null; } + public bool IsMatch(string stringToMatch) { throw null; } + } + + public partial interface IMSBuildGlob + { + bool IsMatch(string stringToMatch); + } + + public partial class MSBuildGlob : IMSBuildGlob + { + internal MSBuildGlob() { } + public string FilenamePart { get { throw null; } } + public string FixedDirectoryPart { get { throw null; } } + public bool IsLegal { get { throw null; } } + public string WildcardDirectoryPart { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + public MatchInfoResult MatchInfo(string stringToMatch) { throw null; } + public static MSBuildGlob Parse(string globRoot, string fileSpec) { throw null; } + public static MSBuildGlob Parse(string fileSpec) { throw null; } + public readonly partial struct MatchInfoResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string FilenamePartMatchGroup { get { throw null; } } + public string FixedDirectoryPartMatchGroup { get { throw null; } } + public bool IsMatch { get { throw null; } } + public string WildcardDirectoryPartMatchGroup { get { throw null; } } + } + } + + public partial class MSBuildGlobWithGaps : IMSBuildGlob + { + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, params IMSBuildGlob[] gaps) { } + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, System.Collections.Generic.IEnumerable gaps) { } + public IMSBuildGlob Gaps { get { throw null; } } + public IMSBuildGlob MainGlob { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + } +} + +namespace Microsoft.Build.Globbing.Extensions +{ + public static partial class MSBuildGlobExtensions + { + public static System.Collections.Generic.IEnumerable GetParsedGlobs(this IMSBuildGlob glob) { throw null; } + } +} + +namespace Microsoft.Build.Graph +{ + public partial record GraphBuildOptions() + { + public bool Build { get { throw null; } init { } } + } + public sealed partial class GraphBuildRequestData : Execution.BuildRequestData + { + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public override System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } } + public override System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get { throw null; } } + public GraphBuildOptions GraphBuildOptions { get { throw null; } } + public Execution.HostServices? HostServices { get { throw null; } } + public override bool IsGraphRequest { get { throw null; } } + public ProjectGraph? ProjectGraph { get { throw null; } } + public System.Collections.Generic.IEnumerable? ProjectGraphEntryPoints { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + + public sealed partial class GraphBuildResult : Execution.BuildResultBase + { + internal GraphBuildResult() { } + public override bool CircularDependency { get { throw null; } } + public override System.Exception? Exception { get { throw null; } internal set { } } + + public Execution.BuildResult this[ProjectGraphNode node] { get { throw null; } } + + public override Execution.BuildResultCode OverallResult { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ResultsByNode { get { throw null; } } + public override int SubmissionId { get { throw null; } } + } + + public partial class GraphBuildSubmission : Execution.BuildSubmissionBase + { + internal GraphBuildSubmission() : base(default!, default, default!) { } + public object? AsyncContext { get { throw null; } } + public Execution.BuildManager BuildManager { get { throw null; } } + public new GraphBuildResult? BuildResult { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal override void CheckResultValidForCompletion(GraphBuildResult result) { } + protected internal override GraphBuildResult CreateFailedResult(System.Exception exception) { throw null; } + public override GraphBuildResult Execute() { throw null; } + public void ExecuteAsync(GraphBuildSubmissionCompleteCallback? callback, object? context) { } + } + + public delegate void GraphBuildSubmissionCompleteCallback(GraphBuildSubmission submission); + public sealed partial class ProjectGraph + { + public ProjectGraph(ProjectGraphEntryPoint entryPoint, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(ProjectGraphEntryPoint entryPoint) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, int degreeOfParallelism, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(string entryProjectFile) { } + public GraphConstructionMetrics ConstructionMetrics { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection EntryPointNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection GraphRoots { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodesTopologicallySorted { get { throw null; } } + + public System.Collections.Generic.IReadOnlyDictionary> GetTargetLists(System.Collections.Generic.ICollection entryProjectTargets) { throw null; } + public readonly partial struct GraphConstructionMetrics + { + private readonly int _dummyPrimitive; + public GraphConstructionMetrics(System.TimeSpan constructionTime, int nodeCount, int edgeCount) { } + public System.TimeSpan ConstructionTime { get { throw null; } } + public int EdgeCount { get { throw null; } } + public int NodeCount { get { throw null; } } + } + + public delegate Execution.ProjectInstance ProjectInstanceFactoryFunc(string projectPath, System.Collections.Generic.Dictionary globalProperties, Evaluation.ProjectCollection projectCollection); + } + public partial struct ProjectGraphEntryPoint + { + private object _dummy; + private int _dummyPrimitive; + public ProjectGraphEntryPoint(string projectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraphEntryPoint(string projectFile) { } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public string ProjectFile { get { throw null; } } + } + + public sealed partial class ProjectGraphNode + { + internal ProjectGraphNode() { } + public Execution.ProjectInstance ProjectInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectReferences { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ReferencingProjects { get { throw null; } } + } +} + +namespace Microsoft.Build.Logging +{ + public abstract partial class ArchiveData : System.IDisposable + { + internal ArchiveData() { } + public string FullPath { get { throw null; } } + + public virtual void Dispose() { } + public abstract ArchiveFile ToArchiveFile(); + } + + public sealed partial class ArchiveFile : ArchiveData + { + public ArchiveFile(string fullPath, string content) { } + public string Content { get { throw null; } } + + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class ArchiveFileEventArgs : System.EventArgs + { + public ArchiveFileEventArgs(ArchiveData archiveData) { } + public ArchiveData ArchiveData { get { throw null; } set { } } + } + + public static partial class ArchiveFileEventArgsExtensions + { + public static System.Action ToArchiveFileHandler(this System.Action stringHandler) { throw null; } + } + public sealed partial class ArchiveStream : ArchiveData + { + public ArchiveStream(string fullPath, System.IO.StreamReader contentReader) { } + public System.IO.StreamReader ContentReader { get { throw null; } } + + public override void Dispose() { } + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class BinaryLogger : Framework.ILogger + { + public ProjectImportsCollectionMode CollectProjectImports { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + public enum ProjectImportsCollectionMode + { + None = 0, + Embed = 1, + ZipFile = 2 + } + } + + public sealed partial class BinaryLogReaderErrorEventArgs : System.EventArgs + { + internal BinaryLogReaderErrorEventArgs() { } + public ReaderErrorType ErrorType { get { throw null; } } + public BinaryLogRecordKind RecordKind { get { throw null; } } + + public string GetFormattedMessage() { throw null; } + } + + public enum BinaryLogRecordKind + { + EndOfFile = 0, + BuildStarted = 1, + BuildFinished = 2, + ProjectStarted = 3, + ProjectFinished = 4, + TargetStarted = 5, + TargetFinished = 6, + TaskStarted = 7, + TaskFinished = 8, + Error = 9, + Warning = 10, + Message = 11, + TaskCommandLine = 12, + CriticalBuildMessage = 13, + ProjectEvaluationStarted = 14, + ProjectEvaluationFinished = 15, + ProjectImported = 16, + ProjectImportArchive = 17, + TargetSkipped = 18, + PropertyReassignment = 19, + UninitializedPropertyRead = 20, + EnvironmentVariableRead = 21, + PropertyInitialValueSet = 22, + NameValueList = 23, + String = 24, + TaskParameter = 25, + ResponseFileUsed = 26, + AssemblyLoad = 27, + BuildCheckMessage = 28, + BuildCheckWarning = 29, + BuildCheckError = 30, + BuildCheckTracing = 31, + BuildCheckAcquisition = 32, + BuildSubmissionStarted = 33 + } + + public sealed partial class BinaryLogReplayEventSource : EventArgsDispatcher, Framework.IEventSource, IBuildEventArgsReaderNotifications + { + public bool AllowForwardCompatibility { init { } } + public int FileFormatVersion { get { throw null; } } + public int MinimumReaderVersion { get { throw null; } } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public static BuildEventArgsReader OpenBuildEventsReader(System.IO.BinaryReader binaryReader, bool closeInput, bool allowForwardCompatibility = false) { throw null; } + public static BuildEventArgsReader OpenBuildEventsReader(string sourceFilePath) { throw null; } + public static System.IO.BinaryReader OpenReader(System.IO.Stream sourceFileStream) { throw null; } + public static System.IO.BinaryReader OpenReader(string sourceFilePath) { throw null; } + public void Replay(BuildEventArgsReader reader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, bool closeInput, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.Stream sourceFileStream, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath) { } + } + + public partial class BuildEventArgsReader : IBuildEventArgsReaderNotifications, System.IDisposable + { + public BuildEventArgsReader(System.IO.BinaryReader binaryReader, int fileFormatVersion) { } + public bool CloseInput { set { } } + public bool SkipUnknownEventParts { set { } } + public bool SkipUnknownEvents { set { } } + + public event System.Action? ArchiveFileEncountered { + add { } + remove { } + } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public event System.Action? StringReadDone { + add { } + remove { } + } + + public void Dispose() { } + public Framework.BuildEventArgs? Read() { throw null; } + } + + public delegate void ColorResetter(); + public delegate void ColorSetter(System.ConsoleColor color); + public partial class ConfigurableForwardingLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector? BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + protected virtual void ForwardToCentralLogger(Framework.BuildEventArgs e) { } + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public virtual void Shutdown() { } + } + + public partial class ConsoleLogger : Framework.INodeLogger, Framework.ILogger + { + public ConsoleLogger() { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity, WriteHandler write, ColorSetter colorSet, ColorResetter colorReset) { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity) { } + public string Parameters { get { throw null; } set { } } + public bool ShowSummary { get { throw null; } set { } } + public bool SkipProjectStartedText { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + protected WriteHandler WriteHandler { get { throw null; } set { } } + + public void ApplyParameter(string parameterName, string parameterValue) { } + public void BuildFinishedHandler(object sender, Framework.BuildFinishedEventArgs e) { } + public void BuildStartedHandler(object sender, Framework.BuildStartedEventArgs e) { } + public void CustomEventHandler(object sender, Framework.CustomBuildEventArgs e) { } + public void ErrorHandler(object sender, Framework.BuildErrorEventArgs e) { } + public virtual void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public void MessageHandler(object sender, Framework.BuildMessageEventArgs e) { } + public void ProjectFinishedHandler(object sender, Framework.ProjectFinishedEventArgs e) { } + public void ProjectStartedHandler(object sender, Framework.ProjectStartedEventArgs e) { } + public virtual void Shutdown() { } + public void TargetFinishedHandler(object sender, Framework.TargetFinishedEventArgs e) { } + public void TargetStartedHandler(object sender, Framework.TargetStartedEventArgs e) { } + public void TaskFinishedHandler(object sender, Framework.TaskFinishedEventArgs e) { } + public void TaskStartedHandler(object sender, Framework.TaskStartedEventArgs e) { } + public void WarningHandler(object sender, Framework.BuildWarningEventArgs e) { } + } + + public partial class DistributedFileLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public partial class EventArgsDispatcher : Framework.IEventSource + { + public event Framework.AnyEventHandler AnyEventRaised { + add { } + remove { } + } + + public event Framework.BuildFinishedEventHandler BuildFinished { + add { } + remove { } + } + + public event Framework.BuildStartedEventHandler BuildStarted { + add { } + remove { } + } + + public event Framework.CustomBuildEventHandler CustomEventRaised { + add { } + remove { } + } + + public event Framework.BuildErrorEventHandler ErrorRaised { + add { } + remove { } + } + + public event Framework.BuildMessageEventHandler MessageRaised { + add { } + remove { } + } + + public event Framework.ProjectFinishedEventHandler ProjectFinished { + add { } + remove { } + } + + public event Framework.ProjectStartedEventHandler ProjectStarted { + add { } + remove { } + } + + public event Framework.BuildStatusEventHandler StatusEventRaised { + add { } + remove { } + } + + public event Framework.TargetFinishedEventHandler TargetFinished { + add { } + remove { } + } + + public event Framework.TargetStartedEventHandler TargetStarted { + add { } + remove { } + } + + public event Framework.TaskFinishedEventHandler TaskFinished { + add { } + remove { } + } + + public event Framework.TaskStartedEventHandler TaskStarted { + add { } + remove { } + } + + public event Framework.BuildWarningEventHandler WarningRaised { + add { } + remove { } + } + + public void Dispatch(Framework.BuildEventArgs buildEvent) { } + } + + public partial class FileLogger : ConsoleLogger + { + public override void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public override void Initialize(Framework.IEventSource eventSource) { } + public override void Shutdown() { } + } + + public partial class ForwardingLoggerRecord + { + public ForwardingLoggerRecord(Framework.ILogger centralLogger, LoggerDescription forwardingLoggerDescription) { } + public Framework.ILogger CentralLogger { get { throw null; } } + public LoggerDescription ForwardingLoggerDescription { get { throw null; } } + } + public partial interface IBuildEventArgsReaderNotifications + { + event System.Action? ArchiveFileEncountered; + event System.Action? RecoverableReadError; + event System.Action? StringReadDone; + } + + public partial class LoggerDescription + { + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity, bool isOptional) { } + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity) { } + public bool IsOptional { get { throw null; } } + public string LoggerSwitchParameters { get { throw null; } } + public string Name { get { throw null; } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } } + + public Framework.ILogger CreateLogger() { throw null; } + } + public sealed partial class ProfilerLogger : Framework.ILogger + { + public ProfilerLogger(string fileToLog) { } + public string FileToLog { get { throw null; } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public enum ReaderErrorType + { + UnknownEventType = 0, + UnknownEventData = 1, + UnknownFormatOfEventData = 2 + } + + public sealed partial class StringReadEventArgs : System.EventArgs + { + public StringReadEventArgs(string str) { } + public string OriginalString { get { throw null; } } + public string StringToBeUsed { get { throw null; } set { } } + } + + public delegate void WriteHandler(string message); +} + +namespace Microsoft.Build.Logging.SimpleErrorLogger +{ + public sealed partial class SimpleErrorLogger : Framework.INodeLogger, Framework.ILogger + { + public bool HasLoggedErrors { get { throw null; } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } +} + +namespace Microsoft.Build.ObjectModelRemoting +{ + public abstract partial class ExternalProjectsProvider + { + public virtual void Disconnected(Evaluation.ProjectCollection collection) { } + public abstract System.Collections.Generic.ICollection GetLoadedProjects(string filePath); + public static void SetExternalProjectsProvider(Evaluation.ProjectCollection collection, ExternalProjectsProvider link) { } + } + public partial class LinkedObjectsFactory + { + internal LinkedObjectsFactory() { } + public Evaluation.ProjectCollection Collection { get { throw null; } } + + public Evaluation.ResolvedImport Create(Construction.ProjectImportElement importingElement, Construction.ProjectRootElement importedProject, int versionEvaluated, Framework.SdkResult sdkResult, bool isImported) { throw null; } + public Construction.ProjectChooseElement Create(ProjectChooseElementLink link) { throw null; } + public Construction.ProjectExtensionsElement Create(ProjectExtensionsElementLink link) { throw null; } + public Construction.ProjectImportElement Create(ProjectImportElementLink link) { throw null; } + public Construction.ProjectImportGroupElement Create(ProjectImportGroupElementLink link) { throw null; } + public Construction.ProjectItemDefinitionElement Create(ProjectItemDefinitionElementLink link) { throw null; } + public Construction.ProjectItemDefinitionGroupElement Create(ProjectItemDefinitionGroupElementLink link) { throw null; } + public Evaluation.ProjectItemDefinition Create(ProjectItemDefinitionLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectItemElement Create(ProjectItemElementLink link) { throw null; } + public Construction.ProjectItemGroupElement Create(ProjectItemGroupElementLink link) { throw null; } + public Evaluation.ProjectItem Create(ProjectItemLink link, Evaluation.Project project = null, Construction.ProjectItemElement xml = null) { throw null; } + public Evaluation.Project Create(ProjectLink link) { throw null; } + public Construction.ProjectMetadataElement Create(ProjectMetadataElementLink link) { throw null; } + public Evaluation.ProjectMetadata Create(ProjectMetadataLink link, object parent = null) { throw null; } + public Construction.ProjectOnErrorElement Create(ProjectOnErrorElementLink link) { throw null; } + public Construction.ProjectOtherwiseElement Create(ProjectOtherwiseElementLink link) { throw null; } + public Construction.ProjectOutputElement Create(ProjectOutputElementLink link) { throw null; } + public Construction.ProjectPropertyElement Create(ProjectPropertyElementLink link) { throw null; } + public Construction.ProjectPropertyGroupElement Create(ProjectPropertyGroupElementLink link) { throw null; } + public Evaluation.ProjectProperty Create(ProjectPropertyLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectRootElement Create(ProjectRootElementLink link) { throw null; } + public Construction.ProjectSdkElement Create(ProjectSdkElementLink link) { throw null; } + public Construction.ProjectTargetElement Create(ProjectTargetElementLink link) { throw null; } + public Construction.ProjectTaskElement Create(ProjectTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskBodyElement Create(ProjectUsingTaskBodyElementLink link) { throw null; } + public Construction.ProjectUsingTaskElement Create(ProjectUsingTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskParameterElement Create(ProjectUsingTaskParameterElementLink link) { throw null; } + public Construction.ProjectWhenElement Create(ProjectWhenElementLink link) { throw null; } + public Construction.UsingTaskParameterGroupElement Create(UsingTaskParameterGroupElementLink link) { throw null; } + public static LinkedObjectsFactory Get(Evaluation.ProjectCollection collection) { throw null; } + public static object GetLink(object obj) { throw null; } + public static System.Collections.Generic.IReadOnlyCollection GetLocalProjects(Evaluation.ProjectCollection collection, string projectFile = null) { throw null; } + public static bool IsLocal(object obj) { throw null; } + } + public abstract partial class ProjectChooseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectElementContainerLink : ProjectElementLink + { + public abstract int Count { get; } + public abstract Construction.ProjectElement FirstChild { get; } + public abstract Construction.ProjectElement LastChild { get; } + + public abstract void AddInitialChild(Construction.ProjectElement child); + public static void AddInitialChild(Construction.ProjectElementContainer xml, Construction.ProjectElement child) { } + public static Construction.ProjectElementContainer DeepClone(Construction.ProjectElementContainer xml, Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent) { throw null; } + public abstract Construction.ProjectElementContainer DeepClone(Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent); + public abstract void InsertAfterChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void InsertBeforeChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void RemoveChild(Construction.ProjectElement child); + } + + public abstract partial class ProjectElementLink + { + public abstract System.Collections.Generic.IReadOnlyCollection Attributes { get; } + public abstract Construction.ProjectRootElement ContainingProject { get; } + public abstract string ElementName { get; } + public abstract bool ExpressedAsAttribute { get; set; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ProjectElement NextSibling { get; } + public abstract string OuterElement { get; } + public abstract Construction.ProjectElementContainer Parent { get; } + public abstract Construction.ProjectElement PreviousSibling { get; } + public abstract string PureText { get; } + + public abstract void CopyFrom(Construction.ProjectElement element); + public static Construction.ProjectElement CreateNewInstance(Construction.ProjectElement xml, Construction.ProjectRootElement owner) { throw null; } + public abstract Construction.ProjectElement CreateNewInstance(Construction.ProjectRootElement owner); + public static Construction.ElementLocation GetAttributeLocation(Construction.ProjectElement xml, string attributeName) { throw null; } + public abstract Construction.ElementLocation GetAttributeLocation(string attributeName); + public static System.Collections.Generic.IReadOnlyCollection GetAttributes(Construction.ProjectElement xml) { throw null; } + public static string GetAttributeValue(Construction.ProjectElement xml, string attributeName, bool nullIfNotExists) { throw null; } + public abstract string GetAttributeValue(string attributeName, bool nullIfNotExists); + public static bool GetExpressedAsAttribute(Construction.ProjectElement xml) { throw null; } + public static string GetPureText(Construction.ProjectElement xml) { throw null; } + public static void MarkDirty(Construction.ProjectElement xml, string reason, string param) { } + public static void SetExpressedAsAttribute(Construction.ProjectElement xml, bool value) { } + public static void SetOrRemoveAttribute(Construction.ProjectElement xml, string name, string value, bool clearAttributeCache, string reason, string param) { } + public abstract void SetOrRemoveAttribute(string name, string value, bool clearAttributeCache, string reason, string param); + } + public abstract partial class ProjectExtensionsElementLink : ProjectElementLink + { + public abstract string Content { get; set; } + + public abstract string GetSubElement(string name); + public abstract void SetSubElement(string name, string value); + } + + public abstract partial class ProjectImportElementLink : ProjectElementLink + { + public abstract Construction.ImplicitImportLocation ImplicitImportLocation { get; } + public abstract Construction.ProjectElement OriginalElement { get; } + } + + public abstract partial class ProjectImportGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionLink + { + public abstract string ItemType { get; } + public abstract System.Collections.Generic.ICollection Metadata { get; } + public abstract Evaluation.Project Project { get; } + + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue); + } + public abstract partial class ProjectItemElementLink : ProjectElementContainerLink + { + public abstract void ChangeItemType(string newType); + } + + public abstract partial class ProjectItemGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemLink + { + public abstract System.Collections.Generic.ICollection DirectMetadata { get; } + public abstract string EvaluatedInclude { get; } + public abstract System.Collections.Generic.ICollection MetadataCollection { get; } + public abstract Evaluation.Project Project { get; } + public abstract Construction.ProjectItemElement Xml { get; } + + public abstract void ChangeItemType(string newItemType); + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract bool HasMetadata(string name); + public abstract bool RemoveMetadata(string name); + public abstract void Rename(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems); + } + public abstract partial class ProjectLink + { + public abstract System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedItems { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedProperties { get; } + public abstract System.Collections.Generic.IDictionary> ConditionedProperties { get; } + public abstract bool DisableMarkDirty { get; set; } + public abstract System.Collections.Generic.IDictionary GlobalProperties { get; } + public abstract System.Collections.Generic.IList Imports { get; } + public abstract System.Collections.Generic.IList ImportsIncludingDuplicates { get; } + public abstract bool IsBuildEnabled { get; set; } + public abstract bool IsDirty { get; } + public abstract System.Collections.Generic.IDictionary ItemDefinitions { get; } + public abstract System.Collections.Generic.ICollection Items { get; } + public abstract System.Collections.Generic.ICollection ItemsIgnoringCondition { get; } + public abstract System.Collections.Generic.ICollection ItemTypes { get; } + public abstract int LastEvaluationId { get; } + public abstract System.Collections.Generic.ICollection Properties { get; } + public abstract bool SkipEvaluation { get; set; } + public abstract string SubToolsetVersion { get; } + public abstract System.Collections.Generic.IDictionary Targets { get; } + public abstract bool ThrowInsteadOfSplittingItemElement { get; set; } + public abstract string ToolsVersion { get; } + public abstract Construction.ProjectRootElement Xml { get; } + + public abstract System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Evaluation.Context.EvaluationContext evaluationContext); + public abstract Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Evaluation.Context.EvaluationContext evaluationContext); + public abstract string ExpandString(string unexpandedValue); + public abstract System.Collections.Generic.List GetAllGlobs(Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetAllGlobs(string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(Evaluation.ProjectItem item, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.ICollection GetItems(string itemType); + public abstract System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude); + public abstract System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType); + public abstract System.Collections.Generic.IEnumerable GetLogicalProject(); + public abstract Evaluation.ProjectProperty GetProperty(string name); + public abstract string GetPropertyValue(string name); + public virtual bool GlobalPropertiesContains(string key) { throw null; } + public virtual int GlobalPropertiesCount() { throw null; } + public virtual System.Collections.Generic.IEnumerable> GlobalPropertiesEnumerable() { throw null; } + public abstract void MarkDirty(); + public abstract void ReevaluateIfNecessary(Evaluation.Context.EvaluationContext evaluationContext); + public abstract bool RemoveGlobalProperty(string name); + public abstract bool RemoveItem(Evaluation.ProjectItem item); + public abstract void RemoveItems(System.Collections.Generic.IEnumerable items); + public abstract bool RemoveProperty(Evaluation.ProjectProperty property); + public abstract void SaveLogicalProject(System.IO.TextWriter writer); + public abstract bool SetGlobalProperty(string name, string escapedValue); + public abstract Evaluation.ProjectProperty SetProperty(string name, string unevaluatedValue); + public abstract void Unload(); + } + public abstract partial class ProjectMetadataElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectMetadataLink + { + public abstract string EvaluatedValueEscaped { get; } + public abstract object Parent { get; } + public abstract Evaluation.ProjectMetadata Predecessor { get; } + public abstract Construction.ProjectMetadataElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectMetadata metadata) { throw null; } + public static object GetParent(Evaluation.ProjectMetadata metadata) { throw null; } + } + public abstract partial class ProjectOnErrorElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectOtherwiseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectOutputElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectPropertyElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectPropertyGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectPropertyLink + { + public abstract string EvaluatedIncludeEscaped { get; } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public abstract string Name { get; } + public abstract Evaluation.ProjectProperty Predecessor { get; } + public abstract Evaluation.Project Project { get; } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectProperty property) { throw null; } + } + public abstract partial class ProjectRootElementLink : ProjectElementContainerLink + { + public abstract string DirectoryPath { get; } + public abstract System.Text.Encoding Encoding { get; } + public abstract string FullPath { get; set; } + public abstract bool HasUnsavedChanges { get; } + public abstract System.DateTime LastWriteTimeWhenRead { get; } + public abstract bool PreserveFormatting { get; } + public abstract Construction.ElementLocation ProjectFileLocation { get; } + public abstract string RawXml { get; } + public abstract System.DateTime TimeLastChanged { get; } + public abstract int Version { get; } + + public abstract Construction.ProjectChooseElement CreateChooseElement(); + public abstract Construction.ProjectImportElement CreateImportElement(string project); + public abstract Construction.ProjectImportGroupElement CreateImportGroupElement(); + public abstract Construction.ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType); + public abstract Construction.ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement(); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType, string include); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType); + public abstract Construction.ProjectItemGroupElement CreateItemGroupElement(); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name); + public abstract Construction.ProjectOnErrorElement CreateOnErrorElement(string executeTargets); + public abstract Construction.ProjectOtherwiseElement CreateOtherwiseElement(); + public abstract Construction.ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName); + public abstract Construction.ProjectExtensionsElement CreateProjectExtensionsElement(); + public abstract Construction.ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion); + public abstract Construction.ProjectPropertyElement CreatePropertyElement(string name); + public abstract Construction.ProjectPropertyGroupElement CreatePropertyGroupElement(); + public abstract Construction.ProjectTargetElement CreateTargetElement(string name); + public abstract Construction.ProjectTaskElement CreateTaskElement(string name); + public abstract Construction.ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body); + public abstract Construction.ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture); + public abstract Construction.ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType); + public abstract Construction.UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement(); + public abstract Construction.ProjectWhenElement CreateWhenElement(string condition); + public abstract void MarkDirty(string reason, string param); + public abstract void ReloadFrom(string path, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void Save(System.IO.TextWriter writer); + public abstract void Save(System.Text.Encoding saveEncoding); + } + + public abstract partial class ProjectSdkElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectTargetElementLink : ProjectElementContainerLink + { + public abstract string Name { get; set; } + public abstract string Returns { set; } + } + + public abstract partial class ProjectTaskElementLink : ProjectElementContainerLink + { + public abstract System.Collections.Generic.IEnumerable> ParameterLocations { get; } + public abstract System.Collections.Generic.IDictionary Parameters { get; } + + public abstract string GetParameter(string name); + public abstract void RemoveAllParameters(); + public abstract void RemoveParameter(string name); + public abstract void SetParameter(string name, string unevaluatedValue); + } + + public abstract partial class ProjectUsingTaskBodyElementLink : ProjectElementLink + { + public abstract string TaskBody { get; set; } + } + + public abstract partial class ProjectUsingTaskElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectUsingTaskParameterElementLink : ProjectElementLink + { + public abstract string Name { get; set; } + } + + public abstract partial class ProjectWhenElementLink : ProjectElementContainerLink + { + } + + public abstract partial class UsingTaskParameterGroupElementLink : ProjectElementContainerLink + { + } + + public partial struct XmlAttributeLink + { + private object _dummy; + private int _dummyPrimitive; + public XmlAttributeLink(string localName, string value, string namespaceUri) { } + public string LocalName { get { throw null; } } + public string NamespaceURI { get { throw null; } } + public string Value { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.14.28/Customizations.cs b/src/referencePackages/src/microsoft.build/17.14.28/Customizations.cs new file mode 100644 index 0000000000..7cba5168c9 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.14.28/Customizations.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual additions to address missing interface members +// The generator doesn't properly emit all IBuildEventArgsReaderNotifications members +namespace Microsoft.Build.Logging +{ + public sealed partial class BinaryLogReplayEventSource + { + public event System.Action? ArchiveFileEncountered + { + add { } + remove { } + } + + public event System.Action? StringReadDone + { + add { } + remove { } + } + } +} diff --git a/src/referencePackages/src/microsoft.build/17.14.28/Microsoft.Build.17.14.28.csproj b/src/referencePackages/src/microsoft.build/17.14.28/Microsoft.Build.17.14.28.csproj new file mode 100644 index 0000000000..fad055a8d9 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.14.28/Microsoft.Build.17.14.28.csproj @@ -0,0 +1,18 @@ + + + + net9.0 + 17.14.28 + Microsoft.Build + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build/17.14.28/microsoft.build.nuspec b/src/referencePackages/src/microsoft.build/17.14.28/microsoft.build.nuspec new file mode 100644 index 0000000000..ae85793f45 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.14.28/microsoft.build.nuspec @@ -0,0 +1,28 @@ + + + + Microsoft.Build + 17.14.28 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://aka.ms/msbuildicon + This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.build/17.14.28/ref/net9.0/Microsoft.Build.cs b/src/referencePackages/src/microsoft.build/17.14.28/ref/net9.0/Microsoft.Build.cs new file mode 100644 index 0000000000..654b201877 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.14.28/ref/net9.0/Microsoft.Build.cs @@ -0,0 +1,3131 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Framework.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Engine.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.BuildCheck.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.UnitTests.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Build.Tasks.Cop, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories)] +[assembly: System.Resources.NeutralResourcesLanguage("en")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Utilities.Core", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.CompilerServices.Dependency("BuildXL.Processes", System.Runtime.CompilerServices.LoadHint.Sometimes)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Build.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("15.1.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Build.Execution.BuildRequestDataFlags))] +namespace Microsoft.Build.BackEnd.SdkResolution +{ + public partial class SdkResolverException : Framework.BuildException.BuildExceptionBase + { + public SdkResolverException(string resourceName, Framework.SdkResolver resolver, Framework.SdkReference sdk, System.Exception innerException, params string[] args) { } + public Framework.SdkResolver Resolver { get { throw null; } } + public Framework.SdkReference Sdk { get { throw null; } } + } + + public partial class SdkResolverServiceException : Framework.BuildException.BuildExceptionBase + { + public SdkResolverServiceException(string message, params string[] args) { } + } +} + +namespace Microsoft.Build.BuildCheck.Infrastructure +{ + public static partial class CheckScopeClassifier + { + public static System.Func IsScopingReady { get { throw null; } } + + public static bool IsActionInObservedScope(Experimental.BuildCheck.EvaluationCheckScope scope, Shared.IMSBuildElementLocation? location, string projectFileFullPath) { throw null; } + public static bool IsActionInObservedScope(Experimental.BuildCheck.EvaluationCheckScope scope, string? filePathOfEvent, string projectFileFullPath) { throw null; } + } +} + +namespace Microsoft.Build.Construction +{ + public abstract partial class ElementLocation : Shared.IMSBuildElementLocation + { + public abstract int Column { get; } + public static ElementLocation EmptyLocation { get { throw null; } } + public abstract string File { get; } + public abstract int Line { get; } + public string LocationString { get { throw null; } } + + public static ElementLocation Create(string file, int line, int column) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public override string ToString() { throw null; } + } + + public enum ImplicitImportLocation + { + None = 0, + Top = 1, + Bottom = 2 + } + + public partial class ProjectChooseElement : ProjectElementContainer + { + internal ProjectChooseElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public ProjectOtherwiseElement OtherwiseElement { get { throw null; } } + public System.Collections.Generic.ICollection WhenElements { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectConfigurationInSolution + { + internal ProjectConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public bool IncludeInBuild { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public abstract partial class ProjectElement : Framework.IProjectElement + { + internal ProjectElement() { } + public System.Collections.Generic.IEnumerable AllParents { get { throw null; } } + public virtual string Condition { get { throw null; } set { } } + public virtual ElementLocation ConditionLocation { get { throw null; } } + public ProjectRootElement ContainingProject { get { throw null; } } + public string ElementName { get { throw null; } } + public string Label { get { throw null; } set { } } + public ElementLocation LabelLocation { get { throw null; } } + public ElementLocation Location { get { throw null; } } + public ProjectElement NextSibling { get { throw null; } } + public string OuterElement { get { throw null; } } + public ProjectElementContainer Parent { get { throw null; } } + public ProjectElement PreviousSibling { get { throw null; } } + + public ProjectElement Clone() { throw null; } + protected internal virtual ProjectElement Clone(ProjectRootElement factory) { throw null; } + public virtual void CopyFrom(ProjectElement element) { } + protected abstract ProjectElement CreateNewInstance(ProjectRootElement owner); + protected virtual bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public abstract partial class ProjectElementContainer : ProjectElement + { + internal ProjectElementContainer() { } + public System.Collections.Generic.IEnumerable AllChildren { get { throw null; } } + public System.Collections.Generic.ICollection Children { get { throw null; } } + public System.Collections.Generic.ICollection ChildrenReversed { get { throw null; } } + public int Count { get { throw null; } } + public ProjectElement FirstChild { get { throw null; } } + public ProjectElement LastChild { get { throw null; } } + + public void AppendChild(ProjectElement child) { } + protected internal virtual ProjectElementContainer DeepClone(ProjectRootElement factory, ProjectElementContainer parent) { throw null; } + public virtual void DeepCopyFrom(ProjectElementContainer element) { } + public void InsertAfterChild(ProjectElement child, ProjectElement reference) { } + public void InsertBeforeChild(ProjectElement child, ProjectElement reference) { } + public void PrependChild(ProjectElement child) { } + public void RemoveAllChildren() { } + public void RemoveChild(ProjectElement child) { } + } + + public partial class ProjectExtensionsElement : ProjectElement + { + internal ProjectExtensionsElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Content { get { throw null; } set { } } + + public string this[string name] { get { throw null; } set { } } + + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportElement : ProjectElement + { + internal ProjectImportElement() { } + public ImplicitImportLocation ImplicitImportLocation { get { throw null; } } + public string MinimumVersion { get { throw null; } set { } } + public ProjectElement OriginalElement { get { throw null; } } + public string Project { get { throw null; } set { } } + public ElementLocation ProjectLocation { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectImportGroupElement : ProjectElementContainer + { + internal ProjectImportGroupElement() { } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class ProjectInSolution + { + internal ProjectInSolution() { } + public string AbsolutePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + public string ParentProjectGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ProjectConfigurations { get { throw null; } } + public string ProjectGuid { get { throw null; } } + public string ProjectName { get { throw null; } } + public SolutionProjectType ProjectType { get { throw null; } set { } } + public string RelativePath { get { throw null; } } + } + public partial class ProjectItemDefinitionElement : ProjectElementContainer + { + internal ProjectItemDefinitionElement() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemDefinitionGroupElement : ProjectElementContainer + { + internal ProjectItemDefinitionGroupElement() { } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectItemElement : ProjectElementContainer + { + internal ProjectItemElement() { } + public string Exclude { get { throw null; } set { } } + public ElementLocation ExcludeLocation { get { throw null; } } + public bool HasMetadata { get { throw null; } } + public string Include { get { throw null; } set { } } + public ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public string KeepDuplicates { get { throw null; } set { } } + public ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } set { } } + public ElementLocation KeepMetadataLocation { get { throw null; } } + public string MatchOnMetadata { get { throw null; } set { } } + public ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } set { } } + public ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } set { } } + public ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } set { } } + public ElementLocation RemoveMetadataLocation { get { throw null; } } + public string Update { get { throw null; } set { } } + public ElementLocation UpdateLocation { get { throw null; } } + + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue, bool expressAsAttribute) { throw null; } + public ProjectMetadataElement AddMetadata(string name, string unevaluatedValue) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + protected override bool ShouldCloneXmlAttribute(System.Xml.XmlAttribute attribute) { throw null; } + } + + public partial class ProjectItemGroupElement : ProjectElementContainer + { + internal ProjectItemGroupElement() { } + public System.Collections.Generic.ICollection Items { get { throw null; } } + + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectMetadataElement : ProjectElement + { + internal ProjectMetadataElement() { } + public bool ExpressedAsAttribute { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOnErrorElement : ProjectElement + { + internal ProjectOnErrorElement() { } + public string ExecuteTargetsAttribute { get { throw null; } set { } } + public ElementLocation ExecuteTargetsLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOtherwiseElement : ProjectElementContainer + { + internal ProjectOtherwiseElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectOutputElement : ProjectElement + { + internal ProjectOutputElement() { } + public bool IsOutputItem { get { throw null; } } + public bool IsOutputProperty { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public ElementLocation ItemTypeLocation { get { throw null; } } + public string PropertyName { get { throw null; } set { } } + public ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } set { } } + public ElementLocation TaskParameterLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyElement : ProjectElement + { + internal ProjectPropertyElement() { } + public string Name { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectPropertyGroupElement : ProjectElementContainer + { + internal ProjectPropertyGroupElement() { } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertiesReversed { get { throw null; } } + + public ProjectPropertyElement AddProperty(string name, string unevaluatedValue) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectPropertyElement SetProperty(string name, string unevaluatedValue) { throw null; } + } + + public partial class ProjectRootElement : ProjectElementContainer + { + internal ProjectRootElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string DefaultTargets { get { throw null; } set { } } + public ElementLocation DefaultTargetsLocation { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public System.Text.Encoding Encoding { get { throw null; } } + public string EscapedFullPath { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public bool HasUnsavedChanges { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroups { get { throw null; } } + public System.Collections.Generic.ICollection ImportGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Imports { get { throw null; } } + public string InitialTargets { get { throw null; } set { } } + public ElementLocation InitialTargetsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitionGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroupsReversed { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.DateTime LastWriteTimeWhenRead { get { throw null; } } + public bool PreserveFormatting { get { throw null; } } + public ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroupsReversed { get { throw null; } } + public string RawXml { get { throw null; } } + public string Sdk { get { throw null; } set { } } + public ElementLocation SdkLocation { get { throw null; } } + public System.Collections.Generic.ICollection Targets { get { throw null; } } + public System.DateTime TimeLastChanged { get { throw null; } } + public string ToolsVersion { get { throw null; } set { } } + public ElementLocation ToolsVersionLocation { get { throw null; } } + public string TreatAsLocalProperty { get { throw null; } set { } } + public ElementLocation TreatAsLocalPropertyLocation { get { throw null; } } + public System.Collections.Generic.ICollection UsingTasks { get { throw null; } } + public int Version { get { throw null; } } + + public ProjectImportElement AddImport(string project) { throw null; } + public ProjectImportGroupElement AddImportGroup() { throw null; } + public ProjectItemElement AddItem(string itemType, string include, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemElement AddItem(string itemType, string include) { throw null; } + public ProjectItemDefinitionElement AddItemDefinition(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement AddItemDefinitionGroup() { throw null; } + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyElement AddProperty(string name, string value) { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTargetElement AddTarget(string name) { throw null; } + public ProjectUsingTaskElement AddUsingTask(string name, string assemblyFile, string assemblyName) { throw null; } + public static ProjectRootElement Create() { throw null; } + public static ProjectRootElement Create(Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions projectFileOptions) { throw null; } + public static ProjectRootElement Create(Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection, Evaluation.NewProjectFileOptions newProjectFileOptions) { throw null; } + public static ProjectRootElement Create(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(string path) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection, bool preserveFormatting) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Create(System.Xml.XmlReader xmlReader) { throw null; } + public ProjectChooseElement CreateChooseElement() { throw null; } + public ProjectImportElement CreateImportElement(string project) { throw null; } + public ProjectImportGroupElement CreateImportGroupElement() { throw null; } + public ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType) { throw null; } + public ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement() { throw null; } + public ProjectItemElement CreateItemElement(string itemType, string include) { throw null; } + public ProjectItemElement CreateItemElement(string itemType) { throw null; } + public ProjectItemGroupElement CreateItemGroupElement() { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue, ElementLocation location) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue) { throw null; } + public ProjectMetadataElement CreateMetadataElement(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public ProjectOnErrorElement CreateOnErrorElement(string executeTargets) { throw null; } + public ProjectOtherwiseElement CreateOtherwiseElement() { throw null; } + public ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName) { throw null; } + public ProjectExtensionsElement CreateProjectExtensionsElement() { throw null; } + public ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion) { throw null; } + public ProjectPropertyElement CreatePropertyElement(string name) { throw null; } + public ProjectPropertyGroupElement CreatePropertyGroupElement() { throw null; } + public ProjectTargetElement CreateTargetElement(string name) { throw null; } + public ProjectTaskElement CreateTaskElement(string name) { throw null; } + public ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture) { throw null; } + public ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName) { throw null; } + public ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType) { throw null; } + public UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement() { throw null; } + public ProjectWhenElement CreateWhenElement(string condition) { throw null; } + public ProjectRootElement DeepClone() { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement Open(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement Open(string path) { throw null; } + public void Reload(bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(string path, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) { } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding saveEncoding) { } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection, bool? preserveFormatting) { throw null; } + public static ProjectRootElement TryOpen(string path, Evaluation.ProjectCollection projectCollection) { throw null; } + public static ProjectRootElement TryOpen(string path) { throw null; } + } + + public partial class ProjectSdkElement : ProjectElementContainer + { + internal ProjectSdkElement() { } + public string MinimumVersion { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTargetElement : ProjectElementContainer + { + internal ProjectTargetElement() { } + public string AfterTargets { get { throw null; } set { } } + public ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } set { } } + public ElementLocation BeforeTargetsLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } set { } } + public ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string Inputs { get { throw null; } set { } } + public ElementLocation InputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } set { } } + public ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public ElementLocation NameLocation { get { throw null; } } + public System.Collections.Generic.ICollection OnErrors { get { throw null; } } + public string Outputs { get { throw null; } set { } } + public ElementLocation OutputsLocation { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + public string Returns { get { throw null; } set { } } + public ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + + public ProjectItemGroupElement AddItemGroup() { throw null; } + public ProjectPropertyGroupElement AddPropertyGroup() { throw null; } + public ProjectTaskElement AddTask(string taskName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectTaskElement : ProjectElementContainer + { + internal ProjectTaskElement() { } + public string ContinueOnError { get { throw null; } set { } } + public ElementLocation ContinueOnErrorLocation { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } set { } } + public ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } set { } } + public ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.ICollection Outputs { get { throw null; } } + public System.Collections.Generic.IEnumerable> ParameterLocations { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType, string condition) { throw null; } + public ProjectOutputElement AddOutputItem(string taskParameter, string itemType) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName, string condition) { throw null; } + public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName) { throw null; } + public override void CopyFrom(ProjectElement element) { } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + public string GetParameter(string name) { throw null; } + public void RemoveAllParameters() { } + public void RemoveParameter(string name) { } + public void SetParameter(string name, string unevaluatedValue) { } + } + + public partial class ProjectUsingTaskBodyElement : ProjectElement + { + internal ProjectUsingTaskBodyElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Evaluate { get { throw null; } set { } } + public ElementLocation EvaluateLocation { get { throw null; } } + public string TaskBody { get { throw null; } set { } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskElement : ProjectElementContainer + { + internal ProjectUsingTaskElement() { } + public string Architecture { get { throw null; } set { } } + public ElementLocation ArchitectureLocation { get { throw null; } } + public string AssemblyFile { get { throw null; } set { } } + public ElementLocation AssemblyFileLocation { get { throw null; } } + public string AssemblyName { get { throw null; } set { } } + public ElementLocation AssemblyNameLocation { get { throw null; } } + public string Override { get { throw null; } set { } } + public ElementLocation OverrideLocation { get { throw null; } } + public UsingTaskParameterGroupElement ParameterGroup { get { throw null; } } + public string Runtime { get { throw null; } set { } } + public ElementLocation RuntimeLocation { get { throw null; } } + public ProjectUsingTaskBodyElement TaskBody { get { throw null; } } + public string TaskFactory { get { throw null; } set { } } + public ElementLocation TaskFactoryLocation { get { throw null; } } + public string TaskName { get { throw null; } set { } } + public ElementLocation TaskNameLocation { get { throw null; } } + + public UsingTaskParameterGroupElement AddParameterGroup() { throw null; } + public ProjectUsingTaskBodyElement AddUsingTaskBody(string evaluate, string taskBody) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectUsingTaskParameterElement : ProjectElement + { + internal ProjectUsingTaskParameterElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public string Name { get { throw null; } set { } } + public string Output { get { throw null; } set { } } + public ElementLocation OutputLocation { get { throw null; } } + public string ParameterType { get { throw null; } set { } } + public ElementLocation ParameterTypeLocation { get { throw null; } } + public string Required { get { throw null; } set { } } + public ElementLocation RequiredLocation { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public partial class ProjectWhenElement : ProjectElementContainer + { + internal ProjectWhenElement() { } + public System.Collections.Generic.ICollection ChooseElements { get { throw null; } } + public System.Collections.Generic.ICollection ItemGroups { get { throw null; } } + public System.Collections.Generic.ICollection PropertyGroups { get { throw null; } } + + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } + + public sealed partial class SolutionConfigurationInSolution + { + internal SolutionConfigurationInSolution() { } + public string ConfigurationName { get { throw null; } } + public string FullName { get { throw null; } } + public string PlatformName { get { throw null; } } + } + public sealed partial class SolutionFile + { + internal SolutionFile() { } + public System.Collections.Generic.IReadOnlyDictionary ProjectsByGuid { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ProjectsInOrder { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SolutionConfigurations { get { throw null; } } + + public string GetDefaultConfigurationName() { throw null; } + public string GetDefaultPlatformName() { throw null; } + public static SolutionFile Parse(string solutionFile) { throw null; } + } + public enum SolutionProjectType + { + Unknown = 0, + KnownToBeMSBuildFormat = 1, + SolutionFolder = 2, + WebProject = 3, + WebDeploymentProject = 4, + EtpSubProject = 5, + SharedProject = 6 + } + + public partial class UsingTaskParameterGroupElement : ProjectElementContainer + { + internal UsingTaskParameterGroupElement() { } + public override string Condition { get { throw null; } set { } } + public override ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Parameters { get { throw null; } } + + public ProjectUsingTaskParameterElement AddParameter(string name, string output, string required, string parameterType) { throw null; } + public ProjectUsingTaskParameterElement AddParameter(string name) { throw null; } + protected override ProjectElement CreateNewInstance(ProjectRootElement owner) { throw null; } + } +} + +namespace Microsoft.Build.Definition +{ + public partial class ProjectOptions + { + public FileSystem.IDirectoryCacheFactory DirectoryCacheFactory { get { throw null; } set { } } + public Evaluation.Context.EvaluationContext EvaluationContext { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings LoadSettings { get { throw null; } set { } } + public Evaluation.ProjectCollection ProjectCollection { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } set { } } + } +} + +namespace Microsoft.Build.Evaluation +{ + public partial class GlobResult + { + public GlobResult(Construction.ProjectItemElement itemElement, System.Collections.Generic.IEnumerable includeGlobStrings, Globbing.IMSBuildGlob globWithGaps, System.Collections.Generic.IEnumerable excludeFragmentStrings, System.Collections.Generic.IEnumerable removeFragmentStrings) { } + public System.Collections.Generic.IEnumerable Excludes { get { throw null; } } + public System.Collections.Generic.IEnumerable IncludeGlobs { get { throw null; } } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public Globbing.IMSBuildGlob MsBuildGlob { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Removes { get { throw null; } set { } } + } + public static partial class MatchOnMetadataConstants + { + public const MatchOnMetadataOptions MatchOnMetadataOptionsDefaultValue = 0; + } + public enum MatchOnMetadataOptions + { + CaseSensitive = 0, + CaseInsensitive = 1, + PathLike = 2 + } + + [System.Flags] + public enum NewProjectFileOptions + { + IncludeAllOptions = -1, + None = 0, + IncludeXmlDeclaration = 1, + IncludeToolsVersion = 2, + IncludeXmlNamespace = 4 + } + + public enum Operation + { + Include = 0, + Exclude = 1, + Update = 2, + Remove = 3 + } + + public partial class Project + { + public Project() { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(Construction.ProjectRootElement xml) { } + public Project(NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(ProjectCollection projectCollection) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) { } + public Project(System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(string projectFile) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, ProjectCollection projectCollection) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) { } + public Project(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public Project(System.Xml.XmlReader xmlReader) { } + public System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedItems { get { throw null; } } + public System.Collections.Generic.ICollection AllEvaluatedProperties { get { throw null; } } + public System.Collections.Generic.IDictionary> ConditionedProperties { get { throw null; } } + public string DirectoryPath { get { throw null; } } + public bool DisableMarkDirty { get { throw null; } set { } } + public int EvaluationCounter { get { throw null; } } + public string FullPath { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IList Imports { get { throw null; } } + public System.Collections.Generic.IList ImportsIncludingDuplicates { get { throw null; } } + public bool IsBuildEnabled { get { throw null; } set { } } + public bool IsDirty { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemsIgnoringCondition { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public int LastEvaluationId { get { throw null; } } + public ProjectCollection ProjectCollection { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public bool SkipEvaluation { get { throw null; } set { } } + public string SubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public bool ThrowInsteadOfSplittingItemElement { get { throw null; } set { } } + public string ToolsVersion { get { throw null; } } + public Construction.ProjectRootElement Xml { get { throw null; } } + + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(Framework.ILogger logger) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Context.EvaluationContext evaluationContext) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets) { throw null; } + public Execution.ProjectInstance CreateProjectInstance() { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Context.EvaluationContext evaluationContext) { throw null; } + public Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public static Project FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static Project FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static Project FromXmlReader(System.Xml.XmlReader reader, Definition.ProjectOptions options) { throw null; } + public System.Collections.Generic.List GetAllGlobs() { throw null; } + public System.Collections.Generic.List GetAllGlobs(Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetAllGlobs(string itemType) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItem item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinition item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(ProjectItem item) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Context.EvaluationContext evaluationContext) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType) { throw null; } + public System.Collections.Generic.List GetItemProvenance(string itemToMatch) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude) { throw null; } + public System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetLogicalProject() { throw null; } + public static string GetMetadataValueEscaped(ProjectItem item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinition item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadata metadatum) { throw null; } + public ProjectProperty GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectProperty property) { throw null; } + public void MarkDirty() { } + public void ReevaluateIfNecessary() { } + public void ReevaluateIfNecessary(Context.EvaluationContext evaluationContext) { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveItem(ProjectItem item) { throw null; } + public void RemoveItems(System.Collections.Generic.IEnumerable items) { } + public bool RemoveProperty(ProjectProperty property) { throw null; } + public void Save() { } + public void Save(System.IO.TextWriter writer) { } + public void Save(string path, System.Text.Encoding encoding) { } + public void Save(string path) { } + public void Save(System.Text.Encoding encoding) { } + public void SaveLogicalProject(System.IO.TextWriter writer) { } + public bool SetGlobalProperty(string name, string escapedValue) { throw null; } + public ProjectProperty SetProperty(string name, string unevaluatedValue) { throw null; } + } + public partial class ProjectChangedEventArgs : System.EventArgs + { + internal ProjectChangedEventArgs() { } + public Project Project { get { throw null; } } + } + + public partial class ProjectCollection : System.IDisposable + { + public ProjectCollection() { } + public ProjectCollection(ToolsetDefinitionLocations toolsetLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, ToolsetDefinitionLocations toolsetDefinitionLocations) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) { } + public ProjectCollection(System.Collections.Generic.IDictionary globalProperties) { } + public int Count { get { throw null; } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DisableMarkDirty { get { throw null; } set { } } + public static string DisplayVersion { get { throw null; } } + public static ProjectCollection GlobalProjectCollection { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public Execution.HostServices HostServices { get { throw null; } set { } } + public bool IsBuildEnabled { get { throw null; } set { } } + public System.Collections.Generic.ICollection LoadedProjects { get { throw null; } } + public System.Collections.Generic.ICollection Loggers { get { throw null; } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public System.Collections.Generic.ICollection PropertiesFromCommandLine { get { throw null; } set { } } + public bool SkipEvaluation { get { throw null; } set { } } + public ToolsetDefinitionLocations ToolsetLocations { get { throw null; } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public static System.Version Version { get { throw null; } } + + public event ProjectAddedEventHandler ProjectAdded { + add { } + remove { } + } + + public event System.EventHandler ProjectChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectCollectionChanged { + add { } + remove { } + } + + public event System.EventHandler ProjectXmlChanged { + add { } + remove { } + } + + public void AddToolset(Toolset toolset) { } + public bool ContainsToolset(string toolsVersion) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public static string Escape(string unescapedString) { throw null; } + public string GetEffectiveToolsVersion(string explicitToolsVersion, string toolsVersionFromProject) { throw null; } + public Execution.ProjectPropertyInstance GetGlobalProperty(string name) { throw null; } + public System.Collections.Generic.ICollection GetLoadedProjects(string fullPath) { throw null; } + public Toolset GetToolset(string toolsVersion) { throw null; } + public Project LoadProject(string fileName, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(string fileName, string toolsVersion) { throw null; } + public Project LoadProject(string fileName) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader, string toolsVersion) { throw null; } + public Project LoadProject(System.Xml.XmlReader xmlReader) { throw null; } + public void LogBuildFinishedEvent(bool success) { } + public void RegisterForwardingLoggers(System.Collections.Generic.IEnumerable remoteLoggers) { } + public void RegisterLogger(Framework.ILogger logger) { } + public void RegisterLoggers(System.Collections.Generic.IEnumerable loggers) { } + public void RemoveAllToolsets() { } + public bool RemoveGlobalProperty(string name) { throw null; } + public bool RemoveToolset(string toolsVersion) { throw null; } + public void SetGlobalProperty(string name, string value) { } + public bool TryUnloadProject(Construction.ProjectRootElement projectRootElement) { throw null; } + public static string Unescape(string escapedString) { throw null; } + public void UnloadAllProjects() { } + public void UnloadProject(Construction.ProjectRootElement projectRootElement) { } + public void UnloadProject(Project project) { } + public void UnregisterAllLoggers() { } + public delegate void ProjectAddedEventHandler(object sender, ProjectAddedToProjectCollectionEventArgs e); + public partial class ProjectAddedToProjectCollectionEventArgs : System.EventArgs + { + public ProjectAddedToProjectCollectionEventArgs(Construction.ProjectRootElement element) { } + public Construction.ProjectRootElement ProjectRootElement { get { throw null; } } + } + } + + public partial class ProjectCollectionChangedEventArgs : System.EventArgs + { + internal ProjectCollectionChangedEventArgs() { } + public ProjectCollectionChangedState Changed { get { throw null; } } + } + + public enum ProjectCollectionChangedState + { + DefaultToolsVersion = 0, + Toolsets = 1, + Loggers = 2, + GlobalProperties = 3, + IsBuildEnabled = 4, + OnlyLogCriticalEvents = 5, + HostServices = 6, + DisableMarkDirty = 7, + SkipEvaluation = 8 + } + + public partial class ProjectItem : Framework.IItemData + { + internal ProjectItem() { } + public System.Collections.Generic.IEnumerable DirectMetadata { get { throw null; } } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } set { } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedInclude { get { throw null; } set { } } + public Construction.ProjectItemElement Xml { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + System.Collections.Generic.IEnumerable> Framework.IItemData.EnumerateMetadata() { throw null; } + public bool RemoveMetadata(string name) { throw null; } + public void Rename(string name) { } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + + public partial class ProjectItemDefinition + { + internal ProjectItemDefinition() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public Project Project { get { throw null; } } + + public ProjectMetadata GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public ProjectMetadata SetMetadataValue(string name, string unevaluatedValue) { throw null; } + } + [System.Flags] + public enum ProjectLoadSettings + { + Default = 0, + IgnoreMissingImports = 1, + RecordDuplicateButNotCircularImports = 2, + RejectCircularImports = 4, + RecordEvaluatedItemElements = 8, + IgnoreEmptyImports = 16, + DoNotEvaluateElementsWithFalseCondition = 32, + IgnoreInvalidImports = 64, + ProfileEvaluation = 128, + FailOnUnresolvedSdk = 256 + } + + public partial class ProjectMetadata : System.IEquatable + { + internal ProjectMetadata() { } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string EvaluatedValue { get { throw null; } } + public bool IsImported { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public ProjectMetadata Predecessor { get { throw null; } } + public Project Project { get { throw null; } } + public string UnevaluatedValue { get { throw null; } set { } } + public Construction.ProjectMetadataElement Xml { get { throw null; } } + + bool System.IEquatable.Equals(ProjectMetadata other) { throw null; } + } + + public abstract partial class ProjectProperty : System.IEquatable + { + internal ProjectProperty() { } + public string EvaluatedValue { get { throw null; } } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public (string File, int Line, int Column) Location { get { throw null; } } + public abstract string Name { get; } + public abstract ProjectProperty Predecessor { get; } + public Project Project { get { throw null; } } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + bool System.IEquatable.Equals(ProjectProperty other) { throw null; } + } + + public partial class ProjectXmlChangedEventArgs : System.EventArgs + { + internal ProjectXmlChangedEventArgs() { } + public Construction.ProjectRootElement ProjectXml { get { throw null; } } + public string Reason { get { throw null; } } + } + + [System.Flags] + public enum Provenance + { + Undefined = 0, + StringLiteral = 1, + Glob = 2, + Inconclusive = 4 + } + + public partial class ProvenanceResult + { + public ProvenanceResult(Construction.ProjectItemElement itemElement, Operation operation, Provenance provenance, int occurrences) { } + public Construction.ProjectItemElement ItemElement { get { throw null; } } + public int Occurrences { get { throw null; } } + public Operation Operation { get { throw null; } } + public Provenance Provenance { get { throw null; } } + } + public partial struct ResolvedImport + { + private object _dummy; + private int _dummyPrimitive; + public Construction.ProjectRootElement ImportedProject { get { throw null; } } + public Construction.ProjectImportElement ImportingElement { get { throw null; } } + public bool IsImported { get { throw null; } } + public Framework.SdkResult SdkResult { get { throw null; } } + } + + public partial class SubToolset + { + internal SubToolset() { } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public string SubToolsetVersion { get { throw null; } } + } + public partial class Toolset + { + public Toolset(string toolsVersion, string toolsPath, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, System.Collections.Generic.IDictionary subToolsets, string msbuildOverrideTasksPath) { } + public Toolset(string toolsVersion, string toolsPath, System.Collections.Generic.IDictionary buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath) { } + public string DefaultSubToolsetVersion { get { throw null; } } + public System.Collections.Generic.IDictionary Properties { get { throw null; } } + public System.Collections.Generic.IDictionary SubToolsets { get { throw null; } } + public string ToolsPath { get { throw null; } } + public string ToolsVersion { get { throw null; } } + + public string GenerateSubToolsetVersion() { throw null; } + public string GenerateSubToolsetVersion(System.Collections.Generic.IDictionary overrideGlobalProperties, int solutionVersion) { throw null; } + public Execution.ProjectPropertyInstance GetProperty(string propertyName, string subToolsetVersion) { throw null; } + } + [System.Flags] + public enum ToolsetDefinitionLocations + { + None = 0, + ConfigurationFile = 1, + Registry = 2, + Default = 4, + Local = 4 + } +} + +namespace Microsoft.Build.Evaluation.Context +{ + public partial class EvaluationContext + { + internal EvaluationContext() { } + public static EvaluationContext Create(SharingPolicy policy, FileSystem.MSBuildFileSystemBase fileSystem) { throw null; } + public static EvaluationContext Create(SharingPolicy policy) { throw null; } + public enum SharingPolicy + { + Shared = 0, + Isolated = 1, + SharedSDKCache = 2 + } + } +} + +namespace Microsoft.Build.Exceptions +{ + public partial class BuildAbortedException : Framework.BuildException.BuildExceptionBase + { + public BuildAbortedException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected BuildAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public BuildAbortedException(string message, System.Exception innerException) { } + public BuildAbortedException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class CircularDependencyException : Framework.BuildException.BuildExceptionBase + { + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected CircularDependencyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class InternalLoggerException : Framework.BuildException.BuildExceptionBase + { + public InternalLoggerException() { } + public InternalLoggerException(string message, System.Exception innerException) { } + public InternalLoggerException(string message) { } + public Framework.BuildEventArgs BuildEventArgs { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public bool InitializationException { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public sealed partial class InvalidProjectFileException : Framework.BuildException.BuildExceptionBase + { + public InvalidProjectFileException() { } + public InvalidProjectFileException(string message, System.Exception innerException) { } + public InvalidProjectFileException(string projectFile, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string errorSubcategory, string errorCode, string helpKeyword) { } + public InvalidProjectFileException(string message) { } + public string BaseMessage { get { throw null; } } + public int ColumnNumber { get { throw null; } } + public int EndColumnNumber { get { throw null; } } + public int EndLineNumber { get { throw null; } } + public string ErrorCode { get { throw null; } } + public string ErrorSubcategory { get { throw null; } } + public bool HasBeenLogged { get { throw null; } } + public string HelpKeyword { get { throw null; } } + public int LineNumber { get { throw null; } } + public override string Message { get { throw null; } } + public string ProjectFile { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } + + public partial class InvalidToolsetDefinitionException : Framework.BuildException.BuildExceptionBase + { + public InvalidToolsetDefinitionException() { } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + protected InvalidToolsetDefinitionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public InvalidToolsetDefinitionException(string message, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode, System.Exception innerException) { } + public InvalidToolsetDefinitionException(string message, string errorCode) { } + public InvalidToolsetDefinitionException(string message) { } + public string ErrorCode { get { throw null; } } + + protected override System.Collections.Generic.IDictionary FlushCustomState() { throw null; } + [System.Obsolete(DiagnosticId = "SYSLIB0051")] + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + protected override void InitializeCustomState(System.Collections.Generic.IDictionary state) { } + } +} + +namespace Microsoft.Build.Execution +{ + public partial class BuildManager : System.IDisposable + { + public BuildManager() { } + public BuildManager(string hostName) { } + public static BuildManager DefaultBuildManager { get { throw null; } } + + public void BeginBuild(BuildParameters parameters, System.Collections.Generic.IEnumerable deferredBuildMessages) { } + public void BeginBuild(BuildParameters parameters) { } + public BuildResult Build(BuildParameters parameters, BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult Build(BuildParameters parameters, Graph.GraphBuildRequestData requestData) { throw null; } + public BuildResult BuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildResult BuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void CancelAllSubmissions() { } + public void Dispose() { } + public void EndBuild() { } + ~BuildManager() { + } + + public ProjectInstance GetProjectInstanceForBuild(Evaluation.Project project) { throw null; } + public System.Collections.Generic.IEnumerable GetWorkerProcesses() { throw null; } + public BuildSubmission PendBuildRequest(BuildRequestData requestData) { throw null; } + public Graph.GraphBuildSubmission PendBuildRequest(Graph.GraphBuildRequestData requestData) { throw null; } + public void ResetCaches() { } + public void ShutdownAllNodes() { } + public readonly partial struct DeferredBuildMessage + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeferredBuildMessage(string text, Framework.MessageImportance importance, string filePath) { } + public DeferredBuildMessage(string text, Framework.MessageImportance importance) { } + public string? FilePath { get { throw null; } } + public Framework.MessageImportance Importance { get { throw null; } } + public string Text { get { throw null; } } + } + } + + public partial class BuildParameters + { + public BuildParameters() { } + public BuildParameters(Evaluation.ProjectCollection projectCollection) { } + public bool AllowFailureWithoutError { get { throw null; } set { } } + public System.Collections.Generic.IDictionary BuildProcessEnvironment { get { throw null; } } + public System.Threading.ThreadPriority BuildThreadPriority { get { throw null; } set { } } + public System.Globalization.CultureInfo Culture { get { throw null; } set { } } + public string DefaultToolsVersion { get { throw null; } set { } } + public bool DetailedSummary { get { throw null; } set { } } + public bool DisableInProcNode { get { throw null; } set { } } + public bool DiscardBuildResults { get { throw null; } set { } } + public bool EnableNodeReuse { get { throw null; } set { } } + public System.Collections.Generic.IDictionary EnvironmentProperties { get { throw null; } } + public System.Collections.Generic.IEnumerable ForwardingLoggers { get { throw null; } set { } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } set { } } + public HostServices HostServices { get { throw null; } set { } } + public string[] InputResultsCacheFiles { get { throw null; } set { } } + public bool Interactive { get { throw null; } set { } } + public bool IsBuildCheckEnabled { get { throw null; } set { } } + public bool IsolateProjects { get { throw null; } set { } } + public bool LegacyThreadingSemantics { get { throw null; } set { } } + public System.Collections.Generic.IEnumerable Loggers { get { throw null; } set { } } + public bool LogInitialPropertiesAndItems { get { throw null; } set { } } + public bool LogTaskInputs { get { throw null; } set { } } + public bool LowPriority { get { throw null; } set { } } + public int MaxNodeCount { get { throw null; } set { } } + public int MemoryUseLimit { get { throw null; } set { } } + public string NodeExeLocation { get { throw null; } set { } } + public bool OnlyLogCriticalEvents { get { throw null; } set { } } + public string OutputResultsCacheFile { get { throw null; } set { } } + public Experimental.ProjectCache.ProjectCacheDescriptor ProjectCacheDescriptor { get { throw null; } set { } } + public ProjectIsolationMode ProjectIsolationMode { get { throw null; } set { } } + public Evaluation.ProjectLoadSettings ProjectLoadSettings { get { throw null; } set { } } + public System.Collections.Generic.ICollection PropertiesFromCommandLine { get { throw null; } } + public bool Question { get { throw null; } set { } } + public bool ResetCaches { get { throw null; } set { } } + public bool SaveOperatingEnvironment { get { throw null; } set { } } + public bool ShutdownInProcNodeOnBuildFinish { get { throw null; } set { } } + public Evaluation.ToolsetDefinitionLocations ToolsetDefinitionLocations { get { throw null; } set { } } + public System.Collections.Generic.ICollection Toolsets { get { throw null; } } + public System.Globalization.CultureInfo UICulture { get { throw null; } set { } } + public bool UseSynchronousLogging { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsErrors { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsAsMessages { get { throw null; } set { } } + public System.Collections.Generic.ISet WarningsNotAsErrors { get { throw null; } set { } } + + public BuildParameters Clone() { throw null; } + public Evaluation.Toolset GetToolset(string toolsVersion) { throw null; } + } + public partial class BuildRequestData : BuildRequestData + { + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable? propertiesToTransfer, RequestedProjectState requestedProjectState) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, System.Collections.Generic.IEnumerable? propertiesToTransfer) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild, HostServices hostServices) : base(default!, default, default) { } + public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, RequestedProjectState requestedProjectState) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) : base(default!, default, default) { } + public BuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices) : base(default!, default, default) { } + public override System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } } + public string? ExplicitlySpecifiedToolsVersion { get { throw null; } } + public BuildRequestDataFlags Flags { get { throw null; } } + public System.Collections.Generic.ICollection GlobalProperties { get { throw null; } } + public override System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get { throw null; } } + public HostServices? HostServices { get { throw null; } } + public override bool IsGraphRequest { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public ProjectInstance? ProjectInstance { get { throw null; } } + public System.Collections.Generic.IEnumerable? PropertiesToTransfer { get { throw null; } } + public RequestedProjectState? RequestedProjectState { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + + public abstract partial class BuildRequestDataBase + { + protected BuildRequestDataBase(System.Collections.Generic.ICollection targetNames, BuildRequestDataFlags flags, HostServices? hostServices) { } + public abstract System.Collections.Generic.IEnumerable EntryProjectsFullPath { get; } + public BuildRequestDataFlags Flags { get { throw null; } protected set { } } + public abstract System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get; } + public HostServices? HostServices { get { throw null; } } + public abstract bool IsGraphRequest { get; } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } protected set { } } + } + public abstract partial class BuildRequestData : BuildRequestDataBase where TRequestData : BuildRequestData where TResultData : BuildResultBase + { + protected BuildRequestData(System.Collections.Generic.ICollection targetNames, BuildRequestDataFlags flags, HostServices? hostServices) : base(default!, default, default) { } + } + + public partial class BuildResult : BuildResultBase + { + public BuildRequestDataFlags? BuildRequestDataFlags { get { throw null; } } + public override bool CircularDependency { get { throw null; } } + public int ConfigurationId { get { throw null; } } + public override System.Exception? Exception { get { throw null; } internal set { } } + public int GlobalRequestId { get { throw null; } } + + public ITargetResult this[string target] { get { throw null; } } + + public int NodeRequestId { get { throw null; } } + public override BuildResultCode OverallResult { get { throw null; } } + public int ParentGlobalRequestId { get { throw null; } } + public ProjectInstance? ProjectStateAfterBuild { get { throw null; } set { } } + public System.Collections.Generic.IDictionary ResultsByTarget { get { throw null; } } + public override int SubmissionId { get { throw null; } } + + public void AddResultsForTarget(string target, TargetResult result) { } + public bool HasResultsForTarget(string target) { throw null; } + public void MergeResults(BuildResult results) { } + public bool TryGetResultsForTarget(string target, out TargetResult? value) { throw null; } + } + + public abstract partial class BuildResultBase + { + public abstract bool CircularDependency { get; } + public abstract System.Exception? Exception { get; internal set; } + public abstract BuildResultCode OverallResult { get; } + public abstract int SubmissionId { get; } + } + public enum BuildResultCode + { + Success = 0, + Failure = 1 + } + + public partial class BuildSubmission : BuildSubmissionBase + { + internal BuildSubmission() : base(default!, default, default!) { } + public object? AsyncContext { get { throw null; } } + public BuildManager BuildManager { get { throw null; } } + public new BuildResult? BuildResult { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal override void CheckResultValidForCompletion(BuildResult result) { } + protected internal override BuildResult CreateFailedResult(System.Exception exception) { throw null; } + public override BuildResult Execute() { throw null; } + public void ExecuteAsync(BuildSubmissionCompleteCallback? callback, object? context) { } + protected internal override void OnCompletition() { } + } + + public abstract partial class BuildSubmissionBase + { + protected readonly System.Threading.ManualResetEvent CompletionEvent; + protected int CompletionInvoked; + protected internal BuildSubmissionBase(BuildManager buildManager, int submissionId) { } + public object? AsyncContext { get { throw null; } protected set { } } + public BuildManager BuildManager { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal abstract void CheckForCompletion(); + protected internal virtual void OnCompletition() { } + } + public abstract partial class BuildSubmissionBase : BuildSubmissionBase where TRequestData : BuildRequestDataBase where TResultData : BuildResultBase + { + protected internal BuildSubmissionBase(BuildManager buildManager, int submissionId, TRequestData requestData) : base(default!, default) { } + public TResultData? BuildResult { get { throw null; } set { } } + + protected internal override void CheckForCompletion() { } + protected internal abstract void CheckResultValidForCompletion(TResultData result); + protected internal abstract TResultData CreateFailedResult(System.Exception exception); + public abstract TResultData Execute(); + } + + public delegate void BuildSubmissionCompleteCallback(BuildSubmission submission); + public partial class HostServices + { + public Framework.ITaskHost GetHostObject(string projectFile, string targetName, string taskName) { throw null; } + public NodeAffinity GetNodeAffinity(string projectFile) { throw null; } + public void OnRenameProject(string oldFullPath, string newFullPath) { } + public void RegisterHostObject(string projectFile, string targetName, string taskName, Framework.ITaskHost hostObject) { } + [System.Runtime.Versioning.SupportedOSPlatform("windows")] + public void RegisterHostObject(string projectFile, string targetName, string taskName, string monikerName) { } + public void SetNodeAffinity(string projectFile, NodeAffinity nodeAffinity) { } + public void UnregisterProject(string projectFullPath) { } + } + public partial interface ITargetResult + { + System.Exception Exception { get; } + + Framework.ITaskItem[] Items { get; } + + TargetResultCode ResultCode { get; } + } + + public enum NodeAffinity + { + InProc = 0, + OutOfProc = 1, + Any = 2 + } + + public enum NodeEngineShutdownReason + { + BuildComplete = 0, + BuildCompleteReuse = 1, + ConnectionFailed = 2, + Error = 3 + } + + public partial class OutOfProcNode + { + public NodeEngineShutdownReason Run(bool enableReuse, bool lowPriority, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(bool enableReuse, out System.Exception shutdownException) { throw null; } + public NodeEngineShutdownReason Run(out System.Exception shutdownException) { throw null; } + } + public partial class ProjectInstance + { + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(Construction.ProjectRootElement xml) { } + public ProjectInstance(Evaluation.Project project, ProjectInstanceSettings settings) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion, string subToolsetVersion, Evaluation.ProjectCollection projectCollection) { } + public ProjectInstance(string projectFile, System.Collections.Generic.IDictionary globalProperties, string toolsVersion) { } + public ProjectInstance(string projectFile) { } + public System.Collections.Generic.List DefaultTargets { get { throw null; } } + public string Directory { get { throw null; } } + public System.Collections.Generic.List EvaluatedItemElements { get { throw null; } } + public int EvaluationId { get { throw null; } set { } } + public string FullPath { get { throw null; } } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPaths { get { throw null; } } + public System.Collections.Generic.IReadOnlyList ImportPathsIncludingDuplicates { get { throw null; } } + public System.Collections.Generic.List InitialTargets { get { throw null; } } + public bool IsImmutable { get { throw null; } } + public System.Collections.Generic.IDictionary ItemDefinitions { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public System.Collections.Generic.ICollection ItemTypes { get { throw null; } } + public Construction.ElementLocation ProjectFileLocation { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + public System.Collections.Generic.IDictionary Targets { get { throw null; } } + public string ToolsVersion { get { throw null; } } + public bool TranslateEntireState { get { throw null; } set { } } + + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude, System.Collections.Generic.IEnumerable> metadata) { throw null; } + public ProjectItemInstance AddItem(string itemType, string evaluatedInclude) { throw null; } + public bool Build() { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string target, System.Collections.Generic.IEnumerable loggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, out System.Collections.Generic.IDictionary targetOutputs) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers) { throw null; } + public bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers) { throw null; } + public ProjectInstance DeepCopy() { throw null; } + public ProjectInstance DeepCopy(bool isImmutable) { throw null; } + public bool EvaluateCondition(string condition) { throw null; } + public string ExpandString(string unexpandedValue) { throw null; } + public ProjectInstance FilteredCopy(RequestedProjectState filter) { throw null; } + public static ProjectInstance FromFile(string file, Definition.ProjectOptions options) { throw null; } + public static ProjectInstance FromImmutableProjectSource(Evaluation.Project project, ProjectInstanceSettings settings) { throw null; } + public static ProjectInstance FromProjectRootElement(Construction.ProjectRootElement rootElement, Definition.ProjectOptions options) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemDefinitionInstance item) { throw null; } + public static string GetEvaluatedItemIncludeEscaped(ProjectItemInstance item) { throw null; } + public System.Collections.Generic.ICollection GetItems(string itemType) { throw null; } + public System.Collections.Generic.IEnumerable GetItemsByItemTypeAndEvaluatedInclude(string itemType, string evaluatedInclude) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemDefinitionInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectItemInstance item, string name) { throw null; } + public static string GetMetadataValueEscaped(ProjectMetadataInstance metadatum) { throw null; } + public ProjectPropertyInstance GetProperty(string name) { throw null; } + public string GetPropertyValue(string name) { throw null; } + public static string GetPropertyValueEscaped(ProjectPropertyInstance property) { throw null; } + public bool RemoveItem(ProjectItemInstance item) { throw null; } + public bool RemoveProperty(string name) { throw null; } + public ProjectPropertyInstance SetProperty(string name, string evaluatedValue) { throw null; } + public Construction.ProjectRootElement ToProjectRootElement() { throw null; } + public void UpdateStateFrom(ProjectInstance projectState) { } + } + [System.Flags] + public enum ProjectInstanceSettings + { + None = 0, + Immutable = 1, + ImmutableWithFastItemLookup = 3 + } + + public enum ProjectIsolationMode + { + False = 0, + MessageUponIsolationViolation = 1, + True = 2 + } + + public partial class ProjectItemDefinitionInstance + { + internal ProjectItemDefinitionInstance() { } + public string ItemType { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.IEnumerable MetadataNames { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + } + public partial class ProjectItemGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectItemGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public System.Collections.Generic.ICollection Items { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectItemGroupTaskItemInstance + { + internal ProjectItemGroupTaskItemInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string Exclude { get { throw null; } } + public Construction.ElementLocation ExcludeLocation { get { throw null; } } + public string Include { get { throw null; } } + public Construction.ElementLocation IncludeLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public string KeepDuplicates { get { throw null; } } + public Construction.ElementLocation KeepDuplicatesLocation { get { throw null; } } + public string KeepMetadata { get { throw null; } } + public Construction.ElementLocation KeepMetadataLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string MatchOnMetadata { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataLocation { get { throw null; } } + public string MatchOnMetadataOptions { get { throw null; } } + public Construction.ElementLocation MatchOnMetadataOptionsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Metadata { get { throw null; } } + public string Remove { get { throw null; } } + public Construction.ElementLocation RemoveLocation { get { throw null; } } + public string RemoveMetadata { get { throw null; } } + public Construction.ElementLocation RemoveMetadataLocation { get { throw null; } } + } + public partial class ProjectItemGroupTaskMetadataInstance + { + internal ProjectItemGroupTaskMetadataInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectItemInstance : Framework.ITaskItem2, Framework.ITaskItem, Framework.IItemData + { + internal ProjectItemInstance() { } + public int DirectMetadataCount { get { throw null; } } + public string EvaluatedInclude { get { throw null; } set { } } + public string ItemType { get { throw null; } } + public System.Collections.Generic.IEnumerable Metadata { get { throw null; } } + public int MetadataCount { get { throw null; } } + public System.Collections.Generic.ICollection MetadataNames { get { throw null; } } + + string Framework.ITaskItem.ItemSpec { get { throw null; } set { } } + + System.Collections.ICollection Framework.ITaskItem.MetadataNames { get { throw null; } } + + string Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } } + public ProjectInstance Project { get { throw null; } } + + public ProjectMetadataInstance GetMetadata(string name) { throw null; } + public string GetMetadataValue(string name) { throw null; } + public bool HasMetadata(string name) { throw null; } + System.Collections.Generic.IEnumerable> Framework.IItemData.EnumerateMetadata() { throw null; } + System.Collections.IDictionary Framework.ITaskItem.CloneCustomMetadata() { throw null; } + void Framework.ITaskItem.CopyMetadataTo(Framework.ITaskItem destinationItem) { } + string Framework.ITaskItem.GetMetadata(string metadataName) { throw null; } + void Framework.ITaskItem.SetMetadata(string metadataName, string metadataValue) { } + System.Collections.IDictionary Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; } + string Framework.ITaskItem2.GetMetadataValueEscaped(string name) { throw null; } + void Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { } + public void RemoveMetadata(string metadataName) { } + public void SetMetadata(System.Collections.Generic.IEnumerable> metadataDictionary) { } + public ProjectMetadataInstance SetMetadata(string name, string evaluatedValue) { throw null; } + public override string ToString() { throw null; } + } + + public partial class ProjectMetadataInstance : System.IEquatable + { + internal ProjectMetadataInstance() { } + public string EvaluatedValue { get { throw null; } } + public string Name { get { throw null; } } + + public ProjectMetadataInstance DeepClone() { throw null; } + bool System.IEquatable.Equals(ProjectMetadataInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectOnErrorInstance : ProjectTargetInstanceChild + { + internal ProjectOnErrorInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ExecuteTargets { get { throw null; } } + public Construction.ElementLocation ExecuteTargetsLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskInstance : ProjectTargetInstanceChild + { + internal ProjectPropertyGroupTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public System.Collections.Generic.ICollection Properties { get { throw null; } } + } + + public partial class ProjectPropertyGroupTaskPropertyInstance + { + internal ProjectPropertyGroupTaskPropertyInstance() { } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public string Value { get { throw null; } } + } + public partial class ProjectPropertyInstance : System.IEquatable + { + internal ProjectPropertyInstance() { } + public string EvaluatedValue { get { throw null; } set { } } + public virtual bool IsImmutable { get { throw null; } } + public (string File, int Line, int Column) Location { get { throw null; } } + public string Name { get { throw null; } } + + bool System.IEquatable.Equals(ProjectPropertyInstance other) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class ProjectTargetInstance + { + internal ProjectTargetInstance() { } + public string AfterTargets { get { throw null; } } + public Construction.ElementLocation AfterTargetsLocation { get { throw null; } } + public string BeforeTargets { get { throw null; } } + public Construction.ElementLocation BeforeTargetsLocation { get { throw null; } } + public System.Collections.Generic.IList Children { get { throw null; } } + public string Condition { get { throw null; } } + public Construction.ElementLocation ConditionLocation { get { throw null; } } + public string DependsOnTargets { get { throw null; } } + public Construction.ElementLocation DependsOnTargetsLocation { get { throw null; } } + public string FullPath { get { throw null; } } + public string Inputs { get { throw null; } } + public Construction.ElementLocation InputsLocation { get { throw null; } } + public string KeepDuplicateOutputs { get { throw null; } } + public Construction.ElementLocation KeepDuplicateOutputsLocation { get { throw null; } } + public Construction.ElementLocation Location { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList OnErrorChildren { get { throw null; } } + public string Outputs { get { throw null; } } + public Construction.ElementLocation OutputsLocation { get { throw null; } } + public string Returns { get { throw null; } } + public Construction.ElementLocation ReturnsLocation { get { throw null; } } + public System.Collections.Generic.ICollection Tasks { get { throw null; } } + } + public abstract partial class ProjectTargetInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public string FullPath { get { throw null; } } + public abstract Construction.ElementLocation Location { get; } + } + public sealed partial class ProjectTaskInstance : ProjectTargetInstanceChild + { + internal ProjectTaskInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ContinueOnError { get { throw null; } } + public Construction.ElementLocation ContinueOnErrorLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string MSBuildArchitecture { get { throw null; } } + public Construction.ElementLocation MSBuildArchitectureLocation { get { throw null; } } + public string MSBuildRuntime { get { throw null; } } + public Construction.ElementLocation MSBuildRuntimeLocation { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IList Outputs { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } + } + + public abstract partial class ProjectTaskInstanceChild + { + public abstract string Condition { get; } + public abstract Construction.ElementLocation ConditionLocation { get; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ElementLocation TaskParameterLocation { get; } + } + public sealed partial class ProjectTaskOutputItemInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputItemInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public string ItemType { get { throw null; } } + public Construction.ElementLocation ItemTypeLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public sealed partial class ProjectTaskOutputPropertyInstance : ProjectTaskInstanceChild + { + internal ProjectTaskOutputPropertyInstance() { } + public override string Condition { get { throw null; } } + public override Construction.ElementLocation ConditionLocation { get { throw null; } } + public override Construction.ElementLocation Location { get { throw null; } } + public string PropertyName { get { throw null; } } + public Construction.ElementLocation PropertyNameLocation { get { throw null; } } + public string TaskParameter { get { throw null; } } + public override Construction.ElementLocation TaskParameterLocation { get { throw null; } } + } + + public partial class RequestedProjectState + { + public System.Collections.Generic.IDictionary> ItemFilters { get { throw null; } set { } } + public System.Collections.Generic.List PropertyFilters { get { throw null; } set { } } + } + public partial class TargetResult : ITargetResult + { + internal TargetResult() { } + public System.Exception Exception { get { throw null; } } + public Framework.ITaskItem[] Items { get { throw null; } } + public TargetResultCode ResultCode { get { throw null; } } + + public string TargetResultCodeToString() { throw null; } + } + + public enum TargetResultCode : byte + { + Skipped = 0, + Success = 1, + Failure = 2 + } +} + +namespace Microsoft.Build.Experimental +{ + public sealed partial class MSBuildClient + { + public MSBuildClient(string[] commandLine, string msbuildLocation) { } + public MSBuildClientExitResult Execute(System.Threading.CancellationToken cancellationToken) { throw null; } + public static bool ShutdownServer(System.Threading.CancellationToken cancellationToken) { throw null; } + } + public sealed partial class MSBuildClientExitResult + { + public string? MSBuildAppExitTypeString { get { throw null; } set { } } + public MSBuildClientExitType MSBuildClientExitType { get { throw null; } set { } } + } + public enum MSBuildClientExitType + { + Success = 0, + ServerBusy = 1, + UnableToConnect = 2, + LaunchError = 3, + Unexpected = 4, + UnknownServerState = 5 + } + + public sealed partial class OutOfProcServerNode + { + public OutOfProcServerNode(BuildCallback buildFunction) { } + public Execution.NodeEngineShutdownReason Run(out System.Exception? shutdownException) { throw null; } + public delegate (int exitCode, string exitType) BuildCallback(string[] commandLine); + } +} + +namespace Microsoft.Build.Experimental.BuildCheck +{ + public partial class BuildCheckDataContext where T : CheckData + { + internal BuildCheckDataContext() { } + public T Data { get { throw null; } } + + public void ReportResult(BuildCheckResult result) { } + } + public static partial class BuildCheckReplayModeConnector + { + public static Framework.IEventSource GetMergedEventSource(Execution.BuildManager buildManager, Framework.IEventSource replayEventSource) { throw null; } + } + public sealed partial class BuildCheckResult + { + public BuildCheckResult(CheckRule checkConfig, Shared.IMSBuildElementLocation location, string[] messageArgs) { } + public CheckRule CheckRule { get { throw null; } } + public string Code { get { throw null; } } + public Shared.IMSBuildElementLocation Location { get { throw null; } } + public string LocationString { get { throw null; } } + public string[] MessageArgs { get { throw null; } } + public string MessageFormat { get { throw null; } } + + public static BuildCheckResult Create(CheckRule rule, Shared.IMSBuildElementLocation location, params string[] messageArgs) { throw null; } + public string FormatMessage() { throw null; } + } + public partial class BuildFinishedCheckData : CheckData + { + public BuildFinishedCheckData() : base(default!, default) { } + } + + public abstract partial class Check : System.IDisposable + { + public abstract string FriendlyName { get; } + public abstract System.Collections.Generic.IReadOnlyList SupportedRules { get; } + + public virtual void Dispose() { } + public abstract void Initialize(ConfigurationContext configurationContext); + public abstract void RegisterActions(IBuildCheckRegistrationContext registrationContext); + } + + public partial class CheckConfiguration + { + public static CheckConfiguration Default { get { throw null; } } + public EvaluationCheckScope? EvaluationCheckScope { get { throw null; } init { } } + public bool? IsEnabled { get { throw null; } } + public static CheckConfiguration Null { get { throw null; } } + public string? RuleId { get { throw null; } } + public CheckResultSeverity? Severity { get { throw null; } init { } } + } + public abstract partial class CheckData + { + protected CheckData(string projectFilePath, int? projectConfigurationId) { } + public string ProjectFileDirectory { get { throw null; } } + public string ProjectFilePath { get { throw null; } } + } + public enum CheckResultSeverity + { + Default = 0, + None = 1, + Suggestion = 2, + Warning = 3, + Error = 4 + } + + public partial class CheckRule + { + public CheckRule(string id, string title, string description, string messageFormat, CheckConfiguration defaultConfiguration, string helpLinkUri) { } + public CheckRule(string id, string title, string description, string messageFormat, CheckConfiguration defaultConfiguration) { } + public CheckConfiguration DefaultConfiguration { get { throw null; } } + public string Description { get { throw null; } } + public string HelpLinkUri { get { throw null; } } + public string Id { get { throw null; } } + public string MessageFormat { get { throw null; } } + public string Title { get { throw null; } } + } + public partial class ConfigurationContext + { + internal ConfigurationContext() { } + public System.Collections.Generic.IReadOnlyList CheckConfig { get { throw null; } init { } } + public System.Collections.Generic.IReadOnlyList CustomConfigurationData { get { throw null; } init { } } + } + public sealed partial class CustomConfigurationData + { + public CustomConfigurationData(string ruleId, System.Collections.Generic.Dictionary properties) { } + public CustomConfigurationData(string ruleId) { } + public System.Collections.Generic.IReadOnlyDictionary? ConfigurationData { get { throw null; } init { } } + public static CustomConfigurationData Null { get { throw null; } } + public string RuleId { get { throw null; } init { } } + + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool NotNull(CustomConfigurationData data) { throw null; } + } + public partial class EnvironmentVariableCheckData : CheckData + { + internal EnvironmentVariableCheckData() : base(default!, default) { } + public Shared.IMSBuildElementLocation EnvironmentVariableLocation { get { throw null; } } + public string EnvironmentVariableName { get { throw null; } } + public string EnvironmentVariableValue { get { throw null; } } + } + + public sealed partial class EvaluatedItemsCheckData : CheckData + { + internal EvaluatedItemsCheckData() : base(default!, default) { } + public System.Collections.Generic.IEnumerable EvaluatedItems { get { throw null; } } + + public System.Collections.Generic.IEnumerable EnumerateItemsOfType(string typeName) { throw null; } + public System.Collections.Generic.IEnumerable EnumerateItemsOfTypes(string[] typeNames) { throw null; } + } + + public partial class EvaluatedPropertiesCheckData : CheckData + { + internal EvaluatedPropertiesCheckData() : base(default!, default) { } + public System.Collections.Generic.IReadOnlyDictionary EvaluatedProperties { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } } + } + + public enum EvaluationCheckScope + { + ProjectFileOnly = 0, + WorkTreeImports = 1, + All = 2 + } + + public partial interface IBuildCheckRegistrationContext + { + void RegisterBuildFinishedAction(System.Action> buildFinishedAction); + void RegisterEnvironmentVariableReadAction(System.Action> environmentVariableAction); + void RegisterEvaluatedItemsAction(System.Action> evaluatedItemsAction); + void RegisterEvaluatedPropertiesAction(System.Action> evaluatedPropertiesAction); + [System.Obsolete("Use RegisterEvaluatedItemsAction to obtain evaluated items of a project.", false)] + void RegisterParsedItemsAction(System.Action> parsedItemsAction); + void RegisterProjectImportedAction(System.Action> projectImportedAction); + void RegisterTaskInvocationAction(System.Action> taskInvocationAction); + } + + public partial class ItemsHolder + { + public ItemsHolder(System.Collections.Generic.IEnumerable items, System.Collections.Generic.IEnumerable itemGroups) { } + public System.Collections.Generic.IEnumerable ItemGroups { get { throw null; } } + public System.Collections.Generic.IEnumerable Items { get { throw null; } } + + public System.Collections.Generic.IEnumerable GetItemsOfType(string itemType) { throw null; } + } + public static partial class ItemTypeExtensions + { + public static System.Collections.Generic.IEnumerable GetItemsOfType(this System.Collections.Generic.IEnumerable items, string itemType) { throw null; } + } + [System.Obsolete("Use EvaluatedItemsData for access to evaluated items.", false)] + public sealed partial class ParsedItemsCheckData : CheckData + { + internal ParsedItemsCheckData() : base(default!, default) { } + public ItemsHolder ItemsHolder { get { throw null; } } + } + + public partial class ProjectImportedCheckData : CheckData + { + internal ProjectImportedCheckData() : base(default!, default) { } + public string ImportedProjectFileFullPath { get { throw null; } } + } + + public sealed partial class TaskInvocationCheckData : CheckData + { + internal TaskInvocationCheckData() : base(default!, default) { } + public System.Collections.Generic.IReadOnlyDictionary Parameters { get { throw null; } } + public string TaskAssemblyLocation { get { throw null; } } + public Construction.ElementLocation TaskInvocationLocation { get { throw null; } } + public string TaskName { get { throw null; } } + + public partial record TaskParameter(object? Value, bool IsOutput) + { + public System.Collections.Generic.IEnumerable EnumerateStringValues() { throw null; } + public System.Collections.Generic.IEnumerable EnumerateValues() { throw null; } + } + } +} + +namespace Microsoft.Build.Experimental.BuildCheck.Infrastructure +{ + public sealed partial class CheckConfigurationEffective + { + public CheckConfigurationEffective(string ruleId, EvaluationCheckScope evaluationCheckScope, CheckResultSeverity severity) { } + public EvaluationCheckScope EvaluationCheckScope { get { throw null; } } + public bool IsEnabled { get { throw null; } } + public string RuleId { get { throw null; } } + public CheckResultSeverity Severity { get { throw null; } } + + public bool IsSameConfigurationAs(CheckConfigurationEffective? other) { throw null; } + } +} + +namespace Microsoft.Build.Experimental.FileAccess +{ + [System.Flags] + [System.CLSCompliant(false)] + public enum DesiredAccess : uint + { + GENERIC_READ = 2147483648U, + FILE_LIST_DIRECTORY = 1U, + FILE_ADD_FILE = 2U, + FILE_WRITE_DATA = 2U, + FILE_ADD_SUBDIRECTORY = 4U, + FILE_APPEND_DATA = 4U, + FILE_READ_EA = 8U, + FILE_WRITE_EA = 16U, + FILE_EXECUTE = 32U, + FILE_DELETE_CHILD = 64U, + FILE_READ_ATTRIBUTES = 128U, + FILE_WRITE_ATTRIBUTES = 256U, + DELETE = 65536U, + SYNCHRONIZE = 1048576U, + GENERIC_ALL = 268435456U, + GENERIC_EXECUTE = 536870912U, + GENERIC_WRITE = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct FileAccessData + { + private object _dummy; + private int _dummyPrimitive; + public FileAccessData(ReportedFileOperation operation, RequestedAccess requestedAccess, uint processId, uint id, uint correlationId, uint error, DesiredAccess desiredAccess, FlagsAndAttributes flagsAndAttributes, string path, string? processArgs, bool isAnAugmentedFileAccess) { } + public uint CorrelationId { get { throw null; } } + public DesiredAccess DesiredAccess { get { throw null; } } + public uint Error { get { throw null; } } + public FlagsAndAttributes FlagsAndAttributes { get { throw null; } } + public uint Id { get { throw null; } } + public bool IsAnAugmentedFileAccess { get { throw null; } } + public ReportedFileOperation Operation { get { throw null; } } + public string Path { get { throw null; } } + public string? ProcessArgs { get { throw null; } } + public uint ProcessId { get { throw null; } } + public RequestedAccess RequestedAccess { get { throw null; } } + } + + [System.Flags] + [System.CLSCompliant(false)] + public enum FlagsAndAttributes : uint + { + FILE_FLAG_WRITE_THROUGH = 2147483648U, + FILE_ATTRIBUTE_READONLY = 1U, + FILE_ATTRIBUTE_HIDDEN = 2U, + FILE_ATTRIBUTE_SYSTEM = 4U, + FILE_ATTRIBUTE_DIRECTORY = 16U, + FILE_ATTRIBUTE_ARCHIVE = 32U, + FILE_ATTRIBUTE_NORMAL = 128U, + FILE_ATTRIBUTE_TEMPORARY = 256U, + FILE_ATTRIBUTE_OFFLINE = 4096U, + FILE_ATTRIBUTE_ENCRYPED = 16384U, + FILE_FLAG_OPEN_NO_RECALL = 1048576U, + FILE_FLAG_OPEN_REPARSE_POINT = 2097152U, + FILE_FLAG_SESSION_AWARE = 8388608U, + FILE_FLAG_POSIX_SEMANTICS = 16777216U, + FILE_FLAG_BACKUP_SEMANTICS = 33554432U, + FILE_FLAG_DELETE_ON_CLOSE = 67108864U, + FILE_FLAG_SEQUENTIAL_SCAN = 134217728U, + FILE_FLAG_RANDOM_ACCESS = 268435456U, + FILE_FLAG_NO_BUFFERING = 536870912U, + FILE_FLAG_OVERLAPPED = 1073741824U + } + + [System.CLSCompliant(false)] + public partial struct ProcessData + { + private object _dummy; + private int _dummyPrimitive; + public ProcessData(string processName, uint processId, uint parentProcessId, System.DateTime creationDateTime, System.DateTime exitDateTime, uint exitCode) { } + public System.DateTime CreationDateTime { get { throw null; } } + public uint ExitCode { get { throw null; } } + public System.DateTime ExitDateTime { get { throw null; } } + public uint ParentProcessId { get { throw null; } } + public uint ProcessId { get { throw null; } } + public string ProcessName { get { throw null; } } + } + + public enum ReportedFileOperation : byte + { + Unknown = 0, + CreateFile = 1, + CreateProcess = 2, + GetFileAttributes = 3, + GetFileAttributesEx = 4, + Process = 5, + FindFirstFileEx = 6, + FindNextFile = 7, + CreateDirectory = 8, + DeleteFile = 9, + MoveFileSource = 10, + MoveFileDestination = 11, + SetFileInformationByHandleSource = 12, + SetFileInformationByHandleDest = 13, + ZwSetRenameInformationFileSource = 14, + ZwSetRenameInformationFileDest = 15, + ZwSetLinkInformationFile = 16, + ZwSetDispositionInformationFile = 17, + ZwSetModeInformationFile = 18, + ZwSetFileNameInformationFileSource = 19, + ZwSetFileNameInformationFileDest = 20, + CopyFileSource = 21, + CopyFileDestination = 22, + CreateHardLinkSource = 23, + CreateHardLinkDestination = 24, + RemoveDirectory = 25, + RemoveDirectorySource = 26, + NtQueryDirectoryFile = 27, + ZwQueryDirectoryFile = 28, + NtCreateFile = 29, + ZwCreateFile = 30, + ZwOpenFile = 31, + ChangedReadWriteToReadAccess = 32, + FirstAllowWriteCheckInProcess = 33, + StaticallyLinkedProcess = 34, + ReparsePointTarget = 35, + ReparsePointTargetCached = 36, + CreateSymbolicLinkSource = 37, + MoveFileWithProgressSource = 38, + MoveFileWithProgressDest = 39, + MultipleOperations = 40, + ProcessExit = 41, + MacLookup = 42, + MacReadlink = 43, + MacVNodeCreate = 44, + KAuthMoveSource = 45, + KAuthMoveDest = 46, + KAuthCreateHardlinkSource = 47, + KAuthCreateHardlinkDest = 48, + KAuthCopySource = 49, + KAuthCopyDest = 50, + KAuthDeleteDir = 51, + KAuthDeleteFile = 52, + KAuthOpenDir = 53, + KAuthReadFile = 54, + KAuthCreateDir = 55, + KAuthWriteFile = 56, + KAuthClose = 57, + KAuthCloseModified = 58, + KAuthGetAttributes = 59, + KAuthVNodeExecute = 60, + KAuthVNodeWrite = 61, + KAuthVNodeRead = 62, + KAuthVNodeProbe = 63, + MacVNodeWrite = 64, + MacVNodeCloneSource = 65, + MacVNodeCloneDest = 66 + } + + [System.Flags] + public enum RequestedAccess : byte + { + None = 0, + Read = 1, + Write = 2, + ReadWrite = 3, + Probe = 4, + Enumerate = 8, + EnumerationProbe = 16, + All = 31 + } +} + +namespace Microsoft.Build.Experimental.ProjectCache +{ + public partial class CacheContext + { + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public CacheContext(System.Collections.Generic.IReadOnlyDictionary pluginSettings, FileSystem.MSBuildFileSystemBase fileSystem, System.Collections.Generic.IReadOnlyCollection requestedTargets, Graph.ProjectGraph? graph = null, System.Collections.Generic.IReadOnlyCollection? graphEntryPoints = null) { } + public FileSystem.MSBuildFileSystemBase FileSystem { get { throw null; } } + public Graph.ProjectGraph? Graph { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection? GraphEntryPoints { get { throw null; } } + public string? MSBuildExePath { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection RequestedTargets { get { throw null; } } + } + public partial class CacheResult + { + internal CacheResult() { } + public Execution.BuildResult? BuildResult { get { throw null; } } + public ProxyTargets? ProxyTargets { get { throw null; } } + public CacheResultType ResultType { get { throw null; } } + + public static CacheResult IndicateCacheHit(Execution.BuildResult buildResult) { throw null; } + public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets) { throw null; } + public static CacheResult IndicateCacheHit(System.Collections.Generic.IReadOnlyCollection targetResults) { throw null; } + public static CacheResult IndicateNonCacheHit(CacheResultType resultType) { throw null; } + } + public enum CacheResultType + { + None = 0, + CacheHit = 1, + CacheMiss = 2, + CacheNotApplicable = 3 + } + + public readonly partial struct FileAccessContext + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FileAccessContext(string projectFullPath, System.Collections.Generic.IReadOnlyDictionary globalProperties, System.Collections.Generic.IReadOnlyList targets) { } + public System.Collections.Generic.IReadOnlyDictionary GlobalProperties { get { throw null; } } + public string ProjectFullPath { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Targets { get { throw null; } } + } + + public abstract partial class PluginLoggerBase + { + public abstract bool HasLoggedErrors { get; protected set; } + + public abstract void LogError(string error); + public abstract void LogMessage(string message, Framework.MessageImportance? messageImportance = null); + public abstract void LogWarning(string warning); + } + public readonly partial struct PluginTargetResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PluginTargetResult(string targetName, System.Collections.Generic.IReadOnlyCollection taskItems, Execution.BuildResultCode resultCode) { } + public Execution.BuildResultCode ResultCode { get { throw null; } } + public string TargetName { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection TaskItems { get { throw null; } } + } + + public partial class ProjectCacheDescriptor + { + internal ProjectCacheDescriptor() { } + public string? PluginAssemblyPath { get { throw null; } } + public ProjectCachePluginBase? PluginInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary PluginSettings { get { throw null; } } + + public static ProjectCacheDescriptor FromAssemblyPath(string pluginAssemblyPath, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + public static ProjectCacheDescriptor FromInstance(ProjectCachePluginBase pluginInstance, System.Collections.Generic.IReadOnlyDictionary? pluginSettings = null) { throw null; } + } + public sealed partial class ProjectCacheException : Framework.BuildException.BuildExceptionBase + { + internal ProjectCacheException() { } + public string ErrorCode { get { throw null; } } + public bool HasBeenLoggedByProjectCache { get { throw null; } } + } + + public abstract partial class ProjectCachePluginBase + { + public abstract System.Threading.Tasks.Task BeginBuildAsync(CacheContext context, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task EndBuildAsync(PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.Task GetCacheResultAsync(Execution.BuildRequestData buildRequest, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken); + [System.CLSCompliant(false)] + public virtual void HandleFileAccess(FileAccessContext fileAccessContext, FileAccess.FileAccessData fileAccessData) { } + [System.CLSCompliant(false)] + public virtual void HandleProcess(FileAccessContext fileAccessContext, FileAccess.ProcessData processData) { } + public virtual System.Threading.Tasks.Task HandleProjectFinishedAsync(FileAccessContext fileAccessContext, Execution.BuildResult buildResult, PluginLoggerBase logger, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public partial class ProxyTargets + { + public ProxyTargets(System.Collections.Generic.IReadOnlyDictionary proxyTargetToRealTargetMap) { } + public System.Collections.Generic.IReadOnlyDictionary ProxyTargetToRealTargetMap { get { throw null; } } + } +} + +namespace Microsoft.Build.FileSystem +{ + public delegate bool FindPredicate(ref System.ReadOnlySpan fileName); + public delegate TResult FindTransform(ref System.ReadOnlySpan fileName); + public partial interface IDirectoryCache + { + bool DirectoryExists(string path); + System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string pattern, FindPredicate predicate, FindTransform transform); + System.Collections.Generic.IEnumerable EnumerateFiles(string path, string pattern, FindPredicate predicate, FindTransform transform); + bool FileExists(string path); + } + + public partial interface IDirectoryCacheFactory + { + IDirectoryCache GetDirectoryCacheForEvaluation(int evaluationId); + } + + public abstract partial class MSBuildFileSystemBase + { + public virtual bool DirectoryExists(string path) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateDirectories(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFiles(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual System.Collections.Generic.IEnumerable EnumerateFileSystemEntries(string path, string searchPattern = "*", System.IO.SearchOption searchOption = System.IO.SearchOption.TopDirectoryOnly) { throw null; } + public virtual bool FileExists(string path) { throw null; } + public virtual bool FileOrDirectoryExists(string path) { throw null; } + public virtual System.IO.FileAttributes GetAttributes(string path) { throw null; } + public virtual System.IO.Stream GetFileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; } + public virtual System.DateTime GetLastWriteTimeUtc(string path) { throw null; } + public virtual System.IO.TextReader ReadFile(string path) { throw null; } + public virtual byte[] ReadFileAllBytes(string path) { throw null; } + public virtual string ReadFileAllText(string path) { throw null; } + } +} + +namespace Microsoft.Build.Globbing +{ + public partial class CompositeGlob : IMSBuildGlob + { + public CompositeGlob(params IMSBuildGlob[] globs) { } + public CompositeGlob(System.Collections.Generic.IEnumerable globs) { } + public System.Collections.Generic.IEnumerable Globs { get { throw null; } } + + public static IMSBuildGlob Create(System.Collections.Generic.IEnumerable globs) { throw null; } + public bool IsMatch(string stringToMatch) { throw null; } + } + + public partial interface IMSBuildGlob + { + bool IsMatch(string stringToMatch); + } + + public partial class MSBuildGlob : IMSBuildGlob + { + internal MSBuildGlob() { } + public string FilenamePart { get { throw null; } } + public string FixedDirectoryPart { get { throw null; } } + public bool IsLegal { get { throw null; } } + public string WildcardDirectoryPart { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + public MatchInfoResult MatchInfo(string stringToMatch) { throw null; } + public static MSBuildGlob Parse(string globRoot, string fileSpec) { throw null; } + public static MSBuildGlob Parse(string fileSpec) { throw null; } + public readonly partial struct MatchInfoResult + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string FilenamePartMatchGroup { get { throw null; } } + public string FixedDirectoryPartMatchGroup { get { throw null; } } + public bool IsMatch { get { throw null; } } + public string WildcardDirectoryPartMatchGroup { get { throw null; } } + } + } + + public partial class MSBuildGlobWithGaps : IMSBuildGlob + { + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, params IMSBuildGlob[] gaps) { } + public MSBuildGlobWithGaps(IMSBuildGlob mainGlob, System.Collections.Generic.IEnumerable gaps) { } + public IMSBuildGlob Gaps { get { throw null; } } + public IMSBuildGlob MainGlob { get { throw null; } } + + public bool IsMatch(string stringToMatch) { throw null; } + } +} + +namespace Microsoft.Build.Globbing.Extensions +{ + public static partial class MSBuildGlobExtensions + { + public static System.Collections.Generic.IEnumerable GetParsedGlobs(this IMSBuildGlob glob) { throw null; } + } +} + +namespace Microsoft.Build.Graph +{ + public partial record GraphBuildOptions() + { + public bool Build { get { throw null; } init { } } + } + public sealed partial class GraphBuildRequestData : Execution.BuildRequestData + { + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraph projectGraph, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public GraphBuildRequestData(System.Collections.Generic.IEnumerable projectGraphEntryPoints, System.Collections.Generic.ICollection targetsToBuild) : base(default!, default, default) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices, Execution.BuildRequestDataFlags flags) : base(default!, default, default) { } + public GraphBuildRequestData(string projectFullPath, System.Collections.Generic.IDictionary globalProperties, System.Collections.Generic.ICollection targetsToBuild, Execution.HostServices? hostServices) : base(default!, default, default) { } + public override System.Collections.Generic.IEnumerable EntryProjectsFullPath { get { throw null; } } + public Execution.BuildRequestDataFlags Flags { get { throw null; } } + public override System.Collections.Generic.IReadOnlyDictionary GlobalPropertiesLookup { get { throw null; } } + public GraphBuildOptions GraphBuildOptions { get { throw null; } } + public Execution.HostServices? HostServices { get { throw null; } } + public override bool IsGraphRequest { get { throw null; } } + public ProjectGraph? ProjectGraph { get { throw null; } } + public System.Collections.Generic.IEnumerable? ProjectGraphEntryPoints { get { throw null; } } + public System.Collections.Generic.ICollection TargetNames { get { throw null; } } + } + + public sealed partial class GraphBuildResult : Execution.BuildResultBase + { + internal GraphBuildResult() { } + public override bool CircularDependency { get { throw null; } } + public override System.Exception? Exception { get { throw null; } internal set { } } + + public Execution.BuildResult this[ProjectGraphNode node] { get { throw null; } } + + public override Execution.BuildResultCode OverallResult { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary ResultsByNode { get { throw null; } } + public override int SubmissionId { get { throw null; } } + } + + public partial class GraphBuildSubmission : Execution.BuildSubmissionBase + { + internal GraphBuildSubmission() : base(default!, default, default!) { } + public object? AsyncContext { get { throw null; } } + public Execution.BuildManager BuildManager { get { throw null; } } + public new GraphBuildResult? BuildResult { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public int SubmissionId { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + + protected internal override void CheckResultValidForCompletion(GraphBuildResult result) { } + protected internal override GraphBuildResult CreateFailedResult(System.Exception exception) { throw null; } + public override GraphBuildResult Execute() { throw null; } + public void ExecuteAsync(GraphBuildSubmissionCompleteCallback? callback, object? context) { } + } + + public delegate void GraphBuildSubmissionCompleteCallback(GraphBuildSubmission submission); + public sealed partial class ProjectGraph + { + public ProjectGraph(ProjectGraphEntryPoint entryPoint, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(ProjectGraphEntryPoint entryPoint) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, int degreeOfParallelism, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, System.Threading.CancellationToken cancellationToken) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryPoints) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(System.Collections.Generic.IEnumerable entryProjectFiles) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory) { } + public ProjectGraph(string entryProjectFile, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties, Evaluation.ProjectCollection projectCollection) { } + public ProjectGraph(string entryProjectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraph(string entryProjectFile) { } + public GraphConstructionMetrics ConstructionMetrics { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection EntryPointNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection GraphRoots { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodes { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectNodesTopologicallySorted { get { throw null; } } + + public System.Collections.Generic.IReadOnlyDictionary> GetTargetLists(System.Collections.Generic.ICollection entryProjectTargets) { throw null; } + public readonly partial struct GraphConstructionMetrics + { + private readonly int _dummyPrimitive; + public GraphConstructionMetrics(System.TimeSpan constructionTime, int nodeCount, int edgeCount) { } + public System.TimeSpan ConstructionTime { get { throw null; } } + public int EdgeCount { get { throw null; } } + public int NodeCount { get { throw null; } } + } + + public delegate Execution.ProjectInstance ProjectInstanceFactoryFunc(string projectPath, System.Collections.Generic.Dictionary globalProperties, Evaluation.ProjectCollection projectCollection); + } + public partial struct ProjectGraphEntryPoint + { + private object _dummy; + private int _dummyPrimitive; + public ProjectGraphEntryPoint(string projectFile, System.Collections.Generic.IDictionary globalProperties) { } + public ProjectGraphEntryPoint(string projectFile) { } + public System.Collections.Generic.IDictionary GlobalProperties { get { throw null; } } + public string ProjectFile { get { throw null; } } + } + + public sealed partial class ProjectGraphNode + { + internal ProjectGraphNode() { } + public Execution.ProjectInstance ProjectInstance { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ProjectReferences { get { throw null; } } + public System.Collections.Generic.IReadOnlyCollection ReferencingProjects { get { throw null; } } + } +} + +namespace Microsoft.Build.Logging +{ + public abstract partial class ArchiveData : System.IDisposable + { + internal ArchiveData() { } + public string FullPath { get { throw null; } } + + public virtual void Dispose() { } + public abstract ArchiveFile ToArchiveFile(); + } + + public sealed partial class ArchiveFile : ArchiveData + { + public ArchiveFile(string fullPath, string content) { } + public string Content { get { throw null; } } + + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class ArchiveFileEventArgs : System.EventArgs + { + public ArchiveFileEventArgs(ArchiveData archiveData) { } + public ArchiveData ArchiveData { get { throw null; } set { } } + } + + public static partial class ArchiveFileEventArgsExtensions + { + public static System.Action ToArchiveFileHandler(this System.Action stringHandler) { throw null; } + } + public sealed partial class ArchiveStream : ArchiveData + { + public ArchiveStream(string fullPath, System.IO.StreamReader contentReader) { } + public System.IO.StreamReader ContentReader { get { throw null; } } + + public override void Dispose() { } + public override ArchiveFile ToArchiveFile() { throw null; } + } + + public sealed partial class BinaryLogger : Framework.ILogger + { + public ProjectImportsCollectionMode CollectProjectImports { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + public enum ProjectImportsCollectionMode + { + None = 0, + Embed = 1, + ZipFile = 2 + } + } + + public sealed partial class BinaryLogReaderErrorEventArgs : System.EventArgs + { + internal BinaryLogReaderErrorEventArgs() { } + public ReaderErrorType ErrorType { get { throw null; } } + public BinaryLogRecordKind RecordKind { get { throw null; } } + + public string GetFormattedMessage() { throw null; } + } + + public enum BinaryLogRecordKind + { + EndOfFile = 0, + BuildStarted = 1, + BuildFinished = 2, + ProjectStarted = 3, + ProjectFinished = 4, + TargetStarted = 5, + TargetFinished = 6, + TaskStarted = 7, + TaskFinished = 8, + Error = 9, + Warning = 10, + Message = 11, + TaskCommandLine = 12, + CriticalBuildMessage = 13, + ProjectEvaluationStarted = 14, + ProjectEvaluationFinished = 15, + ProjectImported = 16, + ProjectImportArchive = 17, + TargetSkipped = 18, + PropertyReassignment = 19, + UninitializedPropertyRead = 20, + EnvironmentVariableRead = 21, + PropertyInitialValueSet = 22, + NameValueList = 23, + String = 24, + TaskParameter = 25, + ResponseFileUsed = 26, + AssemblyLoad = 27, + BuildCheckMessage = 28, + BuildCheckWarning = 29, + BuildCheckError = 30, + BuildCheckTracing = 31, + BuildCheckAcquisition = 32, + BuildSubmissionStarted = 33, + BuildCanceled = 34 + } + + public sealed partial class BinaryLogReplayEventSource : EventArgsDispatcher, Framework.IEventSource, IBuildEventArgsReaderNotifications + { + public bool AllowForwardCompatibility { init { } } + public int FileFormatVersion { get { throw null; } } + public int MinimumReaderVersion { get { throw null; } } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public static BuildEventArgsReader OpenBuildEventsReader(System.IO.BinaryReader binaryReader, bool closeInput, bool allowForwardCompatibility = false) { throw null; } + public static BuildEventArgsReader OpenBuildEventsReader(string sourceFilePath) { throw null; } + public static System.IO.BinaryReader OpenReader(System.IO.Stream sourceFileStream) { throw null; } + public static System.IO.BinaryReader OpenReader(string sourceFilePath) { throw null; } + public void Replay(BuildEventArgsReader reader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, bool closeInput, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.BinaryReader binaryReader, System.Threading.CancellationToken cancellationToken) { } + public void Replay(System.IO.Stream sourceFileStream, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath, System.Threading.CancellationToken cancellationToken) { } + public void Replay(string sourceFilePath) { } + } + + public static partial class BuildEventArgsExtensions + { + public static System.Collections.Generic.IEnumerable EnumerateItems(this Framework.ProjectEvaluationFinishedEventArgs eventArgs) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateItems(this Framework.ProjectStartedEventArgs eventArgs) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateItemsOfType(this Framework.ProjectEvaluationFinishedEventArgs eventArgs, string typeName) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateItemsOfType(this Framework.ProjectStartedEventArgs eventArgs, string typeName) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateItemsOfTypes(this Framework.ProjectEvaluationFinishedEventArgs eventArgs, string[] typeNames) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateItemsOfTypes(this Framework.ProjectStartedEventArgs eventArgs, string[] typeNames) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateProperties(this Framework.ProjectEvaluationFinishedEventArgs eventArgs) { throw null; } + public static System.Collections.Generic.IEnumerable EnumerateProperties(this Framework.ProjectStartedEventArgs eventArgs) { throw null; } + } + public partial class BuildEventArgsReader : IBuildEventArgsReaderNotifications, System.IDisposable + { + public BuildEventArgsReader(System.IO.BinaryReader binaryReader, int fileFormatVersion) { } + public bool CloseInput { set { } } + public bool SkipUnknownEventParts { set { } } + public bool SkipUnknownEvents { set { } } + + public event System.Action? ArchiveFileEncountered { + add { } + remove { } + } + + public event System.Action? RecoverableReadError { + add { } + remove { } + } + + public event System.Action? StringReadDone { + add { } + remove { } + } + + public void Dispose() { } + public Framework.BuildEventArgs? Read() { throw null; } + } + + public delegate void ColorResetter(); + public delegate void ColorSetter(System.ConsoleColor color); + public partial class ConfigurableForwardingLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector? BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + protected virtual void ForwardToCentralLogger(Framework.BuildEventArgs e) { } + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public virtual void Shutdown() { } + } + + public partial class ConsoleLogger : Framework.INodeLogger, Framework.ILogger + { + public ConsoleLogger() { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity, WriteHandler write, ColorSetter colorSet, ColorResetter colorReset) { } + public ConsoleLogger(Framework.LoggerVerbosity verbosity) { } + public string Parameters { get { throw null; } set { } } + public bool ShowSummary { get { throw null; } set { } } + public bool SkipProjectStartedText { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + protected WriteHandler WriteHandler { get { throw null; } set { } } + + public void ApplyParameter(string parameterName, string parameterValue) { } + public void BuildFinishedHandler(object sender, Framework.BuildFinishedEventArgs e) { } + public void BuildStartedHandler(object sender, Framework.BuildStartedEventArgs e) { } + public void CustomEventHandler(object sender, Framework.CustomBuildEventArgs e) { } + public void ErrorHandler(object sender, Framework.BuildErrorEventArgs e) { } + public virtual void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public virtual void Initialize(Framework.IEventSource eventSource) { } + public void MessageHandler(object sender, Framework.BuildMessageEventArgs e) { } + public void ProjectFinishedHandler(object sender, Framework.ProjectFinishedEventArgs e) { } + public void ProjectStartedHandler(object sender, Framework.ProjectStartedEventArgs e) { } + public virtual void Shutdown() { } + public void TargetFinishedHandler(object sender, Framework.TargetFinishedEventArgs e) { } + public void TargetStartedHandler(object sender, Framework.TargetStartedEventArgs e) { } + public void TaskFinishedHandler(object sender, Framework.TaskFinishedEventArgs e) { } + public void TaskStartedHandler(object sender, Framework.TaskStartedEventArgs e) { } + public void WarningHandler(object sender, Framework.BuildWarningEventArgs e) { } + } + + public partial class DistributedFileLogger : Framework.IForwardingLogger, Framework.INodeLogger, Framework.ILogger + { + public Framework.IEventRedirector BuildEventRedirector { get { throw null; } set { } } + public int NodeId { get { throw null; } set { } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public partial class EventArgsDispatcher : Framework.IEventSource + { + public event Framework.AnyEventHandler AnyEventRaised { + add { } + remove { } + } + + public event Framework.BuildFinishedEventHandler BuildFinished { + add { } + remove { } + } + + public event Framework.BuildStartedEventHandler BuildStarted { + add { } + remove { } + } + + public event Framework.CustomBuildEventHandler CustomEventRaised { + add { } + remove { } + } + + public event Framework.BuildErrorEventHandler ErrorRaised { + add { } + remove { } + } + + public event Framework.BuildMessageEventHandler MessageRaised { + add { } + remove { } + } + + public event Framework.ProjectFinishedEventHandler ProjectFinished { + add { } + remove { } + } + + public event Framework.ProjectStartedEventHandler ProjectStarted { + add { } + remove { } + } + + public event Framework.BuildStatusEventHandler StatusEventRaised { + add { } + remove { } + } + + public event Framework.TargetFinishedEventHandler TargetFinished { + add { } + remove { } + } + + public event Framework.TargetStartedEventHandler TargetStarted { + add { } + remove { } + } + + public event Framework.TaskFinishedEventHandler TaskFinished { + add { } + remove { } + } + + public event Framework.TaskStartedEventHandler TaskStarted { + add { } + remove { } + } + + public event Framework.BuildWarningEventHandler WarningRaised { + add { } + remove { } + } + + public void Dispatch(Framework.BuildEventArgs buildEvent) { } + } + + public partial class FileLogger : ConsoleLogger + { + public override void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public override void Initialize(Framework.IEventSource eventSource) { } + public override void Shutdown() { } + } + + public partial class ForwardingLoggerRecord + { + public ForwardingLoggerRecord(Framework.ILogger centralLogger, LoggerDescription forwardingLoggerDescription) { } + public Framework.ILogger CentralLogger { get { throw null; } } + public LoggerDescription ForwardingLoggerDescription { get { throw null; } } + } + public partial interface IBuildEventArgsReaderNotifications + { + event System.Action? ArchiveFileEncountered; + event System.Action? RecoverableReadError; + event System.Action? StringReadDone; + } + + public partial class LoggerDescription + { + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity, bool isOptional) { } + public LoggerDescription(string loggerClassName, string loggerAssemblyName, string loggerAssemblyFile, string loggerSwitchParameters, Framework.LoggerVerbosity verbosity) { } + public bool IsOptional { get { throw null; } } + public string LoggerSwitchParameters { get { throw null; } } + public string Name { get { throw null; } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } } + + public Framework.ILogger CreateLogger() { throw null; } + } + public sealed partial class ProfilerLogger : Framework.ILogger + { + public ProfilerLogger(string fileToLog) { } + public string FileToLog { get { throw null; } } + public string Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } + + public enum ReaderErrorType + { + UnknownEventType = 0, + UnknownEventData = 1, + UnknownFormatOfEventData = 2 + } + + public sealed partial class StringReadEventArgs : System.EventArgs + { + public StringReadEventArgs(string str) { } + public string OriginalString { get { throw null; } } + public string StringToBeUsed { get { throw null; } set { } } + } + + public sealed partial class TerminalLogger : Framework.INodeLogger, Framework.ILogger + { + internal TerminalLogger() { } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public static Framework.ILogger CreateTerminalOrConsoleLogger(string[]? args = null) { throw null; } + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void ParseParameters() { } + public void Shutdown() { } + } + + public delegate void WriteHandler(string message); +} + +namespace Microsoft.Build.Logging.SimpleErrorLogger +{ + public sealed partial class SimpleErrorLogger : Framework.INodeLogger, Framework.ILogger + { + public bool HasLoggedErrors { get { throw null; } } + public string? Parameters { get { throw null; } set { } } + public Framework.LoggerVerbosity Verbosity { get { throw null; } set { } } + + public void Initialize(Framework.IEventSource eventSource, int nodeCount) { } + public void Initialize(Framework.IEventSource eventSource) { } + public void Shutdown() { } + } +} + +namespace Microsoft.Build.ObjectModelRemoting +{ + public abstract partial class ExternalProjectsProvider + { + public virtual void Disconnected(Evaluation.ProjectCollection collection) { } + public abstract System.Collections.Generic.ICollection GetLoadedProjects(string filePath); + public static void SetExternalProjectsProvider(Evaluation.ProjectCollection collection, ExternalProjectsProvider link) { } + } + public partial class LinkedObjectsFactory + { + internal LinkedObjectsFactory() { } + public Evaluation.ProjectCollection Collection { get { throw null; } } + + public Evaluation.ResolvedImport Create(Construction.ProjectImportElement importingElement, Construction.ProjectRootElement importedProject, int versionEvaluated, Framework.SdkResult sdkResult, bool isImported) { throw null; } + public Construction.ProjectChooseElement Create(ProjectChooseElementLink link) { throw null; } + public Construction.ProjectExtensionsElement Create(ProjectExtensionsElementLink link) { throw null; } + public Construction.ProjectImportElement Create(ProjectImportElementLink link) { throw null; } + public Construction.ProjectImportGroupElement Create(ProjectImportGroupElementLink link) { throw null; } + public Construction.ProjectItemDefinitionElement Create(ProjectItemDefinitionElementLink link) { throw null; } + public Construction.ProjectItemDefinitionGroupElement Create(ProjectItemDefinitionGroupElementLink link) { throw null; } + public Evaluation.ProjectItemDefinition Create(ProjectItemDefinitionLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectItemElement Create(ProjectItemElementLink link) { throw null; } + public Construction.ProjectItemGroupElement Create(ProjectItemGroupElementLink link) { throw null; } + public Evaluation.ProjectItem Create(ProjectItemLink link, Evaluation.Project project = null, Construction.ProjectItemElement xml = null) { throw null; } + public Evaluation.Project Create(ProjectLink link) { throw null; } + public Construction.ProjectMetadataElement Create(ProjectMetadataElementLink link) { throw null; } + public Evaluation.ProjectMetadata Create(ProjectMetadataLink link, object parent = null) { throw null; } + public Construction.ProjectOnErrorElement Create(ProjectOnErrorElementLink link) { throw null; } + public Construction.ProjectOtherwiseElement Create(ProjectOtherwiseElementLink link) { throw null; } + public Construction.ProjectOutputElement Create(ProjectOutputElementLink link) { throw null; } + public Construction.ProjectPropertyElement Create(ProjectPropertyElementLink link) { throw null; } + public Construction.ProjectPropertyGroupElement Create(ProjectPropertyGroupElementLink link) { throw null; } + public Evaluation.ProjectProperty Create(ProjectPropertyLink link, Evaluation.Project project = null) { throw null; } + public Construction.ProjectRootElement Create(ProjectRootElementLink link) { throw null; } + public Construction.ProjectSdkElement Create(ProjectSdkElementLink link) { throw null; } + public Construction.ProjectTargetElement Create(ProjectTargetElementLink link) { throw null; } + public Construction.ProjectTaskElement Create(ProjectTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskBodyElement Create(ProjectUsingTaskBodyElementLink link) { throw null; } + public Construction.ProjectUsingTaskElement Create(ProjectUsingTaskElementLink link) { throw null; } + public Construction.ProjectUsingTaskParameterElement Create(ProjectUsingTaskParameterElementLink link) { throw null; } + public Construction.ProjectWhenElement Create(ProjectWhenElementLink link) { throw null; } + public Construction.UsingTaskParameterGroupElement Create(UsingTaskParameterGroupElementLink link) { throw null; } + public static LinkedObjectsFactory Get(Evaluation.ProjectCollection collection) { throw null; } + public static object GetLink(object obj) { throw null; } + public static System.Collections.Generic.IReadOnlyCollection GetLocalProjects(Evaluation.ProjectCollection collection, string projectFile = null) { throw null; } + public static bool IsLocal(object obj) { throw null; } + } + public abstract partial class ProjectChooseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectElementContainerLink : ProjectElementLink + { + public abstract int Count { get; } + public abstract Construction.ProjectElement FirstChild { get; } + public abstract Construction.ProjectElement LastChild { get; } + + public abstract void AddInitialChild(Construction.ProjectElement child); + public static void AddInitialChild(Construction.ProjectElementContainer xml, Construction.ProjectElement child) { } + public static Construction.ProjectElementContainer DeepClone(Construction.ProjectElementContainer xml, Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent) { throw null; } + public abstract Construction.ProjectElementContainer DeepClone(Construction.ProjectRootElement factory, Construction.ProjectElementContainer parent); + public abstract void InsertAfterChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void InsertBeforeChild(Construction.ProjectElement child, Construction.ProjectElement reference); + public abstract void RemoveChild(Construction.ProjectElement child); + } + + public abstract partial class ProjectElementLink + { + public abstract System.Collections.Generic.IReadOnlyCollection Attributes { get; } + public abstract Construction.ProjectRootElement ContainingProject { get; } + public abstract string ElementName { get; } + public abstract bool ExpressedAsAttribute { get; set; } + public abstract Construction.ElementLocation Location { get; } + public abstract Construction.ProjectElement NextSibling { get; } + public abstract string OuterElement { get; } + public abstract Construction.ProjectElementContainer Parent { get; } + public abstract Construction.ProjectElement PreviousSibling { get; } + public abstract string PureText { get; } + + public abstract void CopyFrom(Construction.ProjectElement element); + public static Construction.ProjectElement CreateNewInstance(Construction.ProjectElement xml, Construction.ProjectRootElement owner) { throw null; } + public abstract Construction.ProjectElement CreateNewInstance(Construction.ProjectRootElement owner); + public static Construction.ElementLocation GetAttributeLocation(Construction.ProjectElement xml, string attributeName) { throw null; } + public abstract Construction.ElementLocation GetAttributeLocation(string attributeName); + public static System.Collections.Generic.IReadOnlyCollection GetAttributes(Construction.ProjectElement xml) { throw null; } + public static string GetAttributeValue(Construction.ProjectElement xml, string attributeName, bool nullIfNotExists) { throw null; } + public abstract string GetAttributeValue(string attributeName, bool nullIfNotExists); + public static bool GetExpressedAsAttribute(Construction.ProjectElement xml) { throw null; } + public static string GetPureText(Construction.ProjectElement xml) { throw null; } + public static void MarkDirty(Construction.ProjectElement xml, string reason, string param) { } + public static void SetExpressedAsAttribute(Construction.ProjectElement xml, bool value) { } + public static void SetOrRemoveAttribute(Construction.ProjectElement xml, string name, string value, bool clearAttributeCache, string reason, string param) { } + public abstract void SetOrRemoveAttribute(string name, string value, bool clearAttributeCache, string reason, string param); + } + public abstract partial class ProjectExtensionsElementLink : ProjectElementLink + { + public abstract string Content { get; set; } + + public abstract string GetSubElement(string name); + public abstract void SetSubElement(string name, string value); + } + + public abstract partial class ProjectImportElementLink : ProjectElementLink + { + public abstract Construction.ImplicitImportLocation ImplicitImportLocation { get; } + public abstract Construction.ProjectElement OriginalElement { get; } + } + + public abstract partial class ProjectImportGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemDefinitionLink + { + public abstract string ItemType { get; } + public abstract System.Collections.Generic.ICollection Metadata { get; } + public abstract Evaluation.Project Project { get; } + + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue); + } + public abstract partial class ProjectItemElementLink : ProjectElementContainerLink + { + public abstract void ChangeItemType(string newType); + } + + public abstract partial class ProjectItemGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectItemLink + { + public abstract System.Collections.Generic.ICollection DirectMetadata { get; } + public abstract string EvaluatedInclude { get; } + public abstract System.Collections.Generic.ICollection MetadataCollection { get; } + public abstract Evaluation.Project Project { get; } + public abstract Construction.ProjectItemElement Xml { get; } + + public abstract void ChangeItemType(string newItemType); + public abstract Evaluation.ProjectMetadata GetMetadata(string name); + public abstract string GetMetadataValue(string name); + public abstract bool HasMetadata(string name); + public abstract bool RemoveMetadata(string name); + public abstract void Rename(string name); + public abstract Evaluation.ProjectMetadata SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems); + } + public abstract partial class ProjectLink + { + public abstract System.Collections.Generic.ICollection AllEvaluatedItemDefinitionMetadata { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedItems { get; } + public abstract System.Collections.Generic.ICollection AllEvaluatedProperties { get; } + public abstract System.Collections.Generic.IDictionary> ConditionedProperties { get; } + public abstract bool DisableMarkDirty { get; set; } + public abstract System.Collections.Generic.IDictionary GlobalProperties { get; } + public abstract System.Collections.Generic.IList Imports { get; } + public abstract System.Collections.Generic.IList ImportsIncludingDuplicates { get; } + public abstract bool IsBuildEnabled { get; set; } + public abstract bool IsDirty { get; } + public abstract System.Collections.Generic.IDictionary ItemDefinitions { get; } + public abstract System.Collections.Generic.ICollection Items { get; } + public abstract System.Collections.Generic.ICollection ItemsIgnoringCondition { get; } + public abstract System.Collections.Generic.ICollection ItemTypes { get; } + public abstract int LastEvaluationId { get; } + public abstract System.Collections.Generic.ICollection Properties { get; } + public abstract bool SkipEvaluation { get; set; } + public abstract string SubToolsetVersion { get; } + public abstract System.Collections.Generic.IDictionary Targets { get; } + public abstract bool ThrowInsteadOfSplittingItemElement { get; set; } + public abstract string ToolsVersion { get; } + public abstract Construction.ProjectRootElement Xml { get; } + + public abstract System.Collections.Generic.IList AddItem(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract System.Collections.Generic.IList AddItemFast(string itemType, string unevaluatedInclude, System.Collections.Generic.IEnumerable> metadata); + public abstract bool Build(string[] targets, System.Collections.Generic.IEnumerable loggers, System.Collections.Generic.IEnumerable remoteLoggers, Evaluation.Context.EvaluationContext evaluationContext); + public abstract Execution.ProjectInstance CreateProjectInstance(Execution.ProjectInstanceSettings settings, Evaluation.Context.EvaluationContext evaluationContext); + public abstract string ExpandString(string unexpandedValue); + public abstract System.Collections.Generic.List GetAllGlobs(Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetAllGlobs(string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(Evaluation.ProjectItem item, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.List GetItemProvenance(string itemToMatch, string itemType, Evaluation.Context.EvaluationContext evaluationContext); + public abstract System.Collections.Generic.ICollection GetItems(string itemType); + public abstract System.Collections.Generic.ICollection GetItemsByEvaluatedInclude(string evaluatedInclude); + public abstract System.Collections.Generic.ICollection GetItemsIgnoringCondition(string itemType); + public abstract System.Collections.Generic.IEnumerable GetLogicalProject(); + public abstract Evaluation.ProjectProperty GetProperty(string name); + public abstract string GetPropertyValue(string name); + public virtual bool GlobalPropertiesContains(string key) { throw null; } + public virtual int GlobalPropertiesCount() { throw null; } + public virtual System.Collections.Generic.IEnumerable> GlobalPropertiesEnumerable() { throw null; } + public abstract void MarkDirty(); + public abstract void ReevaluateIfNecessary(Evaluation.Context.EvaluationContext evaluationContext); + public abstract bool RemoveGlobalProperty(string name); + public abstract bool RemoveItem(Evaluation.ProjectItem item); + public abstract void RemoveItems(System.Collections.Generic.IEnumerable items); + public abstract bool RemoveProperty(Evaluation.ProjectProperty property); + public abstract void SaveLogicalProject(System.IO.TextWriter writer); + public abstract bool SetGlobalProperty(string name, string escapedValue); + public abstract Evaluation.ProjectProperty SetProperty(string name, string unevaluatedValue); + public abstract void Unload(); + } + public abstract partial class ProjectMetadataElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectMetadataLink + { + public abstract string EvaluatedValueEscaped { get; } + public abstract object Parent { get; } + public abstract Evaluation.ProjectMetadata Predecessor { get; } + public abstract Construction.ProjectMetadataElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectMetadata metadata) { throw null; } + public static object GetParent(Evaluation.ProjectMetadata metadata) { throw null; } + } + public abstract partial class ProjectOnErrorElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectOtherwiseElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectOutputElementLink : ProjectElementLink + { + } + + public abstract partial class ProjectPropertyElementLink : ProjectElementLink + { + public abstract string Value { get; set; } + + public abstract void ChangeName(string newName); + } + + public abstract partial class ProjectPropertyGroupElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectPropertyLink + { + public abstract string EvaluatedIncludeEscaped { get; } + public abstract bool IsEnvironmentProperty { get; } + public abstract bool IsGlobalProperty { get; } + public abstract bool IsImported { get; } + public abstract bool IsReservedProperty { get; } + public abstract string Name { get; } + public abstract Evaluation.ProjectProperty Predecessor { get; } + public abstract Evaluation.Project Project { get; } + public abstract string UnevaluatedValue { get; set; } + public abstract Construction.ProjectPropertyElement Xml { get; } + + public static string GetEvaluatedValueEscaped(Evaluation.ProjectProperty property) { throw null; } + } + public abstract partial class ProjectRootElementLink : ProjectElementContainerLink + { + public abstract string DirectoryPath { get; } + public abstract System.Text.Encoding Encoding { get; } + public abstract string FullPath { get; set; } + public abstract bool HasUnsavedChanges { get; } + public abstract System.DateTime LastWriteTimeWhenRead { get; } + public abstract bool PreserveFormatting { get; } + public abstract Construction.ElementLocation ProjectFileLocation { get; } + public abstract string RawXml { get; } + public abstract System.DateTime TimeLastChanged { get; } + public abstract int Version { get; } + + public abstract Construction.ProjectChooseElement CreateChooseElement(); + public abstract Construction.ProjectImportElement CreateImportElement(string project); + public abstract Construction.ProjectImportGroupElement CreateImportGroupElement(); + public abstract Construction.ProjectItemDefinitionElement CreateItemDefinitionElement(string itemType); + public abstract Construction.ProjectItemDefinitionGroupElement CreateItemDefinitionGroupElement(); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType, string include); + public abstract Construction.ProjectItemElement CreateItemElement(string itemType); + public abstract Construction.ProjectItemGroupElement CreateItemGroupElement(); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name, string unevaluatedValue); + public abstract Construction.ProjectMetadataElement CreateMetadataElement(string name); + public abstract Construction.ProjectOnErrorElement CreateOnErrorElement(string executeTargets); + public abstract Construction.ProjectOtherwiseElement CreateOtherwiseElement(); + public abstract Construction.ProjectOutputElement CreateOutputElement(string taskParameter, string itemType, string propertyName); + public abstract Construction.ProjectExtensionsElement CreateProjectExtensionsElement(); + public abstract Construction.ProjectSdkElement CreateProjectSdkElement(string sdkName, string sdkVersion); + public abstract Construction.ProjectPropertyElement CreatePropertyElement(string name); + public abstract Construction.ProjectPropertyGroupElement CreatePropertyGroupElement(); + public abstract Construction.ProjectTargetElement CreateTargetElement(string name); + public abstract Construction.ProjectTaskElement CreateTaskElement(string name); + public abstract Construction.ProjectUsingTaskBodyElement CreateUsingTaskBodyElement(string evaluate, string body); + public abstract Construction.ProjectUsingTaskElement CreateUsingTaskElement(string taskName, string assemblyFile, string assemblyName, string runtime, string architecture); + public abstract Construction.ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType); + public abstract Construction.UsingTaskParameterGroupElement CreateUsingTaskParameterGroupElement(); + public abstract Construction.ProjectWhenElement CreateWhenElement(string condition); + public abstract void MarkDirty(string reason, string param); + public abstract void ReloadFrom(string path, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void ReloadFrom(System.Xml.XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting); + public abstract void Save(System.IO.TextWriter writer); + public abstract void Save(System.Text.Encoding saveEncoding); + } + + public abstract partial class ProjectSdkElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectTargetElementLink : ProjectElementContainerLink + { + public abstract string Name { get; set; } + public abstract string Returns { set; } + } + + public abstract partial class ProjectTaskElementLink : ProjectElementContainerLink + { + public abstract System.Collections.Generic.IEnumerable> ParameterLocations { get; } + public abstract System.Collections.Generic.IDictionary Parameters { get; } + + public abstract string GetParameter(string name); + public abstract void RemoveAllParameters(); + public abstract void RemoveParameter(string name); + public abstract void SetParameter(string name, string unevaluatedValue); + } + + public abstract partial class ProjectUsingTaskBodyElementLink : ProjectElementLink + { + public abstract string TaskBody { get; set; } + } + + public abstract partial class ProjectUsingTaskElementLink : ProjectElementContainerLink + { + } + + public abstract partial class ProjectUsingTaskParameterElementLink : ProjectElementLink + { + public abstract string Name { get; set; } + } + + public abstract partial class ProjectWhenElementLink : ProjectElementContainerLink + { + } + + public abstract partial class UsingTaskParameterGroupElementLink : ProjectElementContainerLink + { + } + + public partial struct XmlAttributeLink + { + private object _dummy; + private int _dummyPrimitive; + public XmlAttributeLink(string localName, string value, string namespaceUri) { } + public string LocalName { get { throw null; } } + public string NamespaceURI { get { throw null; } } + public string Value { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.11.48/Microsoft.NET.StringTools.17.11.48.csproj b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/Microsoft.NET.StringTools.17.11.48.csproj new file mode 100644 index 0000000000..45fa30e08c --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/Microsoft.NET.StringTools.17.11.48.csproj @@ -0,0 +1,14 @@ + + + + net8.0;netstandard2.0 + 17.11.48 + Microsoft.NET.StringTools + + + + + + + + diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.11.48/microsoft.net.stringtools.nuspec b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/microsoft.net.stringtools.nuspec new file mode 100644 index 0000000000..56bee0beee --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/microsoft.net.stringtools.nuspec @@ -0,0 +1,25 @@ + + + + Microsoft.NET.StringTools + 17.11.48 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.NET.StringTools assembly which implements common string-related functionality such as weak interning. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/net8.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/net8.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..20f82ca68a --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/net8.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/netstandard2.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/netstandard2.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..1f06c92592 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.11.48/ref/netstandard2.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.11.48.46605")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.11.48+02bf66295b64ab368d12933041f7281aad186a2d")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.12.50/Microsoft.NET.StringTools.17.12.50.csproj b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/Microsoft.NET.StringTools.17.12.50.csproj new file mode 100644 index 0000000000..94a3db634a --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/Microsoft.NET.StringTools.17.12.50.csproj @@ -0,0 +1,14 @@ + + + + net9.0;netstandard2.0 + 17.12.50 + Microsoft.NET.StringTools + + + + + + + + diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.12.50/microsoft.net.stringtools.nuspec b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/microsoft.net.stringtools.nuspec new file mode 100644 index 0000000000..a8dd94404a --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/microsoft.net.stringtools.nuspec @@ -0,0 +1,25 @@ + + + + Microsoft.NET.StringTools + 17.12.50 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://go.microsoft.com/fwlink/?linkid=825694 + This package contains the Microsoft.NET.StringTools assembly which implements common string-related functionality such as weak interning. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/net9.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/net9.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..bfa64f6e5b --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/net9.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/netstandard2.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/netstandard2.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..4cc8c9a367 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.12.50/ref/netstandard2.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.12.50.46606")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.12.50+728984d96edf07d56918a88b0f37fec6b1dfbbc9")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.14.28/Microsoft.NET.StringTools.17.14.28.csproj b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/Microsoft.NET.StringTools.17.14.28.csproj new file mode 100644 index 0000000000..036cf3587e --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/Microsoft.NET.StringTools.17.14.28.csproj @@ -0,0 +1,14 @@ + + + + net9.0;netstandard2.0 + 17.14.28 + Microsoft.NET.StringTools + + + + + + + + diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.14.28/microsoft.net.stringtools.nuspec b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/microsoft.net.stringtools.nuspec new file mode 100644 index 0000000000..8abcea6f37 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/microsoft.net.stringtools.nuspec @@ -0,0 +1,25 @@ + + + + Microsoft.NET.StringTools + 17.14.28 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + http://go.microsoft.com/fwlink/?LinkId=624683 + https://aka.ms/msbuildicon + This package contains the Microsoft.NET.StringTools assembly which implements common string-related functionality such as weak interning. + © Microsoft Corporation. All rights reserved. + MSBuild + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/net9.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/net9.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..cbe46a0035 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/net9.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/netstandard2.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/netstandard2.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..d17f7264f4 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.14.28/ref/netstandard2.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.net35.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.NET.StringTools.Benchmark, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyFileVersion("17.14.28.46601")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.14.28+09c1be8483dad070189c3a0c660e7acacf478402")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® Build Tools®")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.NET.StringTools.dll")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/msbuild")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.NET.StringTools +{ + public static partial class FowlerNollVo1aHash + { + public static long Combine64(long left, long right) { throw null; } + public static int ComputeHash32(string text) { throw null; } + public static int ComputeHash32Fast(string text) { throw null; } + public static long ComputeHash64(string text) { throw null; } + public static long ComputeHash64Fast(string text) { throw null; } + } + public partial class SpanBasedStringBuilder : System.IDisposable + { + public SpanBasedStringBuilder(int capacity = 4) { } + public SpanBasedStringBuilder(string str) { } + public int Capacity { get { throw null; } } + public int Length { get { throw null; } } + + public void Append(System.ReadOnlyMemory span) { } + public void Append(string value, int startIndex, int count) { } + public void Append(string? value) { } + public void Clear() { } + public void Dispose() { } + public Enumerator GetEnumerator() { throw null; } + public override string ToString() { throw null; } + public void Trim() { } + public void TrimEnd() { } + public void TrimStart() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public char Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class Strings + { + public static string CreateDiagnosticReport() { throw null; } + public static void EnableDiagnostics() { } + public static SpanBasedStringBuilder GetSpanBasedStringBuilder() { throw null; } + public static string WeakIntern(System.ReadOnlySpan str) { throw null; } + public static string WeakIntern(string str) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.buffers/4.6.0/System.Buffers.4.6.0.csproj b/src/referencePackages/src/system.buffers/4.6.0/System.Buffers.4.6.0.csproj new file mode 100644 index 0000000000..ab2ef93e0d --- /dev/null +++ b/src/referencePackages/src/system.buffers/4.6.0/System.Buffers.4.6.0.csproj @@ -0,0 +1,10 @@ + + + + netstandard2.0 + 4.6.0 + System.Buffers + Open + + + diff --git a/src/referencePackages/src/system.buffers/4.6.0/lib/netstandard2.0/System.Buffers.cs b/src/referencePackages/src/system.buffers/4.6.0/lib/netstandard2.0/System.Buffers.cs new file mode 100644 index 0000000000..6cddba1589 --- /dev/null +++ b/src/referencePackages/src/system.buffers/4.6.0/lib/netstandard2.0/System.Buffers.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Buffers")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Buffers")] +[assembly: System.Reflection.AssemblyFileVersion("4.600.24.56208")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.0+d0c2a5a83211e271826172a6b0510c25a52dbd53")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Buffers")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.2.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Buffers +{ + public abstract partial class ArrayPool + { + public static ArrayPool Shared { get { throw null; } } + + public static ArrayPool Create() { throw null; } + public static ArrayPool Create(int maxArrayLength, int maxArraysPerBucket) { throw null; } + public abstract T[] Rent(int minimumLength); + public abstract void Return(T[] array, bool clearArray = false); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.buffers/4.6.0/system.buffers.nuspec b/src/referencePackages/src/system.buffers/4.6.0/system.buffers.nuspec new file mode 100644 index 0000000000..eb834000f8 --- /dev/null +++ b/src/referencePackages/src/system.buffers/4.6.0/system.buffers.nuspec @@ -0,0 +1,19 @@ + + + + System.Buffers + 4.6.0 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Buffers + © Microsoft Corporation. All rights reserved. + true + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.codedom/9.0.0/System.CodeDom.9.0.0.csproj b/src/referencePackages/src/system.codedom/9.0.0/System.CodeDom.9.0.0.csproj new file mode 100644 index 0000000000..4be29ca60e --- /dev/null +++ b/src/referencePackages/src/system.codedom/9.0.0/System.CodeDom.9.0.0.csproj @@ -0,0 +1,10 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.CodeDom + Open + + + diff --git a/src/referencePackages/src/system.codedom/9.0.0/lib/net8.0/System.CodeDom.cs b/src/referencePackages/src/system.codedom/9.0.0/lib/net8.0/System.CodeDom.cs new file mode 100644 index 0000000000..1ce11fc2ff --- /dev/null +++ b/src/referencePackages/src/system.codedom/9.0.0/lib/net8.0/System.CodeDom.cs @@ -0,0 +1,1393 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.CodeDom")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("ios")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("tvos")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("maccatalyst")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that can be used to model the structure of a source code document and to output source code for that model in C# or Visual Basic.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.CodeDom")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.CSharp +{ + public partial class CSharpCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public CSharpCodeProvider() { } + public CSharpCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace Microsoft.VisualBasic +{ + public partial class VBCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public VBCodeProvider() { } + public VBCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + public override System.CodeDom.Compiler.LanguageOptions LanguageOptions { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace System.CodeDom +{ + public partial class CodeArgumentReferenceExpression : CodeExpression + { + public CodeArgumentReferenceExpression() { } + public CodeArgumentReferenceExpression(string parameterName) { } + public string ParameterName { get { throw null; } set { } } + } + + public partial class CodeArrayCreateExpression : CodeExpression + { + public CodeArrayCreateExpression() { } + public CodeArrayCreateExpression(CodeTypeReference createType, CodeExpression size) { } + public CodeArrayCreateExpression(CodeTypeReference createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(CodeTypeReference createType, int size) { } + public CodeArrayCreateExpression(string createType, CodeExpression size) { } + public CodeArrayCreateExpression(string createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(string createType, int size) { } + public CodeArrayCreateExpression(Type createType, CodeExpression size) { } + public CodeArrayCreateExpression(Type createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(Type createType, int size) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Initializers { get { throw null; } } + public int Size { get { throw null; } set { } } + public CodeExpression SizeExpression { get { throw null; } set { } } + } + + public partial class CodeArrayIndexerExpression : CodeExpression + { + public CodeArrayIndexerExpression() { } + public CodeArrayIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeAssignStatement : CodeStatement + { + public CodeAssignStatement() { } + public CodeAssignStatement(CodeExpression left, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public partial class CodeAttachEventStatement : CodeStatement + { + public CodeAttachEventStatement() { } + public CodeAttachEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeAttachEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeAttributeArgument + { + public CodeAttributeArgument() { } + public CodeAttributeArgument(CodeExpression value) { } + public CodeAttributeArgument(string name, CodeExpression value) { } + public string Name { get { throw null; } set { } } + public CodeExpression Value { get { throw null; } set { } } + } + public partial class CodeAttributeArgumentCollection : Collections.CollectionBase + { + public CodeAttributeArgumentCollection() { } + public CodeAttributeArgumentCollection(CodeAttributeArgument[] value) { } + public CodeAttributeArgumentCollection(CodeAttributeArgumentCollection value) { } + public CodeAttributeArgument this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeArgument value) { throw null; } + public void AddRange(CodeAttributeArgument[] value) { } + public void AddRange(CodeAttributeArgumentCollection value) { } + public bool Contains(CodeAttributeArgument value) { throw null; } + public void CopyTo(CodeAttributeArgument[] array, int index) { } + public int IndexOf(CodeAttributeArgument value) { throw null; } + public void Insert(int index, CodeAttributeArgument value) { } + public void Remove(CodeAttributeArgument value) { } + } + + public partial class CodeAttributeDeclaration + { + public CodeAttributeDeclaration() { } + public CodeAttributeDeclaration(CodeTypeReference attributeType, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(CodeTypeReference attributeType) { } + public CodeAttributeDeclaration(string name, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(string name) { } + public CodeAttributeArgumentCollection Arguments { get { throw null; } } + public CodeTypeReference AttributeType { get { throw null; } } + public string Name { get { throw null; } set { } } + } + public partial class CodeAttributeDeclarationCollection : Collections.CollectionBase + { + public CodeAttributeDeclarationCollection() { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclaration[] value) { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection value) { } + public CodeAttributeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeDeclaration value) { throw null; } + public void AddRange(CodeAttributeDeclaration[] value) { } + public void AddRange(CodeAttributeDeclarationCollection value) { } + public bool Contains(CodeAttributeDeclaration value) { throw null; } + public void CopyTo(CodeAttributeDeclaration[] array, int index) { } + public int IndexOf(CodeAttributeDeclaration value) { throw null; } + public void Insert(int index, CodeAttributeDeclaration value) { } + public void Remove(CodeAttributeDeclaration value) { } + } + + public partial class CodeBaseReferenceExpression : CodeExpression + { + } + + public partial class CodeBinaryOperatorExpression : CodeExpression + { + public CodeBinaryOperatorExpression() { } + public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeBinaryOperatorType Operator { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public enum CodeBinaryOperatorType + { + Add = 0, + Subtract = 1, + Multiply = 2, + Divide = 3, + Modulus = 4, + Assign = 5, + IdentityInequality = 6, + IdentityEquality = 7, + ValueEquality = 8, + BitwiseOr = 9, + BitwiseAnd = 10, + BooleanOr = 11, + BooleanAnd = 12, + LessThan = 13, + LessThanOrEqual = 14, + GreaterThan = 15, + GreaterThanOrEqual = 16 + } + + public partial class CodeCastExpression : CodeExpression + { + public CodeCastExpression() { } + public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { } + public CodeCastExpression(string targetType, CodeExpression expression) { } + public CodeCastExpression(Type targetType, CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + public CodeTypeReference TargetType { get { throw null; } set { } } + } + + public partial class CodeCatchClause + { + public CodeCatchClause() { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { } + public CodeCatchClause(string localName) { } + public CodeTypeReference CatchExceptionType { get { throw null; } set { } } + public string LocalName { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + } + public partial class CodeCatchClauseCollection : Collections.CollectionBase + { + public CodeCatchClauseCollection() { } + public CodeCatchClauseCollection(CodeCatchClause[] value) { } + public CodeCatchClauseCollection(CodeCatchClauseCollection value) { } + public CodeCatchClause this[int index] { get { throw null; } set { } } + + public int Add(CodeCatchClause value) { throw null; } + public void AddRange(CodeCatchClause[] value) { } + public void AddRange(CodeCatchClauseCollection value) { } + public bool Contains(CodeCatchClause value) { throw null; } + public void CopyTo(CodeCatchClause[] array, int index) { } + public int IndexOf(CodeCatchClause value) { throw null; } + public void Insert(int index, CodeCatchClause value) { } + public void Remove(CodeCatchClause value) { } + } + + public partial class CodeChecksumPragma : CodeDirective + { + public CodeChecksumPragma() { } + public CodeChecksumPragma(string fileName, Guid checksumAlgorithmId, byte[] checksumData) { } + public Guid ChecksumAlgorithmId { get { throw null; } set { } } + public byte[] ChecksumData { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + } + + public partial class CodeComment : CodeObject + { + public CodeComment() { } + public CodeComment(string text, bool docComment) { } + public CodeComment(string text) { } + public bool DocComment { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + } + + public partial class CodeCommentStatement : CodeStatement + { + public CodeCommentStatement() { } + public CodeCommentStatement(CodeComment comment) { } + public CodeCommentStatement(string text, bool docComment) { } + public CodeCommentStatement(string text) { } + public CodeComment Comment { get { throw null; } set { } } + } + + public partial class CodeCommentStatementCollection : Collections.CollectionBase + { + public CodeCommentStatementCollection() { } + public CodeCommentStatementCollection(CodeCommentStatement[] value) { } + public CodeCommentStatementCollection(CodeCommentStatementCollection value) { } + public CodeCommentStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeCommentStatement value) { throw null; } + public void AddRange(CodeCommentStatement[] value) { } + public void AddRange(CodeCommentStatementCollection value) { } + public bool Contains(CodeCommentStatement value) { throw null; } + public void CopyTo(CodeCommentStatement[] array, int index) { } + public int IndexOf(CodeCommentStatement value) { throw null; } + public void Insert(int index, CodeCommentStatement value) { } + public void Remove(CodeCommentStatement value) { } + } + + public partial class CodeCompileUnit : CodeObject + { + public CodeAttributeDeclarationCollection AssemblyCustomAttributes { get { throw null; } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeNamespaceCollection Namespaces { get { throw null; } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeConditionStatement : CodeStatement + { + public CodeConditionStatement() { } + public CodeConditionStatement(CodeExpression condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements) { } + public CodeConditionStatement(CodeExpression condition, params CodeStatement[] trueStatements) { } + public CodeExpression Condition { get { throw null; } set { } } + public CodeStatementCollection FalseStatements { get { throw null; } } + public CodeStatementCollection TrueStatements { get { throw null; } } + } + + public partial class CodeConstructor : CodeMemberMethod + { + public CodeExpressionCollection BaseConstructorArgs { get { throw null; } } + public CodeExpressionCollection ChainedConstructorArgs { get { throw null; } } + } + + public partial class CodeDefaultValueExpression : CodeExpression + { + public CodeDefaultValueExpression() { } + public CodeDefaultValueExpression(CodeTypeReference type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeDelegateCreateExpression : CodeExpression + { + public CodeDelegateCreateExpression() { } + public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { } + public CodeTypeReference DelegateType { get { throw null; } set { } } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDelegateInvokeExpression : CodeExpression + { + public CodeDelegateInvokeExpression() { } + public CodeDelegateInvokeExpression(CodeExpression targetObject, params CodeExpression[] parameters) { } + public CodeDelegateInvokeExpression(CodeExpression targetObject) { } + public CodeExpressionCollection Parameters { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDirectionExpression : CodeExpression + { + public CodeDirectionExpression() { } + public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) { } + public FieldDirection Direction { get { throw null; } set { } } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeDirective : CodeObject + { + } + + public partial class CodeDirectiveCollection : Collections.CollectionBase + { + public CodeDirectiveCollection() { } + public CodeDirectiveCollection(CodeDirective[] value) { } + public CodeDirectiveCollection(CodeDirectiveCollection value) { } + public CodeDirective this[int index] { get { throw null; } set { } } + + public int Add(CodeDirective value) { throw null; } + public void AddRange(CodeDirective[] value) { } + public void AddRange(CodeDirectiveCollection value) { } + public bool Contains(CodeDirective value) { throw null; } + public void CopyTo(CodeDirective[] array, int index) { } + public int IndexOf(CodeDirective value) { throw null; } + public void Insert(int index, CodeDirective value) { } + public void Remove(CodeDirective value) { } + } + + public partial class CodeEntryPointMethod : CodeMemberMethod + { + } + + public partial class CodeEventReferenceExpression : CodeExpression + { + public CodeEventReferenceExpression() { } + public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) { } + public string EventName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeExpression : CodeObject + { + } + + public partial class CodeExpressionCollection : Collections.CollectionBase + { + public CodeExpressionCollection() { } + public CodeExpressionCollection(CodeExpression[] value) { } + public CodeExpressionCollection(CodeExpressionCollection value) { } + public CodeExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public void AddRange(CodeExpression[] value) { } + public void AddRange(CodeExpressionCollection value) { } + public bool Contains(CodeExpression value) { throw null; } + public void CopyTo(CodeExpression[] array, int index) { } + public int IndexOf(CodeExpression value) { throw null; } + public void Insert(int index, CodeExpression value) { } + public void Remove(CodeExpression value) { } + } + + public partial class CodeExpressionStatement : CodeStatement + { + public CodeExpressionStatement() { } + public CodeExpressionStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeFieldReferenceExpression : CodeExpression + { + public CodeFieldReferenceExpression() { } + public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) { } + public string FieldName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeGotoStatement : CodeStatement + { + public CodeGotoStatement() { } + public CodeGotoStatement(string label) { } + public string Label { get { throw null; } set { } } + } + + public partial class CodeIndexerExpression : CodeExpression + { + public CodeIndexerExpression() { } + public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeIterationStatement : CodeStatement + { + public CodeIterationStatement() { } + public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) { } + public CodeStatement IncrementStatement { get { throw null; } set { } } + public CodeStatement InitStatement { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeExpression TestExpression { get { throw null; } set { } } + } + + public partial class CodeLabeledStatement : CodeStatement + { + public CodeLabeledStatement() { } + public CodeLabeledStatement(string label, CodeStatement statement) { } + public CodeLabeledStatement(string label) { } + public string Label { get { throw null; } set { } } + public CodeStatement Statement { get { throw null; } set { } } + } + + public partial class CodeLinePragma + { + public CodeLinePragma() { } + public CodeLinePragma(string fileName, int lineNumber) { } + public string FileName { get { throw null; } set { } } + public int LineNumber { get { throw null; } set { } } + } + public partial class CodeMemberEvent : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberField : CodeTypeMember + { + public CodeMemberField() { } + public CodeMemberField(CodeTypeReference type, string name) { } + public CodeMemberField(string type, string name) { } + public CodeMemberField(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberMethod : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + public CodeAttributeDeclarationCollection ReturnTypeCustomAttributes { get { throw null; } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateImplementationTypes { + add { } + remove { } + } + + public event EventHandler PopulateParameters { + add { } + remove { } + } + + public event EventHandler PopulateStatements { + add { } + remove { } + } + } + + public partial class CodeMemberProperty : CodeTypeMember + { + public CodeStatementCollection GetStatements { get { throw null; } } + public bool HasGet { get { throw null; } set { } } + public bool HasSet { get { throw null; } set { } } + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeStatementCollection SetStatements { get { throw null; } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMethodInvokeExpression : CodeExpression + { + public CodeMethodInvokeExpression() { } + public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters) { } + public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters) { } + public CodeMethodReferenceExpression Method { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeMethodReferenceExpression : CodeExpression + { + public CodeMethodReferenceExpression() { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName, params CodeTypeReference[] typeParameters) { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName) { } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeMethodReturnStatement : CodeStatement + { + public CodeMethodReturnStatement() { } + public CodeMethodReturnStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeNamespace : CodeObject + { + public CodeNamespace() { } + public CodeNamespace(string name) { } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeNamespaceImportCollection Imports { get { throw null; } } + public string Name { get { throw null; } set { } } + public CodeTypeDeclarationCollection Types { get { throw null; } } + + public event EventHandler PopulateComments { + add { } + remove { } + } + + public event EventHandler PopulateImports { + add { } + remove { } + } + + public event EventHandler PopulateTypes { + add { } + remove { } + } + } + + public partial class CodeNamespaceCollection : Collections.CollectionBase + { + public CodeNamespaceCollection() { } + public CodeNamespaceCollection(CodeNamespace[] value) { } + public CodeNamespaceCollection(CodeNamespaceCollection value) { } + public CodeNamespace this[int index] { get { throw null; } set { } } + + public int Add(CodeNamespace value) { throw null; } + public void AddRange(CodeNamespace[] value) { } + public void AddRange(CodeNamespaceCollection value) { } + public bool Contains(CodeNamespace value) { throw null; } + public void CopyTo(CodeNamespace[] array, int index) { } + public int IndexOf(CodeNamespace value) { throw null; } + public void Insert(int index, CodeNamespace value) { } + public void Remove(CodeNamespace value) { } + } + + public partial class CodeNamespaceImport : CodeObject + { + public CodeNamespaceImport() { } + public CodeNamespaceImport(string nameSpace) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Namespace { get { throw null; } set { } } + } + + public partial class CodeNamespaceImportCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + + public CodeNamespaceImport this[int index] { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object Collections.IList.this[int index] { get { throw null; } set { } } + + public void Add(CodeNamespaceImport value) { } + public void AddRange(CodeNamespaceImport[] value) { } + public void Clear() { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + int Collections.IList.Add(object value) { throw null; } + void Collections.IList.Clear() { } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + void Collections.IList.RemoveAt(int index) { } + } + + public partial class CodeObject + { + public Collections.IDictionary UserData { get { throw null; } } + } + public partial class CodeObjectCreateExpression : CodeExpression + { + public CodeObjectCreateExpression() { } + public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeParameterDeclarationExpression : CodeExpression + { + public CodeParameterDeclarationExpression() { } + public CodeParameterDeclarationExpression(CodeTypeReference type, string name) { } + public CodeParameterDeclarationExpression(string type, string name) { } + public CodeParameterDeclarationExpression(Type type, string name) { } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public FieldDirection Direction { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeParameterDeclarationExpressionCollection : Collections.CollectionBase + { + public CodeParameterDeclarationExpressionCollection() { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { } + public CodeParameterDeclarationExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeParameterDeclarationExpression value) { throw null; } + public void AddRange(CodeParameterDeclarationExpression[] value) { } + public void AddRange(CodeParameterDeclarationExpressionCollection value) { } + public bool Contains(CodeParameterDeclarationExpression value) { throw null; } + public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { } + public int IndexOf(CodeParameterDeclarationExpression value) { throw null; } + public void Insert(int index, CodeParameterDeclarationExpression value) { } + public void Remove(CodeParameterDeclarationExpression value) { } + } + + public partial class CodePrimitiveExpression : CodeExpression + { + public CodePrimitiveExpression() { } + public CodePrimitiveExpression(object value) { } + public object Value { get { throw null; } set { } } + } + + public partial class CodePropertyReferenceExpression : CodeExpression + { + public CodePropertyReferenceExpression() { } + public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) { } + public string PropertyName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodePropertySetValueReferenceExpression : CodeExpression + { + } + + public partial class CodeRegionDirective : CodeDirective + { + public CodeRegionDirective() { } + public CodeRegionDirective(CodeRegionMode regionMode, string regionText) { } + public CodeRegionMode RegionMode { get { throw null; } set { } } + public string RegionText { get { throw null; } set { } } + } + + public enum CodeRegionMode + { + None = 0, + Start = 1, + End = 2 + } + + public partial class CodeRemoveEventStatement : CodeStatement + { + public CodeRemoveEventStatement() { } + public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeSnippetCompileUnit : CodeCompileUnit + { + public CodeSnippetCompileUnit() { } + public CodeSnippetCompileUnit(string value) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetExpression : CodeExpression + { + public CodeSnippetExpression() { } + public CodeSnippetExpression(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetStatement : CodeStatement + { + public CodeSnippetStatement() { } + public CodeSnippetStatement(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetTypeMember : CodeTypeMember + { + public CodeSnippetTypeMember() { } + public CodeSnippetTypeMember(string text) { } + public string Text { get { throw null; } set { } } + } + + public partial class CodeStatement : CodeObject + { + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeStatementCollection : Collections.CollectionBase + { + public CodeStatementCollection() { } + public CodeStatementCollection(CodeStatement[] value) { } + public CodeStatementCollection(CodeStatementCollection value) { } + public CodeStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public int Add(CodeStatement value) { throw null; } + public void AddRange(CodeStatement[] value) { } + public void AddRange(CodeStatementCollection value) { } + public bool Contains(CodeStatement value) { throw null; } + public void CopyTo(CodeStatement[] array, int index) { } + public int IndexOf(CodeStatement value) { throw null; } + public void Insert(int index, CodeStatement value) { } + public void Remove(CodeStatement value) { } + } + + public partial class CodeThisReferenceExpression : CodeExpression + { + } + + public partial class CodeThrowExceptionStatement : CodeStatement + { + public CodeThrowExceptionStatement() { } + public CodeThrowExceptionStatement(CodeExpression toThrow) { } + public CodeExpression ToThrow { get { throw null; } set { } } + } + + public partial class CodeTryCatchFinallyStatement : CodeStatement + { + public CodeTryCatchFinallyStatement() { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses, CodeStatement[] finallyStatements) { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses) { } + public CodeCatchClauseCollection CatchClauses { get { throw null; } } + public CodeStatementCollection FinallyStatements { get { throw null; } } + public CodeStatementCollection TryStatements { get { throw null; } } + } + + public partial class CodeTypeConstructor : CodeMemberMethod + { + } + + public partial class CodeTypeDeclaration : CodeTypeMember + { + public CodeTypeDeclaration() { } + public CodeTypeDeclaration(string name) { } + public CodeTypeReferenceCollection BaseTypes { get { throw null; } } + public bool IsClass { get { throw null; } set { } } + public bool IsEnum { get { throw null; } set { } } + public bool IsInterface { get { throw null; } set { } } + public bool IsPartial { get { throw null; } set { } } + public bool IsStruct { get { throw null; } set { } } + public CodeTypeMemberCollection Members { get { throw null; } } + public Reflection.TypeAttributes TypeAttributes { get { throw null; } set { } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateBaseTypes { + add { } + remove { } + } + + public event EventHandler PopulateMembers { + add { } + remove { } + } + } + + public partial class CodeTypeDeclarationCollection : Collections.CollectionBase + { + public CodeTypeDeclarationCollection() { } + public CodeTypeDeclarationCollection(CodeTypeDeclaration[] value) { } + public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) { } + public CodeTypeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeDeclaration value) { throw null; } + public void AddRange(CodeTypeDeclaration[] value) { } + public void AddRange(CodeTypeDeclarationCollection value) { } + public bool Contains(CodeTypeDeclaration value) { throw null; } + public void CopyTo(CodeTypeDeclaration[] array, int index) { } + public int IndexOf(CodeTypeDeclaration value) { throw null; } + public void Insert(int index, CodeTypeDeclaration value) { } + public void Remove(CodeTypeDeclaration value) { } + } + + public partial class CodeTypeDelegate : CodeTypeDeclaration + { + public CodeTypeDelegate() { } + public CodeTypeDelegate(string name) { } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + } + + public partial class CodeTypeMember : CodeObject + { + public MemberAttributes Attributes { get { throw null; } set { } } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeTypeMemberCollection : Collections.CollectionBase + { + public CodeTypeMemberCollection() { } + public CodeTypeMemberCollection(CodeTypeMember[] value) { } + public CodeTypeMemberCollection(CodeTypeMemberCollection value) { } + public CodeTypeMember this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeMember value) { throw null; } + public void AddRange(CodeTypeMember[] value) { } + public void AddRange(CodeTypeMemberCollection value) { } + public bool Contains(CodeTypeMember value) { throw null; } + public void CopyTo(CodeTypeMember[] array, int index) { } + public int IndexOf(CodeTypeMember value) { throw null; } + public void Insert(int index, CodeTypeMember value) { } + public void Remove(CodeTypeMember value) { } + } + + public partial class CodeTypeOfExpression : CodeExpression + { + public CodeTypeOfExpression() { } + public CodeTypeOfExpression(CodeTypeReference type) { } + public CodeTypeOfExpression(string type) { } + public CodeTypeOfExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeTypeParameter : CodeObject + { + public CodeTypeParameter() { } + public CodeTypeParameter(string name) { } + public CodeTypeReferenceCollection Constraints { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } } + public bool HasConstructorConstraint { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class CodeTypeParameterCollection : Collections.CollectionBase + { + public CodeTypeParameterCollection() { } + public CodeTypeParameterCollection(CodeTypeParameter[] value) { } + public CodeTypeParameterCollection(CodeTypeParameterCollection value) { } + public CodeTypeParameter this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeParameter value) { throw null; } + public void Add(string value) { } + public void AddRange(CodeTypeParameter[] value) { } + public void AddRange(CodeTypeParameterCollection value) { } + public bool Contains(CodeTypeParameter value) { throw null; } + public void CopyTo(CodeTypeParameter[] array, int index) { } + public int IndexOf(CodeTypeParameter value) { throw null; } + public void Insert(int index, CodeTypeParameter value) { } + public void Remove(CodeTypeParameter value) { } + } + + public partial class CodeTypeReference : CodeObject + { + public CodeTypeReference() { } + public CodeTypeReference(CodeTypeParameter typeParameter) { } + public CodeTypeReference(CodeTypeReference arrayType, int rank) { } + public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) { } + public CodeTypeReference(string? typeName, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(string baseType, int rank) { } + public CodeTypeReference(string? typeName) { } + public CodeTypeReference(Type type, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(Type type) { } + public CodeTypeReference? ArrayElementType { get { throw null; } set { } } + public int ArrayRank { get { throw null; } set { } } + public string BaseType { get { throw null; } set { } } + public CodeTypeReferenceOptions Options { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeTypeReferenceCollection : Collections.CollectionBase + { + public CodeTypeReferenceCollection() { } + public CodeTypeReferenceCollection(CodeTypeReference[] value) { } + public CodeTypeReferenceCollection(CodeTypeReferenceCollection value) { } + public CodeTypeReference this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeReference value) { throw null; } + public void Add(string value) { } + public void Add(Type value) { } + public void AddRange(CodeTypeReference[] value) { } + public void AddRange(CodeTypeReferenceCollection value) { } + public bool Contains(CodeTypeReference value) { throw null; } + public void CopyTo(CodeTypeReference[] array, int index) { } + public int IndexOf(CodeTypeReference value) { throw null; } + public void Insert(int index, CodeTypeReference value) { } + public void Remove(CodeTypeReference value) { } + } + + public partial class CodeTypeReferenceExpression : CodeExpression + { + public CodeTypeReferenceExpression() { } + public CodeTypeReferenceExpression(CodeTypeReference type) { } + public CodeTypeReferenceExpression(string type) { } + public CodeTypeReferenceExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + [Flags] + public enum CodeTypeReferenceOptions + { + GlobalReference = 1, + GenericTypeParameter = 2 + } + + public partial class CodeVariableDeclarationStatement : CodeStatement + { + public CodeVariableDeclarationStatement() { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name) { } + public CodeVariableDeclarationStatement(string type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(string type, string name) { } + public CodeVariableDeclarationStatement(Type type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeVariableReferenceExpression : CodeExpression + { + public CodeVariableReferenceExpression() { } + public CodeVariableReferenceExpression(string variableName) { } + public string VariableName { get { throw null; } set { } } + } + + public enum FieldDirection + { + In = 0, + Out = 1, + Ref = 2 + } + + public enum MemberAttributes + { + Abstract = 1, + Final = 2, + Static = 3, + Override = 4, + Const = 5, + ScopeMask = 15, + New = 16, + VTableMask = 240, + Overloaded = 256, + Assembly = 4096, + FamilyAndAssembly = 8192, + Family = 12288, + FamilyOrAssembly = 16384, + Private = 20480, + Public = 24576, + AccessMask = 61440 + } +} + +namespace System.CodeDom.Compiler +{ + public abstract partial class CodeCompiler : CodeGenerator, ICodeCompiler + { + protected abstract string CompilerName { get; } + protected abstract string FileExtension { get; } + + protected abstract string CmdArgsFromParameters(CompilerParameters options); + protected virtual CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + protected virtual CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + protected virtual CompilerResults FromFile(CompilerParameters options, string fileName) { throw null; } + protected virtual CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + protected virtual CompilerResults FromSource(CompilerParameters options, string source) { throw null; } + protected virtual CompilerResults FromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + protected virtual string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs) { throw null; } + protected static string JoinStringArray(string[] sa, string separator) { throw null; } + protected abstract void ProcessCompilerOutputLine(CompilerResults results, string line); + CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + } + + [ComponentModel.ToolboxItem(false)] + public abstract partial class CodeDomProvider : ComponentModel.Component + { + public virtual string FileExtension { get { throw null; } } + public virtual LanguageOptions LanguageOptions { get { throw null; } } + + public virtual CompilerResults CompileAssemblyFromDom(CompilerParameters options, params CodeCompileUnit[] compilationUnits) { throw null; } + public virtual CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) { throw null; } + public virtual CompilerResults CompileAssemblyFromSource(CompilerParameters options, params string[] sources) { throw null; } + [Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeCompiler CreateCompiler(); + public virtual string CreateEscapedIdentifier(string value) { throw null; } + [Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeGenerator CreateGenerator(); + public virtual ICodeGenerator CreateGenerator(IO.TextWriter output) { throw null; } + public virtual ICodeGenerator CreateGenerator(string fileName) { throw null; } + [Obsolete("ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public virtual ICodeParser CreateParser() { throw null; } + public static CodeDomProvider CreateProvider(string language, Collections.Generic.IDictionary providerOptions) { throw null; } + public static CodeDomProvider CreateProvider(string language) { throw null; } + public virtual string CreateValidIdentifier(string value) { throw null; } + public virtual void GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromExpression(CodeExpression expression, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromNamespace(CodeNamespace codeNamespace, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromStatement(CodeStatement statement, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromType(CodeTypeDeclaration codeType, IO.TextWriter writer, CodeGeneratorOptions options) { } + public static CompilerInfo[] GetAllCompilerInfo() { throw null; } + public static CompilerInfo GetCompilerInfo(string language) { throw null; } + public virtual ComponentModel.TypeConverter GetConverter(Type type) { throw null; } + public static string GetLanguageFromExtension(string extension) { throw null; } + public virtual string GetTypeOutput(CodeTypeReference type) { throw null; } + public static bool IsDefinedExtension(string extension) { throw null; } + public static bool IsDefinedLanguage(string language) { throw null; } + public virtual bool IsValidIdentifier(string value) { throw null; } + public virtual CodeCompileUnit Parse(IO.TextReader codeStream) { throw null; } + public virtual bool Supports(GeneratorSupport generatorSupport) { throw null; } + } + + public abstract partial class CodeGenerator : ICodeGenerator + { + protected CodeTypeDeclaration CurrentClass { get { throw null; } } + protected CodeTypeMember CurrentMember { get { throw null; } } + protected string CurrentMemberName { get { throw null; } } + protected string CurrentTypeName { get { throw null; } } + protected int Indent { get { throw null; } set { } } + protected bool IsCurrentClass { get { throw null; } } + protected bool IsCurrentDelegate { get { throw null; } } + protected bool IsCurrentEnum { get { throw null; } } + protected bool IsCurrentInterface { get { throw null; } } + protected bool IsCurrentStruct { get { throw null; } } + protected abstract string NullToken { get; } + protected CodeGeneratorOptions Options { get { throw null; } } + protected IO.TextWriter Output { get { throw null; } } + + protected virtual void ContinueOnNewLine(string st) { } + protected abstract string CreateEscapedIdentifier(string value); + protected abstract string CreateValidIdentifier(string value); + protected abstract void GenerateArgumentReferenceExpression(CodeArgumentReferenceExpression e); + protected abstract void GenerateArrayCreateExpression(CodeArrayCreateExpression e); + protected abstract void GenerateArrayIndexerExpression(CodeArrayIndexerExpression e); + protected abstract void GenerateAssignStatement(CodeAssignStatement e); + protected abstract void GenerateAttachEventStatement(CodeAttachEventStatement e); + protected abstract void GenerateAttributeDeclarationsEnd(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateAttributeDeclarationsStart(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateBaseReferenceExpression(CodeBaseReferenceExpression e); + protected virtual void GenerateBinaryOperatorExpression(CodeBinaryOperatorExpression e) { } + protected abstract void GenerateCastExpression(CodeCastExpression e); + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + protected abstract void GenerateComment(CodeComment e); + protected virtual void GenerateCommentStatement(CodeCommentStatement e) { } + protected virtual void GenerateCommentStatements(CodeCommentStatementCollection e) { } + protected virtual void GenerateCompileUnit(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitEnd(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitStart(CodeCompileUnit e) { } + protected abstract void GenerateConditionStatement(CodeConditionStatement e); + protected abstract void GenerateConstructor(CodeConstructor e, CodeTypeDeclaration c); + protected virtual void GenerateDecimalValue(decimal d) { } + protected virtual void GenerateDefaultValueExpression(CodeDefaultValueExpression e) { } + protected abstract void GenerateDelegateCreateExpression(CodeDelegateCreateExpression e); + protected abstract void GenerateDelegateInvokeExpression(CodeDelegateInvokeExpression e); + protected virtual void GenerateDirectionExpression(CodeDirectionExpression e) { } + protected virtual void GenerateDirectives(CodeDirectiveCollection directives) { } + protected virtual void GenerateDoubleValue(double d) { } + protected abstract void GenerateEntryPointMethod(CodeEntryPointMethod e, CodeTypeDeclaration c); + protected abstract void GenerateEvent(CodeMemberEvent e, CodeTypeDeclaration c); + protected abstract void GenerateEventReferenceExpression(CodeEventReferenceExpression e); + protected void GenerateExpression(CodeExpression e) { } + protected abstract void GenerateExpressionStatement(CodeExpressionStatement e); + protected abstract void GenerateField(CodeMemberField e); + protected abstract void GenerateFieldReferenceExpression(CodeFieldReferenceExpression e); + protected abstract void GenerateGotoStatement(CodeGotoStatement e); + protected abstract void GenerateIndexerExpression(CodeIndexerExpression e); + protected abstract void GenerateIterationStatement(CodeIterationStatement e); + protected abstract void GenerateLabeledStatement(CodeLabeledStatement e); + protected abstract void GenerateLinePragmaEnd(CodeLinePragma e); + protected abstract void GenerateLinePragmaStart(CodeLinePragma e); + protected abstract void GenerateMethod(CodeMemberMethod e, CodeTypeDeclaration c); + protected abstract void GenerateMethodInvokeExpression(CodeMethodInvokeExpression e); + protected abstract void GenerateMethodReferenceExpression(CodeMethodReferenceExpression e); + protected abstract void GenerateMethodReturnStatement(CodeMethodReturnStatement e); + protected virtual void GenerateNamespace(CodeNamespace e) { } + protected abstract void GenerateNamespaceEnd(CodeNamespace e); + protected abstract void GenerateNamespaceImport(CodeNamespaceImport e); + protected void GenerateNamespaceImports(CodeNamespace e) { } + protected void GenerateNamespaces(CodeCompileUnit e) { } + protected abstract void GenerateNamespaceStart(CodeNamespace e); + protected abstract void GenerateObjectCreateExpression(CodeObjectCreateExpression e); + protected virtual void GenerateParameterDeclarationExpression(CodeParameterDeclarationExpression e) { } + protected virtual void GeneratePrimitiveExpression(CodePrimitiveExpression e) { } + protected abstract void GenerateProperty(CodeMemberProperty e, CodeTypeDeclaration c); + protected abstract void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e); + protected abstract void GeneratePropertySetValueReferenceExpression(CodePropertySetValueReferenceExpression e); + protected abstract void GenerateRemoveEventStatement(CodeRemoveEventStatement e); + protected virtual void GenerateSingleFloatValue(float s) { } + protected virtual void GenerateSnippetCompileUnit(CodeSnippetCompileUnit e) { } + protected abstract void GenerateSnippetExpression(CodeSnippetExpression e); + protected abstract void GenerateSnippetMember(CodeSnippetTypeMember e); + protected virtual void GenerateSnippetStatement(CodeSnippetStatement e) { } + protected void GenerateStatement(CodeStatement e) { } + protected void GenerateStatements(CodeStatementCollection stmts) { } + protected abstract void GenerateThisReferenceExpression(CodeThisReferenceExpression e); + protected abstract void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e); + protected abstract void GenerateTryCatchFinallyStatement(CodeTryCatchFinallyStatement e); + protected abstract void GenerateTypeConstructor(CodeTypeConstructor e); + protected abstract void GenerateTypeEnd(CodeTypeDeclaration e); + protected virtual void GenerateTypeOfExpression(CodeTypeOfExpression e) { } + protected virtual void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) { } + protected void GenerateTypes(CodeNamespace e) { } + protected abstract void GenerateTypeStart(CodeTypeDeclaration e); + protected abstract void GenerateVariableDeclarationStatement(CodeVariableDeclarationStatement e); + protected abstract void GenerateVariableReferenceExpression(CodeVariableReferenceExpression e); + protected abstract string GetTypeOutput(CodeTypeReference value); + protected abstract bool IsValidIdentifier(string value); + public static bool IsValidLanguageIndependentIdentifier(string value) { throw null; } + protected virtual void OutputAttributeArgument(CodeAttributeArgument arg) { } + protected virtual void OutputAttributeDeclarations(CodeAttributeDeclarationCollection attributes) { } + protected virtual void OutputDirection(FieldDirection dir) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions, bool newlineBetweenItems) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions) { } + protected virtual void OutputFieldScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputIdentifier(string ident) { } + protected virtual void OutputMemberAccessModifier(MemberAttributes attributes) { } + protected virtual void OutputMemberScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputOperator(CodeBinaryOperatorType op) { } + protected virtual void OutputParameters(CodeParameterDeclarationExpressionCollection parameters) { } + protected abstract void OutputType(CodeTypeReference typeRef); + protected virtual void OutputTypeAttributes(Reflection.TypeAttributes attributes, bool isStruct, bool isEnum) { } + protected virtual void OutputTypeNamePair(CodeTypeReference typeRef, string name) { } + protected abstract string QuoteSnippetString(string value); + protected abstract bool Supports(GeneratorSupport support); + string ICodeGenerator.CreateEscapedIdentifier(string value) { throw null; } + string ICodeGenerator.CreateValidIdentifier(string value) { throw null; } + void ICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o) { } + string ICodeGenerator.GetTypeOutput(CodeTypeReference type) { throw null; } + bool ICodeGenerator.IsValidIdentifier(string value) { throw null; } + bool ICodeGenerator.Supports(GeneratorSupport support) { throw null; } + void ICodeGenerator.ValidateIdentifier(string value) { } + protected virtual void ValidateIdentifier(string value) { } + public static void ValidateIdentifiers(CodeObject e) { } + } + + public partial class CodeGeneratorOptions + { + public bool BlankLinesBetweenMembers { get { throw null; } set { } } + public string BracingStyle { get { throw null; } set { } } + public bool ElseOnClosing { get { throw null; } set { } } + public string IndentString { get { throw null; } set { } } + + public object this[string index] { get { throw null; } set { } } + + public bool VerbatimOrder { get { throw null; } set { } } + } + public abstract partial class CodeParser : ICodeParser + { + public abstract CodeCompileUnit Parse(IO.TextReader codeStream); + } + + public partial class CompilerError + { + public CompilerError() { } + public CompilerError(string fileName, int line, int column, string errorNumber, string errorText) { } + public int Column { get { throw null; } set { } } + public string ErrorNumber { get { throw null; } set { } } + public string ErrorText { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public bool IsWarning { get { throw null; } set { } } + public int Line { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class CompilerErrorCollection : Collections.CollectionBase + { + public CompilerErrorCollection() { } + public CompilerErrorCollection(CompilerError[] value) { } + public CompilerErrorCollection(CompilerErrorCollection value) { } + public bool HasErrors { get { throw null; } } + public bool HasWarnings { get { throw null; } } + + public CompilerError this[int index] { get { throw null; } set { } } + + public int Add(CompilerError value) { throw null; } + public void AddRange(CompilerError[] value) { } + public void AddRange(CompilerErrorCollection value) { } + public bool Contains(CompilerError value) { throw null; } + public void CopyTo(CompilerError[] array, int index) { } + public int IndexOf(CompilerError value) { throw null; } + public void Insert(int index, CompilerError value) { } + public void Remove(CompilerError value) { } + } + + public sealed partial class CompilerInfo + { + internal CompilerInfo() { } + public Type CodeDomProviderType { get { throw null; } } + public bool IsCodeDomProviderTypeValid { get { throw null; } } + + public CompilerParameters CreateDefaultCompilerParameters() { throw null; } + public CodeDomProvider CreateProvider() { throw null; } + public CodeDomProvider CreateProvider(Collections.Generic.IDictionary providerOptions) { throw null; } + public override bool Equals(object o) { throw null; } + public string[] GetExtensions() { throw null; } + public override int GetHashCode() { throw null; } + public string[] GetLanguages() { throw null; } + } + public partial class CompilerParameters + { + public CompilerParameters() { } + public CompilerParameters(string[] assemblyNames, string outputName, bool includeDebugInformation) { } + public CompilerParameters(string[] assemblyNames, string outputName) { } + public CompilerParameters(string[] assemblyNames) { } + public string CompilerOptions { get { throw null; } set { } } + public string CoreAssemblyFileName { get { throw null; } set { } } + public Collections.Specialized.StringCollection EmbeddedResources { get { throw null; } } + public bool GenerateExecutable { get { throw null; } set { } } + public bool GenerateInMemory { get { throw null; } set { } } + public bool IncludeDebugInformation { get { throw null; } set { } } + public Collections.Specialized.StringCollection LinkedResources { get { throw null; } } + public string MainClass { get { throw null; } set { } } + public string OutputAssembly { get { throw null; } set { } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public TempFileCollection TempFiles { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public nint UserToken { get { throw null; } set { } } + public int WarningLevel { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + public partial class CompilerResults + { + public CompilerResults(TempFileCollection tempFiles) { } + public Reflection.Assembly CompiledAssembly { get { throw null; } set { } } + public CompilerErrorCollection Errors { get { throw null; } } + public int NativeCompilerReturnValue { get { throw null; } set { } } + public Collections.Specialized.StringCollection Output { get { throw null; } } + public string PathToAssembly { get { throw null; } set { } } + public TempFileCollection TempFiles { get { throw null; } set { } } + } + public static partial class Executor + { + public static void ExecWait(string cmd, TempFileCollection tempFiles) { } + public static int ExecWaitWithCapture(nint userToken, string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(nint userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + } + [Flags] + public enum GeneratorSupport + { + ArraysOfArrays = 1, + EntryPointMethod = 2, + GotoStatements = 4, + MultidimensionalArrays = 8, + StaticConstructors = 16, + TryCatchStatements = 32, + ReturnTypeAttributes = 64, + DeclareValueTypes = 128, + DeclareEnums = 256, + DeclareDelegates = 512, + DeclareInterfaces = 1024, + DeclareEvents = 2048, + AssemblyAttributes = 4096, + ParameterAttributes = 8192, + ReferenceParameters = 16384, + ChainedConstructorArguments = 32768, + NestedTypes = 65536, + MultipleInterfaceMembers = 131072, + PublicStaticMembers = 262144, + ComplexExpressions = 524288, + Win32Resources = 1048576, + Resources = 2097152, + PartialTypes = 4194304, + GenericTypeReference = 8388608, + GenericTypeDeclaration = 16777216, + DeclareIndexerProperties = 33554432 + } + + public partial interface ICodeCompiler + { + CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit compilationUnit); + CompilerResults CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] compilationUnits); + CompilerResults CompileAssemblyFromFile(CompilerParameters options, string fileName); + CompilerResults CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames); + CompilerResults CompileAssemblyFromSource(CompilerParameters options, string source); + CompilerResults CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources); + } + + public partial interface ICodeGenerator + { + string CreateEscapedIdentifier(string value); + string CreateValidIdentifier(string value); + void GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o); + string GetTypeOutput(CodeTypeReference type); + bool IsValidIdentifier(string value); + bool Supports(GeneratorSupport supports); + void ValidateIdentifier(string value); + } + + public partial interface ICodeParser + { + CodeCompileUnit Parse(IO.TextReader codeStream); + } + + [Flags] + public enum LanguageOptions + { + None = 0, + CaseInsensitive = 1 + } + + public partial class TempFileCollection : Collections.ICollection, Collections.IEnumerable, IDisposable + { + public TempFileCollection() { } + public TempFileCollection(string tempDir, bool keepFiles) { } + public TempFileCollection(string tempDir) { } + public string BasePath { get { throw null; } } + public int Count { get { throw null; } } + public bool KeepFiles { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + public string TempDir { get { throw null; } } + + public string AddExtension(string fileExtension, bool keepFile) { throw null; } + public string AddExtension(string fileExtension) { throw null; } + public void AddFile(string fileName, bool keepFile) { } + public void CopyTo(string[] fileNames, int start) { } + public void Delete() { } + protected virtual void Dispose(bool disposing) { } + ~TempFileCollection() { + } + + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int start) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.codedom/9.0.0/lib/net9.0/System.CodeDom.cs b/src/referencePackages/src/system.codedom/9.0.0/lib/net9.0/System.CodeDom.cs new file mode 100644 index 0000000000..e96a9ae22c --- /dev/null +++ b/src/referencePackages/src/system.codedom/9.0.0/lib/net9.0/System.CodeDom.cs @@ -0,0 +1,1393 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.CodeDom")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("ios")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("tvos")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("maccatalyst")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that can be used to model the structure of a source code document and to output source code for that model in C# or Visual Basic.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.CodeDom")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.CSharp +{ + public partial class CSharpCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public CSharpCodeProvider() { } + public CSharpCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace Microsoft.VisualBasic +{ + public partial class VBCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public VBCodeProvider() { } + public VBCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + public override System.CodeDom.Compiler.LanguageOptions LanguageOptions { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace System.CodeDom +{ + public partial class CodeArgumentReferenceExpression : CodeExpression + { + public CodeArgumentReferenceExpression() { } + public CodeArgumentReferenceExpression(string parameterName) { } + public string ParameterName { get { throw null; } set { } } + } + + public partial class CodeArrayCreateExpression : CodeExpression + { + public CodeArrayCreateExpression() { } + public CodeArrayCreateExpression(CodeTypeReference createType, CodeExpression size) { } + public CodeArrayCreateExpression(CodeTypeReference createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(CodeTypeReference createType, int size) { } + public CodeArrayCreateExpression(string createType, CodeExpression size) { } + public CodeArrayCreateExpression(string createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(string createType, int size) { } + public CodeArrayCreateExpression(Type createType, CodeExpression size) { } + public CodeArrayCreateExpression(Type createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(Type createType, int size) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Initializers { get { throw null; } } + public int Size { get { throw null; } set { } } + public CodeExpression SizeExpression { get { throw null; } set { } } + } + + public partial class CodeArrayIndexerExpression : CodeExpression + { + public CodeArrayIndexerExpression() { } + public CodeArrayIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeAssignStatement : CodeStatement + { + public CodeAssignStatement() { } + public CodeAssignStatement(CodeExpression left, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public partial class CodeAttachEventStatement : CodeStatement + { + public CodeAttachEventStatement() { } + public CodeAttachEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeAttachEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeAttributeArgument + { + public CodeAttributeArgument() { } + public CodeAttributeArgument(CodeExpression value) { } + public CodeAttributeArgument(string name, CodeExpression value) { } + public string Name { get { throw null; } set { } } + public CodeExpression Value { get { throw null; } set { } } + } + public partial class CodeAttributeArgumentCollection : Collections.CollectionBase + { + public CodeAttributeArgumentCollection() { } + public CodeAttributeArgumentCollection(CodeAttributeArgument[] value) { } + public CodeAttributeArgumentCollection(CodeAttributeArgumentCollection value) { } + public CodeAttributeArgument this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeArgument value) { throw null; } + public void AddRange(CodeAttributeArgument[] value) { } + public void AddRange(CodeAttributeArgumentCollection value) { } + public bool Contains(CodeAttributeArgument value) { throw null; } + public void CopyTo(CodeAttributeArgument[] array, int index) { } + public int IndexOf(CodeAttributeArgument value) { throw null; } + public void Insert(int index, CodeAttributeArgument value) { } + public void Remove(CodeAttributeArgument value) { } + } + + public partial class CodeAttributeDeclaration + { + public CodeAttributeDeclaration() { } + public CodeAttributeDeclaration(CodeTypeReference attributeType, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(CodeTypeReference attributeType) { } + public CodeAttributeDeclaration(string name, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(string name) { } + public CodeAttributeArgumentCollection Arguments { get { throw null; } } + public CodeTypeReference AttributeType { get { throw null; } } + public string Name { get { throw null; } set { } } + } + public partial class CodeAttributeDeclarationCollection : Collections.CollectionBase + { + public CodeAttributeDeclarationCollection() { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclaration[] value) { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection value) { } + public CodeAttributeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeDeclaration value) { throw null; } + public void AddRange(CodeAttributeDeclaration[] value) { } + public void AddRange(CodeAttributeDeclarationCollection value) { } + public bool Contains(CodeAttributeDeclaration value) { throw null; } + public void CopyTo(CodeAttributeDeclaration[] array, int index) { } + public int IndexOf(CodeAttributeDeclaration value) { throw null; } + public void Insert(int index, CodeAttributeDeclaration value) { } + public void Remove(CodeAttributeDeclaration value) { } + } + + public partial class CodeBaseReferenceExpression : CodeExpression + { + } + + public partial class CodeBinaryOperatorExpression : CodeExpression + { + public CodeBinaryOperatorExpression() { } + public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeBinaryOperatorType Operator { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public enum CodeBinaryOperatorType + { + Add = 0, + Subtract = 1, + Multiply = 2, + Divide = 3, + Modulus = 4, + Assign = 5, + IdentityInequality = 6, + IdentityEquality = 7, + ValueEquality = 8, + BitwiseOr = 9, + BitwiseAnd = 10, + BooleanOr = 11, + BooleanAnd = 12, + LessThan = 13, + LessThanOrEqual = 14, + GreaterThan = 15, + GreaterThanOrEqual = 16 + } + + public partial class CodeCastExpression : CodeExpression + { + public CodeCastExpression() { } + public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { } + public CodeCastExpression(string targetType, CodeExpression expression) { } + public CodeCastExpression(Type targetType, CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + public CodeTypeReference TargetType { get { throw null; } set { } } + } + + public partial class CodeCatchClause + { + public CodeCatchClause() { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { } + public CodeCatchClause(string localName) { } + public CodeTypeReference CatchExceptionType { get { throw null; } set { } } + public string LocalName { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + } + public partial class CodeCatchClauseCollection : Collections.CollectionBase + { + public CodeCatchClauseCollection() { } + public CodeCatchClauseCollection(CodeCatchClause[] value) { } + public CodeCatchClauseCollection(CodeCatchClauseCollection value) { } + public CodeCatchClause this[int index] { get { throw null; } set { } } + + public int Add(CodeCatchClause value) { throw null; } + public void AddRange(CodeCatchClause[] value) { } + public void AddRange(CodeCatchClauseCollection value) { } + public bool Contains(CodeCatchClause value) { throw null; } + public void CopyTo(CodeCatchClause[] array, int index) { } + public int IndexOf(CodeCatchClause value) { throw null; } + public void Insert(int index, CodeCatchClause value) { } + public void Remove(CodeCatchClause value) { } + } + + public partial class CodeChecksumPragma : CodeDirective + { + public CodeChecksumPragma() { } + public CodeChecksumPragma(string fileName, Guid checksumAlgorithmId, byte[] checksumData) { } + public Guid ChecksumAlgorithmId { get { throw null; } set { } } + public byte[] ChecksumData { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + } + + public partial class CodeComment : CodeObject + { + public CodeComment() { } + public CodeComment(string text, bool docComment) { } + public CodeComment(string text) { } + public bool DocComment { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + } + + public partial class CodeCommentStatement : CodeStatement + { + public CodeCommentStatement() { } + public CodeCommentStatement(CodeComment comment) { } + public CodeCommentStatement(string text, bool docComment) { } + public CodeCommentStatement(string text) { } + public CodeComment Comment { get { throw null; } set { } } + } + + public partial class CodeCommentStatementCollection : Collections.CollectionBase + { + public CodeCommentStatementCollection() { } + public CodeCommentStatementCollection(CodeCommentStatement[] value) { } + public CodeCommentStatementCollection(CodeCommentStatementCollection value) { } + public CodeCommentStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeCommentStatement value) { throw null; } + public void AddRange(CodeCommentStatement[] value) { } + public void AddRange(CodeCommentStatementCollection value) { } + public bool Contains(CodeCommentStatement value) { throw null; } + public void CopyTo(CodeCommentStatement[] array, int index) { } + public int IndexOf(CodeCommentStatement value) { throw null; } + public void Insert(int index, CodeCommentStatement value) { } + public void Remove(CodeCommentStatement value) { } + } + + public partial class CodeCompileUnit : CodeObject + { + public CodeAttributeDeclarationCollection AssemblyCustomAttributes { get { throw null; } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeNamespaceCollection Namespaces { get { throw null; } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeConditionStatement : CodeStatement + { + public CodeConditionStatement() { } + public CodeConditionStatement(CodeExpression condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements) { } + public CodeConditionStatement(CodeExpression condition, params CodeStatement[] trueStatements) { } + public CodeExpression Condition { get { throw null; } set { } } + public CodeStatementCollection FalseStatements { get { throw null; } } + public CodeStatementCollection TrueStatements { get { throw null; } } + } + + public partial class CodeConstructor : CodeMemberMethod + { + public CodeExpressionCollection BaseConstructorArgs { get { throw null; } } + public CodeExpressionCollection ChainedConstructorArgs { get { throw null; } } + } + + public partial class CodeDefaultValueExpression : CodeExpression + { + public CodeDefaultValueExpression() { } + public CodeDefaultValueExpression(CodeTypeReference type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeDelegateCreateExpression : CodeExpression + { + public CodeDelegateCreateExpression() { } + public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { } + public CodeTypeReference DelegateType { get { throw null; } set { } } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDelegateInvokeExpression : CodeExpression + { + public CodeDelegateInvokeExpression() { } + public CodeDelegateInvokeExpression(CodeExpression targetObject, params CodeExpression[] parameters) { } + public CodeDelegateInvokeExpression(CodeExpression targetObject) { } + public CodeExpressionCollection Parameters { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDirectionExpression : CodeExpression + { + public CodeDirectionExpression() { } + public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) { } + public FieldDirection Direction { get { throw null; } set { } } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeDirective : CodeObject + { + } + + public partial class CodeDirectiveCollection : Collections.CollectionBase + { + public CodeDirectiveCollection() { } + public CodeDirectiveCollection(CodeDirective[] value) { } + public CodeDirectiveCollection(CodeDirectiveCollection value) { } + public CodeDirective this[int index] { get { throw null; } set { } } + + public int Add(CodeDirective value) { throw null; } + public void AddRange(CodeDirective[] value) { } + public void AddRange(CodeDirectiveCollection value) { } + public bool Contains(CodeDirective value) { throw null; } + public void CopyTo(CodeDirective[] array, int index) { } + public int IndexOf(CodeDirective value) { throw null; } + public void Insert(int index, CodeDirective value) { } + public void Remove(CodeDirective value) { } + } + + public partial class CodeEntryPointMethod : CodeMemberMethod + { + } + + public partial class CodeEventReferenceExpression : CodeExpression + { + public CodeEventReferenceExpression() { } + public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) { } + public string EventName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeExpression : CodeObject + { + } + + public partial class CodeExpressionCollection : Collections.CollectionBase + { + public CodeExpressionCollection() { } + public CodeExpressionCollection(CodeExpression[] value) { } + public CodeExpressionCollection(CodeExpressionCollection value) { } + public CodeExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public void AddRange(CodeExpression[] value) { } + public void AddRange(CodeExpressionCollection value) { } + public bool Contains(CodeExpression value) { throw null; } + public void CopyTo(CodeExpression[] array, int index) { } + public int IndexOf(CodeExpression value) { throw null; } + public void Insert(int index, CodeExpression value) { } + public void Remove(CodeExpression value) { } + } + + public partial class CodeExpressionStatement : CodeStatement + { + public CodeExpressionStatement() { } + public CodeExpressionStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeFieldReferenceExpression : CodeExpression + { + public CodeFieldReferenceExpression() { } + public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) { } + public string FieldName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeGotoStatement : CodeStatement + { + public CodeGotoStatement() { } + public CodeGotoStatement(string label) { } + public string Label { get { throw null; } set { } } + } + + public partial class CodeIndexerExpression : CodeExpression + { + public CodeIndexerExpression() { } + public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeIterationStatement : CodeStatement + { + public CodeIterationStatement() { } + public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) { } + public CodeStatement IncrementStatement { get { throw null; } set { } } + public CodeStatement InitStatement { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeExpression TestExpression { get { throw null; } set { } } + } + + public partial class CodeLabeledStatement : CodeStatement + { + public CodeLabeledStatement() { } + public CodeLabeledStatement(string label, CodeStatement statement) { } + public CodeLabeledStatement(string label) { } + public string Label { get { throw null; } set { } } + public CodeStatement Statement { get { throw null; } set { } } + } + + public partial class CodeLinePragma + { + public CodeLinePragma() { } + public CodeLinePragma(string fileName, int lineNumber) { } + public string FileName { get { throw null; } set { } } + public int LineNumber { get { throw null; } set { } } + } + public partial class CodeMemberEvent : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberField : CodeTypeMember + { + public CodeMemberField() { } + public CodeMemberField(CodeTypeReference type, string name) { } + public CodeMemberField(string type, string name) { } + public CodeMemberField(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberMethod : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + public CodeAttributeDeclarationCollection ReturnTypeCustomAttributes { get { throw null; } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateImplementationTypes { + add { } + remove { } + } + + public event EventHandler PopulateParameters { + add { } + remove { } + } + + public event EventHandler PopulateStatements { + add { } + remove { } + } + } + + public partial class CodeMemberProperty : CodeTypeMember + { + public CodeStatementCollection GetStatements { get { throw null; } } + public bool HasGet { get { throw null; } set { } } + public bool HasSet { get { throw null; } set { } } + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeStatementCollection SetStatements { get { throw null; } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMethodInvokeExpression : CodeExpression + { + public CodeMethodInvokeExpression() { } + public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters) { } + public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters) { } + public CodeMethodReferenceExpression Method { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeMethodReferenceExpression : CodeExpression + { + public CodeMethodReferenceExpression() { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName, params CodeTypeReference[] typeParameters) { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName) { } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeMethodReturnStatement : CodeStatement + { + public CodeMethodReturnStatement() { } + public CodeMethodReturnStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeNamespace : CodeObject + { + public CodeNamespace() { } + public CodeNamespace(string name) { } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeNamespaceImportCollection Imports { get { throw null; } } + public string Name { get { throw null; } set { } } + public CodeTypeDeclarationCollection Types { get { throw null; } } + + public event EventHandler PopulateComments { + add { } + remove { } + } + + public event EventHandler PopulateImports { + add { } + remove { } + } + + public event EventHandler PopulateTypes { + add { } + remove { } + } + } + + public partial class CodeNamespaceCollection : Collections.CollectionBase + { + public CodeNamespaceCollection() { } + public CodeNamespaceCollection(CodeNamespace[] value) { } + public CodeNamespaceCollection(CodeNamespaceCollection value) { } + public CodeNamespace this[int index] { get { throw null; } set { } } + + public int Add(CodeNamespace value) { throw null; } + public void AddRange(CodeNamespace[] value) { } + public void AddRange(CodeNamespaceCollection value) { } + public bool Contains(CodeNamespace value) { throw null; } + public void CopyTo(CodeNamespace[] array, int index) { } + public int IndexOf(CodeNamespace value) { throw null; } + public void Insert(int index, CodeNamespace value) { } + public void Remove(CodeNamespace value) { } + } + + public partial class CodeNamespaceImport : CodeObject + { + public CodeNamespaceImport() { } + public CodeNamespaceImport(string nameSpace) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Namespace { get { throw null; } set { } } + } + + public partial class CodeNamespaceImportCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + + public CodeNamespaceImport this[int index] { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object Collections.IList.this[int index] { get { throw null; } set { } } + + public void Add(CodeNamespaceImport value) { } + public void AddRange(CodeNamespaceImport[] value) { } + public void Clear() { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + int Collections.IList.Add(object value) { throw null; } + void Collections.IList.Clear() { } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + void Collections.IList.RemoveAt(int index) { } + } + + public partial class CodeObject + { + public Collections.IDictionary UserData { get { throw null; } } + } + public partial class CodeObjectCreateExpression : CodeExpression + { + public CodeObjectCreateExpression() { } + public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeParameterDeclarationExpression : CodeExpression + { + public CodeParameterDeclarationExpression() { } + public CodeParameterDeclarationExpression(CodeTypeReference type, string name) { } + public CodeParameterDeclarationExpression(string type, string name) { } + public CodeParameterDeclarationExpression(Type type, string name) { } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public FieldDirection Direction { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeParameterDeclarationExpressionCollection : Collections.CollectionBase + { + public CodeParameterDeclarationExpressionCollection() { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { } + public CodeParameterDeclarationExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeParameterDeclarationExpression value) { throw null; } + public void AddRange(CodeParameterDeclarationExpression[] value) { } + public void AddRange(CodeParameterDeclarationExpressionCollection value) { } + public bool Contains(CodeParameterDeclarationExpression value) { throw null; } + public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { } + public int IndexOf(CodeParameterDeclarationExpression value) { throw null; } + public void Insert(int index, CodeParameterDeclarationExpression value) { } + public void Remove(CodeParameterDeclarationExpression value) { } + } + + public partial class CodePrimitiveExpression : CodeExpression + { + public CodePrimitiveExpression() { } + public CodePrimitiveExpression(object value) { } + public object Value { get { throw null; } set { } } + } + + public partial class CodePropertyReferenceExpression : CodeExpression + { + public CodePropertyReferenceExpression() { } + public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) { } + public string PropertyName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodePropertySetValueReferenceExpression : CodeExpression + { + } + + public partial class CodeRegionDirective : CodeDirective + { + public CodeRegionDirective() { } + public CodeRegionDirective(CodeRegionMode regionMode, string regionText) { } + public CodeRegionMode RegionMode { get { throw null; } set { } } + public string RegionText { get { throw null; } set { } } + } + + public enum CodeRegionMode + { + None = 0, + Start = 1, + End = 2 + } + + public partial class CodeRemoveEventStatement : CodeStatement + { + public CodeRemoveEventStatement() { } + public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeSnippetCompileUnit : CodeCompileUnit + { + public CodeSnippetCompileUnit() { } + public CodeSnippetCompileUnit(string value) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetExpression : CodeExpression + { + public CodeSnippetExpression() { } + public CodeSnippetExpression(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetStatement : CodeStatement + { + public CodeSnippetStatement() { } + public CodeSnippetStatement(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetTypeMember : CodeTypeMember + { + public CodeSnippetTypeMember() { } + public CodeSnippetTypeMember(string text) { } + public string Text { get { throw null; } set { } } + } + + public partial class CodeStatement : CodeObject + { + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeStatementCollection : Collections.CollectionBase + { + public CodeStatementCollection() { } + public CodeStatementCollection(CodeStatement[] value) { } + public CodeStatementCollection(CodeStatementCollection value) { } + public CodeStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public int Add(CodeStatement value) { throw null; } + public void AddRange(CodeStatement[] value) { } + public void AddRange(CodeStatementCollection value) { } + public bool Contains(CodeStatement value) { throw null; } + public void CopyTo(CodeStatement[] array, int index) { } + public int IndexOf(CodeStatement value) { throw null; } + public void Insert(int index, CodeStatement value) { } + public void Remove(CodeStatement value) { } + } + + public partial class CodeThisReferenceExpression : CodeExpression + { + } + + public partial class CodeThrowExceptionStatement : CodeStatement + { + public CodeThrowExceptionStatement() { } + public CodeThrowExceptionStatement(CodeExpression toThrow) { } + public CodeExpression ToThrow { get { throw null; } set { } } + } + + public partial class CodeTryCatchFinallyStatement : CodeStatement + { + public CodeTryCatchFinallyStatement() { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses, CodeStatement[] finallyStatements) { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses) { } + public CodeCatchClauseCollection CatchClauses { get { throw null; } } + public CodeStatementCollection FinallyStatements { get { throw null; } } + public CodeStatementCollection TryStatements { get { throw null; } } + } + + public partial class CodeTypeConstructor : CodeMemberMethod + { + } + + public partial class CodeTypeDeclaration : CodeTypeMember + { + public CodeTypeDeclaration() { } + public CodeTypeDeclaration(string name) { } + public CodeTypeReferenceCollection BaseTypes { get { throw null; } } + public bool IsClass { get { throw null; } set { } } + public bool IsEnum { get { throw null; } set { } } + public bool IsInterface { get { throw null; } set { } } + public bool IsPartial { get { throw null; } set { } } + public bool IsStruct { get { throw null; } set { } } + public CodeTypeMemberCollection Members { get { throw null; } } + public Reflection.TypeAttributes TypeAttributes { get { throw null; } set { } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateBaseTypes { + add { } + remove { } + } + + public event EventHandler PopulateMembers { + add { } + remove { } + } + } + + public partial class CodeTypeDeclarationCollection : Collections.CollectionBase + { + public CodeTypeDeclarationCollection() { } + public CodeTypeDeclarationCollection(CodeTypeDeclaration[] value) { } + public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) { } + public CodeTypeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeDeclaration value) { throw null; } + public void AddRange(CodeTypeDeclaration[] value) { } + public void AddRange(CodeTypeDeclarationCollection value) { } + public bool Contains(CodeTypeDeclaration value) { throw null; } + public void CopyTo(CodeTypeDeclaration[] array, int index) { } + public int IndexOf(CodeTypeDeclaration value) { throw null; } + public void Insert(int index, CodeTypeDeclaration value) { } + public void Remove(CodeTypeDeclaration value) { } + } + + public partial class CodeTypeDelegate : CodeTypeDeclaration + { + public CodeTypeDelegate() { } + public CodeTypeDelegate(string name) { } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + } + + public partial class CodeTypeMember : CodeObject + { + public MemberAttributes Attributes { get { throw null; } set { } } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeTypeMemberCollection : Collections.CollectionBase + { + public CodeTypeMemberCollection() { } + public CodeTypeMemberCollection(CodeTypeMember[] value) { } + public CodeTypeMemberCollection(CodeTypeMemberCollection value) { } + public CodeTypeMember this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeMember value) { throw null; } + public void AddRange(CodeTypeMember[] value) { } + public void AddRange(CodeTypeMemberCollection value) { } + public bool Contains(CodeTypeMember value) { throw null; } + public void CopyTo(CodeTypeMember[] array, int index) { } + public int IndexOf(CodeTypeMember value) { throw null; } + public void Insert(int index, CodeTypeMember value) { } + public void Remove(CodeTypeMember value) { } + } + + public partial class CodeTypeOfExpression : CodeExpression + { + public CodeTypeOfExpression() { } + public CodeTypeOfExpression(CodeTypeReference type) { } + public CodeTypeOfExpression(string type) { } + public CodeTypeOfExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeTypeParameter : CodeObject + { + public CodeTypeParameter() { } + public CodeTypeParameter(string name) { } + public CodeTypeReferenceCollection Constraints { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } } + public bool HasConstructorConstraint { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class CodeTypeParameterCollection : Collections.CollectionBase + { + public CodeTypeParameterCollection() { } + public CodeTypeParameterCollection(CodeTypeParameter[] value) { } + public CodeTypeParameterCollection(CodeTypeParameterCollection value) { } + public CodeTypeParameter this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeParameter value) { throw null; } + public void Add(string value) { } + public void AddRange(CodeTypeParameter[] value) { } + public void AddRange(CodeTypeParameterCollection value) { } + public bool Contains(CodeTypeParameter value) { throw null; } + public void CopyTo(CodeTypeParameter[] array, int index) { } + public int IndexOf(CodeTypeParameter value) { throw null; } + public void Insert(int index, CodeTypeParameter value) { } + public void Remove(CodeTypeParameter value) { } + } + + public partial class CodeTypeReference : CodeObject + { + public CodeTypeReference() { } + public CodeTypeReference(CodeTypeParameter typeParameter) { } + public CodeTypeReference(CodeTypeReference arrayType, int rank) { } + public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) { } + public CodeTypeReference(string? typeName, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(string baseType, int rank) { } + public CodeTypeReference(string? typeName) { } + public CodeTypeReference(Type type, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(Type type) { } + public CodeTypeReference? ArrayElementType { get { throw null; } set { } } + public int ArrayRank { get { throw null; } set { } } + public string BaseType { get { throw null; } set { } } + public CodeTypeReferenceOptions Options { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeTypeReferenceCollection : Collections.CollectionBase + { + public CodeTypeReferenceCollection() { } + public CodeTypeReferenceCollection(CodeTypeReference[] value) { } + public CodeTypeReferenceCollection(CodeTypeReferenceCollection value) { } + public CodeTypeReference this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeReference value) { throw null; } + public void Add(string value) { } + public void Add(Type value) { } + public void AddRange(CodeTypeReference[] value) { } + public void AddRange(CodeTypeReferenceCollection value) { } + public bool Contains(CodeTypeReference value) { throw null; } + public void CopyTo(CodeTypeReference[] array, int index) { } + public int IndexOf(CodeTypeReference value) { throw null; } + public void Insert(int index, CodeTypeReference value) { } + public void Remove(CodeTypeReference value) { } + } + + public partial class CodeTypeReferenceExpression : CodeExpression + { + public CodeTypeReferenceExpression() { } + public CodeTypeReferenceExpression(CodeTypeReference type) { } + public CodeTypeReferenceExpression(string type) { } + public CodeTypeReferenceExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + [Flags] + public enum CodeTypeReferenceOptions + { + GlobalReference = 1, + GenericTypeParameter = 2 + } + + public partial class CodeVariableDeclarationStatement : CodeStatement + { + public CodeVariableDeclarationStatement() { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name) { } + public CodeVariableDeclarationStatement(string type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(string type, string name) { } + public CodeVariableDeclarationStatement(Type type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeVariableReferenceExpression : CodeExpression + { + public CodeVariableReferenceExpression() { } + public CodeVariableReferenceExpression(string variableName) { } + public string VariableName { get { throw null; } set { } } + } + + public enum FieldDirection + { + In = 0, + Out = 1, + Ref = 2 + } + + public enum MemberAttributes + { + Abstract = 1, + Final = 2, + Static = 3, + Override = 4, + Const = 5, + ScopeMask = 15, + New = 16, + VTableMask = 240, + Overloaded = 256, + Assembly = 4096, + FamilyAndAssembly = 8192, + Family = 12288, + FamilyOrAssembly = 16384, + Private = 20480, + Public = 24576, + AccessMask = 61440 + } +} + +namespace System.CodeDom.Compiler +{ + public abstract partial class CodeCompiler : CodeGenerator, ICodeCompiler + { + protected abstract string CompilerName { get; } + protected abstract string FileExtension { get; } + + protected abstract string CmdArgsFromParameters(CompilerParameters options); + protected virtual CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + protected virtual CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + protected virtual CompilerResults FromFile(CompilerParameters options, string fileName) { throw null; } + protected virtual CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + protected virtual CompilerResults FromSource(CompilerParameters options, string source) { throw null; } + protected virtual CompilerResults FromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + protected virtual string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs) { throw null; } + protected static string JoinStringArray(string[] sa, string separator) { throw null; } + protected abstract void ProcessCompilerOutputLine(CompilerResults results, string line); + CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + } + + [ComponentModel.ToolboxItem(false)] + public abstract partial class CodeDomProvider : ComponentModel.Component + { + public virtual string FileExtension { get { throw null; } } + public virtual LanguageOptions LanguageOptions { get { throw null; } } + + public virtual CompilerResults CompileAssemblyFromDom(CompilerParameters options, params CodeCompileUnit[] compilationUnits) { throw null; } + public virtual CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) { throw null; } + public virtual CompilerResults CompileAssemblyFromSource(CompilerParameters options, params string[] sources) { throw null; } + [Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeCompiler CreateCompiler(); + public virtual string CreateEscapedIdentifier(string value) { throw null; } + [Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeGenerator CreateGenerator(); + public virtual ICodeGenerator CreateGenerator(IO.TextWriter output) { throw null; } + public virtual ICodeGenerator CreateGenerator(string fileName) { throw null; } + [Obsolete("ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public virtual ICodeParser CreateParser() { throw null; } + public static CodeDomProvider CreateProvider(string language, Collections.Generic.IDictionary providerOptions) { throw null; } + public static CodeDomProvider CreateProvider(string language) { throw null; } + public virtual string CreateValidIdentifier(string value) { throw null; } + public virtual void GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromExpression(CodeExpression expression, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromNamespace(CodeNamespace codeNamespace, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromStatement(CodeStatement statement, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromType(CodeTypeDeclaration codeType, IO.TextWriter writer, CodeGeneratorOptions options) { } + public static CompilerInfo[] GetAllCompilerInfo() { throw null; } + public static CompilerInfo GetCompilerInfo(string language) { throw null; } + public virtual ComponentModel.TypeConverter GetConverter(Type type) { throw null; } + public static string GetLanguageFromExtension(string extension) { throw null; } + public virtual string GetTypeOutput(CodeTypeReference type) { throw null; } + public static bool IsDefinedExtension(string extension) { throw null; } + public static bool IsDefinedLanguage(string language) { throw null; } + public virtual bool IsValidIdentifier(string value) { throw null; } + public virtual CodeCompileUnit Parse(IO.TextReader codeStream) { throw null; } + public virtual bool Supports(GeneratorSupport generatorSupport) { throw null; } + } + + public abstract partial class CodeGenerator : ICodeGenerator + { + protected CodeTypeDeclaration CurrentClass { get { throw null; } } + protected CodeTypeMember CurrentMember { get { throw null; } } + protected string CurrentMemberName { get { throw null; } } + protected string CurrentTypeName { get { throw null; } } + protected int Indent { get { throw null; } set { } } + protected bool IsCurrentClass { get { throw null; } } + protected bool IsCurrentDelegate { get { throw null; } } + protected bool IsCurrentEnum { get { throw null; } } + protected bool IsCurrentInterface { get { throw null; } } + protected bool IsCurrentStruct { get { throw null; } } + protected abstract string NullToken { get; } + protected CodeGeneratorOptions Options { get { throw null; } } + protected IO.TextWriter Output { get { throw null; } } + + protected virtual void ContinueOnNewLine(string st) { } + protected abstract string CreateEscapedIdentifier(string value); + protected abstract string CreateValidIdentifier(string value); + protected abstract void GenerateArgumentReferenceExpression(CodeArgumentReferenceExpression e); + protected abstract void GenerateArrayCreateExpression(CodeArrayCreateExpression e); + protected abstract void GenerateArrayIndexerExpression(CodeArrayIndexerExpression e); + protected abstract void GenerateAssignStatement(CodeAssignStatement e); + protected abstract void GenerateAttachEventStatement(CodeAttachEventStatement e); + protected abstract void GenerateAttributeDeclarationsEnd(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateAttributeDeclarationsStart(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateBaseReferenceExpression(CodeBaseReferenceExpression e); + protected virtual void GenerateBinaryOperatorExpression(CodeBinaryOperatorExpression e) { } + protected abstract void GenerateCastExpression(CodeCastExpression e); + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + protected abstract void GenerateComment(CodeComment e); + protected virtual void GenerateCommentStatement(CodeCommentStatement e) { } + protected virtual void GenerateCommentStatements(CodeCommentStatementCollection e) { } + protected virtual void GenerateCompileUnit(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitEnd(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitStart(CodeCompileUnit e) { } + protected abstract void GenerateConditionStatement(CodeConditionStatement e); + protected abstract void GenerateConstructor(CodeConstructor e, CodeTypeDeclaration c); + protected virtual void GenerateDecimalValue(decimal d) { } + protected virtual void GenerateDefaultValueExpression(CodeDefaultValueExpression e) { } + protected abstract void GenerateDelegateCreateExpression(CodeDelegateCreateExpression e); + protected abstract void GenerateDelegateInvokeExpression(CodeDelegateInvokeExpression e); + protected virtual void GenerateDirectionExpression(CodeDirectionExpression e) { } + protected virtual void GenerateDirectives(CodeDirectiveCollection directives) { } + protected virtual void GenerateDoubleValue(double d) { } + protected abstract void GenerateEntryPointMethod(CodeEntryPointMethod e, CodeTypeDeclaration c); + protected abstract void GenerateEvent(CodeMemberEvent e, CodeTypeDeclaration c); + protected abstract void GenerateEventReferenceExpression(CodeEventReferenceExpression e); + protected void GenerateExpression(CodeExpression e) { } + protected abstract void GenerateExpressionStatement(CodeExpressionStatement e); + protected abstract void GenerateField(CodeMemberField e); + protected abstract void GenerateFieldReferenceExpression(CodeFieldReferenceExpression e); + protected abstract void GenerateGotoStatement(CodeGotoStatement e); + protected abstract void GenerateIndexerExpression(CodeIndexerExpression e); + protected abstract void GenerateIterationStatement(CodeIterationStatement e); + protected abstract void GenerateLabeledStatement(CodeLabeledStatement e); + protected abstract void GenerateLinePragmaEnd(CodeLinePragma e); + protected abstract void GenerateLinePragmaStart(CodeLinePragma e); + protected abstract void GenerateMethod(CodeMemberMethod e, CodeTypeDeclaration c); + protected abstract void GenerateMethodInvokeExpression(CodeMethodInvokeExpression e); + protected abstract void GenerateMethodReferenceExpression(CodeMethodReferenceExpression e); + protected abstract void GenerateMethodReturnStatement(CodeMethodReturnStatement e); + protected virtual void GenerateNamespace(CodeNamespace e) { } + protected abstract void GenerateNamespaceEnd(CodeNamespace e); + protected abstract void GenerateNamespaceImport(CodeNamespaceImport e); + protected void GenerateNamespaceImports(CodeNamespace e) { } + protected void GenerateNamespaces(CodeCompileUnit e) { } + protected abstract void GenerateNamespaceStart(CodeNamespace e); + protected abstract void GenerateObjectCreateExpression(CodeObjectCreateExpression e); + protected virtual void GenerateParameterDeclarationExpression(CodeParameterDeclarationExpression e) { } + protected virtual void GeneratePrimitiveExpression(CodePrimitiveExpression e) { } + protected abstract void GenerateProperty(CodeMemberProperty e, CodeTypeDeclaration c); + protected abstract void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e); + protected abstract void GeneratePropertySetValueReferenceExpression(CodePropertySetValueReferenceExpression e); + protected abstract void GenerateRemoveEventStatement(CodeRemoveEventStatement e); + protected virtual void GenerateSingleFloatValue(float s) { } + protected virtual void GenerateSnippetCompileUnit(CodeSnippetCompileUnit e) { } + protected abstract void GenerateSnippetExpression(CodeSnippetExpression e); + protected abstract void GenerateSnippetMember(CodeSnippetTypeMember e); + protected virtual void GenerateSnippetStatement(CodeSnippetStatement e) { } + protected void GenerateStatement(CodeStatement e) { } + protected void GenerateStatements(CodeStatementCollection stmts) { } + protected abstract void GenerateThisReferenceExpression(CodeThisReferenceExpression e); + protected abstract void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e); + protected abstract void GenerateTryCatchFinallyStatement(CodeTryCatchFinallyStatement e); + protected abstract void GenerateTypeConstructor(CodeTypeConstructor e); + protected abstract void GenerateTypeEnd(CodeTypeDeclaration e); + protected virtual void GenerateTypeOfExpression(CodeTypeOfExpression e) { } + protected virtual void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) { } + protected void GenerateTypes(CodeNamespace e) { } + protected abstract void GenerateTypeStart(CodeTypeDeclaration e); + protected abstract void GenerateVariableDeclarationStatement(CodeVariableDeclarationStatement e); + protected abstract void GenerateVariableReferenceExpression(CodeVariableReferenceExpression e); + protected abstract string GetTypeOutput(CodeTypeReference value); + protected abstract bool IsValidIdentifier(string value); + public static bool IsValidLanguageIndependentIdentifier(string value) { throw null; } + protected virtual void OutputAttributeArgument(CodeAttributeArgument arg) { } + protected virtual void OutputAttributeDeclarations(CodeAttributeDeclarationCollection attributes) { } + protected virtual void OutputDirection(FieldDirection dir) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions, bool newlineBetweenItems) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions) { } + protected virtual void OutputFieldScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputIdentifier(string ident) { } + protected virtual void OutputMemberAccessModifier(MemberAttributes attributes) { } + protected virtual void OutputMemberScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputOperator(CodeBinaryOperatorType op) { } + protected virtual void OutputParameters(CodeParameterDeclarationExpressionCollection parameters) { } + protected abstract void OutputType(CodeTypeReference typeRef); + protected virtual void OutputTypeAttributes(Reflection.TypeAttributes attributes, bool isStruct, bool isEnum) { } + protected virtual void OutputTypeNamePair(CodeTypeReference typeRef, string name) { } + protected abstract string QuoteSnippetString(string value); + protected abstract bool Supports(GeneratorSupport support); + string ICodeGenerator.CreateEscapedIdentifier(string value) { throw null; } + string ICodeGenerator.CreateValidIdentifier(string value) { throw null; } + void ICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o) { } + string ICodeGenerator.GetTypeOutput(CodeTypeReference type) { throw null; } + bool ICodeGenerator.IsValidIdentifier(string value) { throw null; } + bool ICodeGenerator.Supports(GeneratorSupport support) { throw null; } + void ICodeGenerator.ValidateIdentifier(string value) { } + protected virtual void ValidateIdentifier(string value) { } + public static void ValidateIdentifiers(CodeObject e) { } + } + + public partial class CodeGeneratorOptions + { + public bool BlankLinesBetweenMembers { get { throw null; } set { } } + public string BracingStyle { get { throw null; } set { } } + public bool ElseOnClosing { get { throw null; } set { } } + public string IndentString { get { throw null; } set { } } + + public object this[string index] { get { throw null; } set { } } + + public bool VerbatimOrder { get { throw null; } set { } } + } + public abstract partial class CodeParser : ICodeParser + { + public abstract CodeCompileUnit Parse(IO.TextReader codeStream); + } + + public partial class CompilerError + { + public CompilerError() { } + public CompilerError(string fileName, int line, int column, string errorNumber, string errorText) { } + public int Column { get { throw null; } set { } } + public string ErrorNumber { get { throw null; } set { } } + public string ErrorText { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public bool IsWarning { get { throw null; } set { } } + public int Line { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class CompilerErrorCollection : Collections.CollectionBase + { + public CompilerErrorCollection() { } + public CompilerErrorCollection(CompilerError[] value) { } + public CompilerErrorCollection(CompilerErrorCollection value) { } + public bool HasErrors { get { throw null; } } + public bool HasWarnings { get { throw null; } } + + public CompilerError this[int index] { get { throw null; } set { } } + + public int Add(CompilerError value) { throw null; } + public void AddRange(CompilerError[] value) { } + public void AddRange(CompilerErrorCollection value) { } + public bool Contains(CompilerError value) { throw null; } + public void CopyTo(CompilerError[] array, int index) { } + public int IndexOf(CompilerError value) { throw null; } + public void Insert(int index, CompilerError value) { } + public void Remove(CompilerError value) { } + } + + public sealed partial class CompilerInfo + { + internal CompilerInfo() { } + public Type CodeDomProviderType { get { throw null; } } + public bool IsCodeDomProviderTypeValid { get { throw null; } } + + public CompilerParameters CreateDefaultCompilerParameters() { throw null; } + public CodeDomProvider CreateProvider() { throw null; } + public CodeDomProvider CreateProvider(Collections.Generic.IDictionary providerOptions) { throw null; } + public override bool Equals(object o) { throw null; } + public string[] GetExtensions() { throw null; } + public override int GetHashCode() { throw null; } + public string[] GetLanguages() { throw null; } + } + public partial class CompilerParameters + { + public CompilerParameters() { } + public CompilerParameters(string[] assemblyNames, string outputName, bool includeDebugInformation) { } + public CompilerParameters(string[] assemblyNames, string outputName) { } + public CompilerParameters(string[] assemblyNames) { } + public string CompilerOptions { get { throw null; } set { } } + public string CoreAssemblyFileName { get { throw null; } set { } } + public Collections.Specialized.StringCollection EmbeddedResources { get { throw null; } } + public bool GenerateExecutable { get { throw null; } set { } } + public bool GenerateInMemory { get { throw null; } set { } } + public bool IncludeDebugInformation { get { throw null; } set { } } + public Collections.Specialized.StringCollection LinkedResources { get { throw null; } } + public string MainClass { get { throw null; } set { } } + public string OutputAssembly { get { throw null; } set { } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public TempFileCollection TempFiles { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public nint UserToken { get { throw null; } set { } } + public int WarningLevel { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + public partial class CompilerResults + { + public CompilerResults(TempFileCollection tempFiles) { } + public Reflection.Assembly CompiledAssembly { get { throw null; } set { } } + public CompilerErrorCollection Errors { get { throw null; } } + public int NativeCompilerReturnValue { get { throw null; } set { } } + public Collections.Specialized.StringCollection Output { get { throw null; } } + public string PathToAssembly { get { throw null; } set { } } + public TempFileCollection TempFiles { get { throw null; } set { } } + } + public static partial class Executor + { + public static void ExecWait(string cmd, TempFileCollection tempFiles) { } + public static int ExecWaitWithCapture(nint userToken, string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(nint userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + } + [Flags] + public enum GeneratorSupport + { + ArraysOfArrays = 1, + EntryPointMethod = 2, + GotoStatements = 4, + MultidimensionalArrays = 8, + StaticConstructors = 16, + TryCatchStatements = 32, + ReturnTypeAttributes = 64, + DeclareValueTypes = 128, + DeclareEnums = 256, + DeclareDelegates = 512, + DeclareInterfaces = 1024, + DeclareEvents = 2048, + AssemblyAttributes = 4096, + ParameterAttributes = 8192, + ReferenceParameters = 16384, + ChainedConstructorArguments = 32768, + NestedTypes = 65536, + MultipleInterfaceMembers = 131072, + PublicStaticMembers = 262144, + ComplexExpressions = 524288, + Win32Resources = 1048576, + Resources = 2097152, + PartialTypes = 4194304, + GenericTypeReference = 8388608, + GenericTypeDeclaration = 16777216, + DeclareIndexerProperties = 33554432 + } + + public partial interface ICodeCompiler + { + CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit compilationUnit); + CompilerResults CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] compilationUnits); + CompilerResults CompileAssemblyFromFile(CompilerParameters options, string fileName); + CompilerResults CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames); + CompilerResults CompileAssemblyFromSource(CompilerParameters options, string source); + CompilerResults CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources); + } + + public partial interface ICodeGenerator + { + string CreateEscapedIdentifier(string value); + string CreateValidIdentifier(string value); + void GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o); + string GetTypeOutput(CodeTypeReference type); + bool IsValidIdentifier(string value); + bool Supports(GeneratorSupport supports); + void ValidateIdentifier(string value); + } + + public partial interface ICodeParser + { + CodeCompileUnit Parse(IO.TextReader codeStream); + } + + [Flags] + public enum LanguageOptions + { + None = 0, + CaseInsensitive = 1 + } + + public partial class TempFileCollection : Collections.ICollection, Collections.IEnumerable, IDisposable + { + public TempFileCollection() { } + public TempFileCollection(string tempDir, bool keepFiles) { } + public TempFileCollection(string tempDir) { } + public string BasePath { get { throw null; } } + public int Count { get { throw null; } } + public bool KeepFiles { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + public string TempDir { get { throw null; } } + + public string AddExtension(string fileExtension, bool keepFile) { throw null; } + public string AddExtension(string fileExtension) { throw null; } + public void AddFile(string fileName, bool keepFile) { } + public void CopyTo(string[] fileNames, int start) { } + public void Delete() { } + protected virtual void Dispose(bool disposing) { } + ~TempFileCollection() { + } + + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int start) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.codedom/9.0.0/lib/netstandard2.0/System.CodeDom.cs b/src/referencePackages/src/system.codedom/9.0.0/lib/netstandard2.0/System.CodeDom.cs new file mode 100644 index 0000000000..838cb95cca --- /dev/null +++ b/src/referencePackages/src/system.codedom/9.0.0/lib/netstandard2.0/System.CodeDom.cs @@ -0,0 +1,1389 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.CodeDom")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that can be used to model the structure of a source code document and to output source code for that model in C# or Visual Basic.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.CodeDom")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.CSharp +{ + public partial class CSharpCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public CSharpCodeProvider() { } + public CSharpCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace Microsoft.VisualBasic +{ + public partial class VBCodeProvider : System.CodeDom.Compiler.CodeDomProvider + { + public VBCodeProvider() { } + public VBCodeProvider(System.Collections.Generic.IDictionary providerOptions) { } + public override string FileExtension { get { throw null; } } + public override System.CodeDom.Compiler.LanguageOptions LanguageOptions { get { throw null; } } + + [System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler() { throw null; } + [System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")] + public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator() { throw null; } + public override void GenerateCodeFromMember(System.CodeDom.CodeTypeMember member, System.IO.TextWriter writer, System.CodeDom.Compiler.CodeGeneratorOptions options) { } + public override System.ComponentModel.TypeConverter GetConverter(System.Type type) { throw null; } + } +} + +namespace System.CodeDom +{ + public partial class CodeArgumentReferenceExpression : CodeExpression + { + public CodeArgumentReferenceExpression() { } + public CodeArgumentReferenceExpression(string parameterName) { } + public string ParameterName { get { throw null; } set { } } + } + + public partial class CodeArrayCreateExpression : CodeExpression + { + public CodeArrayCreateExpression() { } + public CodeArrayCreateExpression(CodeTypeReference createType, CodeExpression size) { } + public CodeArrayCreateExpression(CodeTypeReference createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(CodeTypeReference createType, int size) { } + public CodeArrayCreateExpression(string createType, CodeExpression size) { } + public CodeArrayCreateExpression(string createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(string createType, int size) { } + public CodeArrayCreateExpression(Type createType, CodeExpression size) { } + public CodeArrayCreateExpression(Type createType, params CodeExpression[] initializers) { } + public CodeArrayCreateExpression(Type createType, int size) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Initializers { get { throw null; } } + public int Size { get { throw null; } set { } } + public CodeExpression SizeExpression { get { throw null; } set { } } + } + + public partial class CodeArrayIndexerExpression : CodeExpression + { + public CodeArrayIndexerExpression() { } + public CodeArrayIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeAssignStatement : CodeStatement + { + public CodeAssignStatement() { } + public CodeAssignStatement(CodeExpression left, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public partial class CodeAttachEventStatement : CodeStatement + { + public CodeAttachEventStatement() { } + public CodeAttachEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeAttachEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeAttributeArgument + { + public CodeAttributeArgument() { } + public CodeAttributeArgument(CodeExpression value) { } + public CodeAttributeArgument(string name, CodeExpression value) { } + public string Name { get { throw null; } set { } } + public CodeExpression Value { get { throw null; } set { } } + } + public partial class CodeAttributeArgumentCollection : Collections.CollectionBase + { + public CodeAttributeArgumentCollection() { } + public CodeAttributeArgumentCollection(CodeAttributeArgument[] value) { } + public CodeAttributeArgumentCollection(CodeAttributeArgumentCollection value) { } + public CodeAttributeArgument this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeArgument value) { throw null; } + public void AddRange(CodeAttributeArgument[] value) { } + public void AddRange(CodeAttributeArgumentCollection value) { } + public bool Contains(CodeAttributeArgument value) { throw null; } + public void CopyTo(CodeAttributeArgument[] array, int index) { } + public int IndexOf(CodeAttributeArgument value) { throw null; } + public void Insert(int index, CodeAttributeArgument value) { } + public void Remove(CodeAttributeArgument value) { } + } + + public partial class CodeAttributeDeclaration + { + public CodeAttributeDeclaration() { } + public CodeAttributeDeclaration(CodeTypeReference attributeType, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(CodeTypeReference attributeType) { } + public CodeAttributeDeclaration(string name, params CodeAttributeArgument[] arguments) { } + public CodeAttributeDeclaration(string name) { } + public CodeAttributeArgumentCollection Arguments { get { throw null; } } + public CodeTypeReference AttributeType { get { throw null; } } + public string Name { get { throw null; } set { } } + } + public partial class CodeAttributeDeclarationCollection : Collections.CollectionBase + { + public CodeAttributeDeclarationCollection() { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclaration[] value) { } + public CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection value) { } + public CodeAttributeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeAttributeDeclaration value) { throw null; } + public void AddRange(CodeAttributeDeclaration[] value) { } + public void AddRange(CodeAttributeDeclarationCollection value) { } + public bool Contains(CodeAttributeDeclaration value) { throw null; } + public void CopyTo(CodeAttributeDeclaration[] array, int index) { } + public int IndexOf(CodeAttributeDeclaration value) { throw null; } + public void Insert(int index, CodeAttributeDeclaration value) { } + public void Remove(CodeAttributeDeclaration value) { } + } + + public partial class CodeBaseReferenceExpression : CodeExpression + { + } + + public partial class CodeBinaryOperatorExpression : CodeExpression + { + public CodeBinaryOperatorExpression() { } + public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) { } + public CodeExpression Left { get { throw null; } set { } } + public CodeBinaryOperatorType Operator { get { throw null; } set { } } + public CodeExpression Right { get { throw null; } set { } } + } + + public enum CodeBinaryOperatorType + { + Add = 0, + Subtract = 1, + Multiply = 2, + Divide = 3, + Modulus = 4, + Assign = 5, + IdentityInequality = 6, + IdentityEquality = 7, + ValueEquality = 8, + BitwiseOr = 9, + BitwiseAnd = 10, + BooleanOr = 11, + BooleanAnd = 12, + LessThan = 13, + LessThanOrEqual = 14, + GreaterThan = 15, + GreaterThanOrEqual = 16 + } + + public partial class CodeCastExpression : CodeExpression + { + public CodeCastExpression() { } + public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { } + public CodeCastExpression(string targetType, CodeExpression expression) { } + public CodeCastExpression(Type targetType, CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + public CodeTypeReference TargetType { get { throw null; } set { } } + } + + public partial class CodeCatchClause + { + public CodeCatchClause() { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { } + public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { } + public CodeCatchClause(string localName) { } + public CodeTypeReference CatchExceptionType { get { throw null; } set { } } + public string LocalName { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + } + public partial class CodeCatchClauseCollection : Collections.CollectionBase + { + public CodeCatchClauseCollection() { } + public CodeCatchClauseCollection(CodeCatchClause[] value) { } + public CodeCatchClauseCollection(CodeCatchClauseCollection value) { } + public CodeCatchClause this[int index] { get { throw null; } set { } } + + public int Add(CodeCatchClause value) { throw null; } + public void AddRange(CodeCatchClause[] value) { } + public void AddRange(CodeCatchClauseCollection value) { } + public bool Contains(CodeCatchClause value) { throw null; } + public void CopyTo(CodeCatchClause[] array, int index) { } + public int IndexOf(CodeCatchClause value) { throw null; } + public void Insert(int index, CodeCatchClause value) { } + public void Remove(CodeCatchClause value) { } + } + + public partial class CodeChecksumPragma : CodeDirective + { + public CodeChecksumPragma() { } + public CodeChecksumPragma(string fileName, Guid checksumAlgorithmId, byte[] checksumData) { } + public Guid ChecksumAlgorithmId { get { throw null; } set { } } + public byte[] ChecksumData { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + } + + public partial class CodeComment : CodeObject + { + public CodeComment() { } + public CodeComment(string text, bool docComment) { } + public CodeComment(string text) { } + public bool DocComment { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + } + + public partial class CodeCommentStatement : CodeStatement + { + public CodeCommentStatement() { } + public CodeCommentStatement(CodeComment comment) { } + public CodeCommentStatement(string text, bool docComment) { } + public CodeCommentStatement(string text) { } + public CodeComment Comment { get { throw null; } set { } } + } + + public partial class CodeCommentStatementCollection : Collections.CollectionBase + { + public CodeCommentStatementCollection() { } + public CodeCommentStatementCollection(CodeCommentStatement[] value) { } + public CodeCommentStatementCollection(CodeCommentStatementCollection value) { } + public CodeCommentStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeCommentStatement value) { throw null; } + public void AddRange(CodeCommentStatement[] value) { } + public void AddRange(CodeCommentStatementCollection value) { } + public bool Contains(CodeCommentStatement value) { throw null; } + public void CopyTo(CodeCommentStatement[] array, int index) { } + public int IndexOf(CodeCommentStatement value) { throw null; } + public void Insert(int index, CodeCommentStatement value) { } + public void Remove(CodeCommentStatement value) { } + } + + public partial class CodeCompileUnit : CodeObject + { + public CodeAttributeDeclarationCollection AssemblyCustomAttributes { get { throw null; } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeNamespaceCollection Namespaces { get { throw null; } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeConditionStatement : CodeStatement + { + public CodeConditionStatement() { } + public CodeConditionStatement(CodeExpression condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements) { } + public CodeConditionStatement(CodeExpression condition, params CodeStatement[] trueStatements) { } + public CodeExpression Condition { get { throw null; } set { } } + public CodeStatementCollection FalseStatements { get { throw null; } } + public CodeStatementCollection TrueStatements { get { throw null; } } + } + + public partial class CodeConstructor : CodeMemberMethod + { + public CodeExpressionCollection BaseConstructorArgs { get { throw null; } } + public CodeExpressionCollection ChainedConstructorArgs { get { throw null; } } + } + + public partial class CodeDefaultValueExpression : CodeExpression + { + public CodeDefaultValueExpression() { } + public CodeDefaultValueExpression(CodeTypeReference type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeDelegateCreateExpression : CodeExpression + { + public CodeDelegateCreateExpression() { } + public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { } + public CodeTypeReference DelegateType { get { throw null; } set { } } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDelegateInvokeExpression : CodeExpression + { + public CodeDelegateInvokeExpression() { } + public CodeDelegateInvokeExpression(CodeExpression targetObject, params CodeExpression[] parameters) { } + public CodeDelegateInvokeExpression(CodeExpression targetObject) { } + public CodeExpressionCollection Parameters { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeDirectionExpression : CodeExpression + { + public CodeDirectionExpression() { } + public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) { } + public FieldDirection Direction { get { throw null; } set { } } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeDirective : CodeObject + { + } + + public partial class CodeDirectiveCollection : Collections.CollectionBase + { + public CodeDirectiveCollection() { } + public CodeDirectiveCollection(CodeDirective[] value) { } + public CodeDirectiveCollection(CodeDirectiveCollection value) { } + public CodeDirective this[int index] { get { throw null; } set { } } + + public int Add(CodeDirective value) { throw null; } + public void AddRange(CodeDirective[] value) { } + public void AddRange(CodeDirectiveCollection value) { } + public bool Contains(CodeDirective value) { throw null; } + public void CopyTo(CodeDirective[] array, int index) { } + public int IndexOf(CodeDirective value) { throw null; } + public void Insert(int index, CodeDirective value) { } + public void Remove(CodeDirective value) { } + } + + public partial class CodeEntryPointMethod : CodeMemberMethod + { + } + + public partial class CodeEventReferenceExpression : CodeExpression + { + public CodeEventReferenceExpression() { } + public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) { } + public string EventName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeExpression : CodeObject + { + } + + public partial class CodeExpressionCollection : Collections.CollectionBase + { + public CodeExpressionCollection() { } + public CodeExpressionCollection(CodeExpression[] value) { } + public CodeExpressionCollection(CodeExpressionCollection value) { } + public CodeExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public void AddRange(CodeExpression[] value) { } + public void AddRange(CodeExpressionCollection value) { } + public bool Contains(CodeExpression value) { throw null; } + public void CopyTo(CodeExpression[] array, int index) { } + public int IndexOf(CodeExpression value) { throw null; } + public void Insert(int index, CodeExpression value) { } + public void Remove(CodeExpression value) { } + } + + public partial class CodeExpressionStatement : CodeStatement + { + public CodeExpressionStatement() { } + public CodeExpressionStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeFieldReferenceExpression : CodeExpression + { + public CodeFieldReferenceExpression() { } + public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) { } + public string FieldName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeGotoStatement : CodeStatement + { + public CodeGotoStatement() { } + public CodeGotoStatement(string label) { } + public string Label { get { throw null; } set { } } + } + + public partial class CodeIndexerExpression : CodeExpression + { + public CodeIndexerExpression() { } + public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { } + public CodeExpressionCollection Indices { get { throw null; } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodeIterationStatement : CodeStatement + { + public CodeIterationStatement() { } + public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) { } + public CodeStatement IncrementStatement { get { throw null; } set { } } + public CodeStatement InitStatement { get { throw null; } set { } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeExpression TestExpression { get { throw null; } set { } } + } + + public partial class CodeLabeledStatement : CodeStatement + { + public CodeLabeledStatement() { } + public CodeLabeledStatement(string label, CodeStatement statement) { } + public CodeLabeledStatement(string label) { } + public string Label { get { throw null; } set { } } + public CodeStatement Statement { get { throw null; } set { } } + } + + public partial class CodeLinePragma + { + public CodeLinePragma() { } + public CodeLinePragma(string fileName, int lineNumber) { } + public string FileName { get { throw null; } set { } } + public int LineNumber { get { throw null; } set { } } + } + public partial class CodeMemberEvent : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberField : CodeTypeMember + { + public CodeMemberField() { } + public CodeMemberField(CodeTypeReference type, string name) { } + public CodeMemberField(string type, string name) { } + public CodeMemberField(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMemberMethod : CodeTypeMember + { + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + public CodeAttributeDeclarationCollection ReturnTypeCustomAttributes { get { throw null; } } + public CodeStatementCollection Statements { get { throw null; } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateImplementationTypes { + add { } + remove { } + } + + public event EventHandler PopulateParameters { + add { } + remove { } + } + + public event EventHandler PopulateStatements { + add { } + remove { } + } + } + + public partial class CodeMemberProperty : CodeTypeMember + { + public CodeStatementCollection GetStatements { get { throw null; } } + public bool HasGet { get { throw null; } set { } } + public bool HasSet { get { throw null; } set { } } + public CodeTypeReferenceCollection ImplementationTypes { get { throw null; } } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference PrivateImplementationType { get { throw null; } set { } } + public CodeStatementCollection SetStatements { get { throw null; } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeMethodInvokeExpression : CodeExpression + { + public CodeMethodInvokeExpression() { } + public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters) { } + public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters) { } + public CodeMethodReferenceExpression Method { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeMethodReferenceExpression : CodeExpression + { + public CodeMethodReferenceExpression() { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName, params CodeTypeReference[] typeParameters) { } + public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName) { } + public string MethodName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeMethodReturnStatement : CodeStatement + { + public CodeMethodReturnStatement() { } + public CodeMethodReturnStatement(CodeExpression expression) { } + public CodeExpression Expression { get { throw null; } set { } } + } + + public partial class CodeNamespace : CodeObject + { + public CodeNamespace() { } + public CodeNamespace(string name) { } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeNamespaceImportCollection Imports { get { throw null; } } + public string Name { get { throw null; } set { } } + public CodeTypeDeclarationCollection Types { get { throw null; } } + + public event EventHandler PopulateComments { + add { } + remove { } + } + + public event EventHandler PopulateImports { + add { } + remove { } + } + + public event EventHandler PopulateTypes { + add { } + remove { } + } + } + + public partial class CodeNamespaceCollection : Collections.CollectionBase + { + public CodeNamespaceCollection() { } + public CodeNamespaceCollection(CodeNamespace[] value) { } + public CodeNamespaceCollection(CodeNamespaceCollection value) { } + public CodeNamespace this[int index] { get { throw null; } set { } } + + public int Add(CodeNamespace value) { throw null; } + public void AddRange(CodeNamespace[] value) { } + public void AddRange(CodeNamespaceCollection value) { } + public bool Contains(CodeNamespace value) { throw null; } + public void CopyTo(CodeNamespace[] array, int index) { } + public int IndexOf(CodeNamespace value) { throw null; } + public void Insert(int index, CodeNamespace value) { } + public void Remove(CodeNamespace value) { } + } + + public partial class CodeNamespaceImport : CodeObject + { + public CodeNamespaceImport() { } + public CodeNamespaceImport(string nameSpace) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Namespace { get { throw null; } set { } } + } + + public partial class CodeNamespaceImportCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + + public CodeNamespaceImport this[int index] { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object Collections.IList.this[int index] { get { throw null; } set { } } + + public void Add(CodeNamespaceImport value) { } + public void AddRange(CodeNamespaceImport[] value) { } + public void Clear() { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + int Collections.IList.Add(object value) { throw null; } + void Collections.IList.Clear() { } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + void Collections.IList.RemoveAt(int index) { } + } + + public partial class CodeObject + { + public Collections.IDictionary UserData { get { throw null; } } + } + public partial class CodeObjectCreateExpression : CodeExpression + { + public CodeObjectCreateExpression() { } + public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) { } + public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) { } + public CodeTypeReference CreateType { get { throw null; } set { } } + public CodeExpressionCollection Parameters { get { throw null; } } + } + + public partial class CodeParameterDeclarationExpression : CodeExpression + { + public CodeParameterDeclarationExpression() { } + public CodeParameterDeclarationExpression(CodeTypeReference type, string name) { } + public CodeParameterDeclarationExpression(string type, string name) { } + public CodeParameterDeclarationExpression(Type type, string name) { } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public FieldDirection Direction { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeParameterDeclarationExpressionCollection : Collections.CollectionBase + { + public CodeParameterDeclarationExpressionCollection() { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[] value) { } + public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection value) { } + public CodeParameterDeclarationExpression this[int index] { get { throw null; } set { } } + + public int Add(CodeParameterDeclarationExpression value) { throw null; } + public void AddRange(CodeParameterDeclarationExpression[] value) { } + public void AddRange(CodeParameterDeclarationExpressionCollection value) { } + public bool Contains(CodeParameterDeclarationExpression value) { throw null; } + public void CopyTo(CodeParameterDeclarationExpression[] array, int index) { } + public int IndexOf(CodeParameterDeclarationExpression value) { throw null; } + public void Insert(int index, CodeParameterDeclarationExpression value) { } + public void Remove(CodeParameterDeclarationExpression value) { } + } + + public partial class CodePrimitiveExpression : CodeExpression + { + public CodePrimitiveExpression() { } + public CodePrimitiveExpression(object value) { } + public object Value { get { throw null; } set { } } + } + + public partial class CodePropertyReferenceExpression : CodeExpression + { + public CodePropertyReferenceExpression() { } + public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) { } + public string PropertyName { get { throw null; } set { } } + public CodeExpression TargetObject { get { throw null; } set { } } + } + + public partial class CodePropertySetValueReferenceExpression : CodeExpression + { + } + + public partial class CodeRegionDirective : CodeDirective + { + public CodeRegionDirective() { } + public CodeRegionDirective(CodeRegionMode regionMode, string regionText) { } + public CodeRegionMode RegionMode { get { throw null; } set { } } + public string RegionText { get { throw null; } set { } } + } + + public enum CodeRegionMode + { + None = 0, + Start = 1, + End = 2 + } + + public partial class CodeRemoveEventStatement : CodeStatement + { + public CodeRemoveEventStatement() { } + public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { } + public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { } + public CodeEventReferenceExpression Event { get { throw null; } set { } } + public CodeExpression Listener { get { throw null; } set { } } + } + + public partial class CodeSnippetCompileUnit : CodeCompileUnit + { + public CodeSnippetCompileUnit() { } + public CodeSnippetCompileUnit(string value) { } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetExpression : CodeExpression + { + public CodeSnippetExpression() { } + public CodeSnippetExpression(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetStatement : CodeStatement + { + public CodeSnippetStatement() { } + public CodeSnippetStatement(string value) { } + public string Value { get { throw null; } set { } } + } + + public partial class CodeSnippetTypeMember : CodeTypeMember + { + public CodeSnippetTypeMember() { } + public CodeSnippetTypeMember(string text) { } + public string Text { get { throw null; } set { } } + } + + public partial class CodeStatement : CodeObject + { + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeStatementCollection : Collections.CollectionBase + { + public CodeStatementCollection() { } + public CodeStatementCollection(CodeStatement[] value) { } + public CodeStatementCollection(CodeStatementCollection value) { } + public CodeStatement this[int index] { get { throw null; } set { } } + + public int Add(CodeExpression value) { throw null; } + public int Add(CodeStatement value) { throw null; } + public void AddRange(CodeStatement[] value) { } + public void AddRange(CodeStatementCollection value) { } + public bool Contains(CodeStatement value) { throw null; } + public void CopyTo(CodeStatement[] array, int index) { } + public int IndexOf(CodeStatement value) { throw null; } + public void Insert(int index, CodeStatement value) { } + public void Remove(CodeStatement value) { } + } + + public partial class CodeThisReferenceExpression : CodeExpression + { + } + + public partial class CodeThrowExceptionStatement : CodeStatement + { + public CodeThrowExceptionStatement() { } + public CodeThrowExceptionStatement(CodeExpression toThrow) { } + public CodeExpression ToThrow { get { throw null; } set { } } + } + + public partial class CodeTryCatchFinallyStatement : CodeStatement + { + public CodeTryCatchFinallyStatement() { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses, CodeStatement[] finallyStatements) { } + public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses) { } + public CodeCatchClauseCollection CatchClauses { get { throw null; } } + public CodeStatementCollection FinallyStatements { get { throw null; } } + public CodeStatementCollection TryStatements { get { throw null; } } + } + + public partial class CodeTypeConstructor : CodeMemberMethod + { + } + + public partial class CodeTypeDeclaration : CodeTypeMember + { + public CodeTypeDeclaration() { } + public CodeTypeDeclaration(string name) { } + public CodeTypeReferenceCollection BaseTypes { get { throw null; } } + public bool IsClass { get { throw null; } set { } } + public bool IsEnum { get { throw null; } set { } } + public bool IsInterface { get { throw null; } set { } } + public bool IsPartial { get { throw null; } set { } } + public bool IsStruct { get { throw null; } set { } } + public CodeTypeMemberCollection Members { get { throw null; } } + public Reflection.TypeAttributes TypeAttributes { get { throw null; } set { } } + public CodeTypeParameterCollection TypeParameters { get { throw null; } } + + public event EventHandler PopulateBaseTypes { + add { } + remove { } + } + + public event EventHandler PopulateMembers { + add { } + remove { } + } + } + + public partial class CodeTypeDeclarationCollection : Collections.CollectionBase + { + public CodeTypeDeclarationCollection() { } + public CodeTypeDeclarationCollection(CodeTypeDeclaration[] value) { } + public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) { } + public CodeTypeDeclaration this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeDeclaration value) { throw null; } + public void AddRange(CodeTypeDeclaration[] value) { } + public void AddRange(CodeTypeDeclarationCollection value) { } + public bool Contains(CodeTypeDeclaration value) { throw null; } + public void CopyTo(CodeTypeDeclaration[] array, int index) { } + public int IndexOf(CodeTypeDeclaration value) { throw null; } + public void Insert(int index, CodeTypeDeclaration value) { } + public void Remove(CodeTypeDeclaration value) { } + } + + public partial class CodeTypeDelegate : CodeTypeDeclaration + { + public CodeTypeDelegate() { } + public CodeTypeDelegate(string name) { } + public CodeParameterDeclarationExpressionCollection Parameters { get { throw null; } } + public CodeTypeReference ReturnType { get { throw null; } set { } } + } + + public partial class CodeTypeMember : CodeObject + { + public MemberAttributes Attributes { get { throw null; } set { } } + public CodeCommentStatementCollection Comments { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } set { } } + public CodeDirectiveCollection EndDirectives { get { throw null; } } + public CodeLinePragma LinePragma { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeDirectiveCollection StartDirectives { get { throw null; } } + } + + public partial class CodeTypeMemberCollection : Collections.CollectionBase + { + public CodeTypeMemberCollection() { } + public CodeTypeMemberCollection(CodeTypeMember[] value) { } + public CodeTypeMemberCollection(CodeTypeMemberCollection value) { } + public CodeTypeMember this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeMember value) { throw null; } + public void AddRange(CodeTypeMember[] value) { } + public void AddRange(CodeTypeMemberCollection value) { } + public bool Contains(CodeTypeMember value) { throw null; } + public void CopyTo(CodeTypeMember[] array, int index) { } + public int IndexOf(CodeTypeMember value) { throw null; } + public void Insert(int index, CodeTypeMember value) { } + public void Remove(CodeTypeMember value) { } + } + + public partial class CodeTypeOfExpression : CodeExpression + { + public CodeTypeOfExpression() { } + public CodeTypeOfExpression(CodeTypeReference type) { } + public CodeTypeOfExpression(string type) { } + public CodeTypeOfExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeTypeParameter : CodeObject + { + public CodeTypeParameter() { } + public CodeTypeParameter(string name) { } + public CodeTypeReferenceCollection Constraints { get { throw null; } } + public CodeAttributeDeclarationCollection CustomAttributes { get { throw null; } } + public bool HasConstructorConstraint { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + } + + public partial class CodeTypeParameterCollection : Collections.CollectionBase + { + public CodeTypeParameterCollection() { } + public CodeTypeParameterCollection(CodeTypeParameter[] value) { } + public CodeTypeParameterCollection(CodeTypeParameterCollection value) { } + public CodeTypeParameter this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeParameter value) { throw null; } + public void Add(string value) { } + public void AddRange(CodeTypeParameter[] value) { } + public void AddRange(CodeTypeParameterCollection value) { } + public bool Contains(CodeTypeParameter value) { throw null; } + public void CopyTo(CodeTypeParameter[] array, int index) { } + public int IndexOf(CodeTypeParameter value) { throw null; } + public void Insert(int index, CodeTypeParameter value) { } + public void Remove(CodeTypeParameter value) { } + } + + public partial class CodeTypeReference : CodeObject + { + public CodeTypeReference() { } + public CodeTypeReference(CodeTypeParameter typeParameter) { } + public CodeTypeReference(CodeTypeReference arrayType, int rank) { } + public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) { } + public CodeTypeReference(string? typeName, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(string baseType, int rank) { } + public CodeTypeReference(string? typeName) { } + public CodeTypeReference(Type type, CodeTypeReferenceOptions codeTypeReferenceOption) { } + public CodeTypeReference(Type type) { } + public CodeTypeReference? ArrayElementType { get { throw null; } set { } } + public int ArrayRank { get { throw null; } set { } } + public string BaseType { get { throw null; } set { } } + public CodeTypeReferenceOptions Options { get { throw null; } set { } } + public CodeTypeReferenceCollection TypeArguments { get { throw null; } } + } + + public partial class CodeTypeReferenceCollection : Collections.CollectionBase + { + public CodeTypeReferenceCollection() { } + public CodeTypeReferenceCollection(CodeTypeReference[] value) { } + public CodeTypeReferenceCollection(CodeTypeReferenceCollection value) { } + public CodeTypeReference this[int index] { get { throw null; } set { } } + + public int Add(CodeTypeReference value) { throw null; } + public void Add(string value) { } + public void Add(Type value) { } + public void AddRange(CodeTypeReference[] value) { } + public void AddRange(CodeTypeReferenceCollection value) { } + public bool Contains(CodeTypeReference value) { throw null; } + public void CopyTo(CodeTypeReference[] array, int index) { } + public int IndexOf(CodeTypeReference value) { throw null; } + public void Insert(int index, CodeTypeReference value) { } + public void Remove(CodeTypeReference value) { } + } + + public partial class CodeTypeReferenceExpression : CodeExpression + { + public CodeTypeReferenceExpression() { } + public CodeTypeReferenceExpression(CodeTypeReference type) { } + public CodeTypeReferenceExpression(string type) { } + public CodeTypeReferenceExpression(Type type) { } + public CodeTypeReference Type { get { throw null; } set { } } + } + + [Flags] + public enum CodeTypeReferenceOptions + { + GlobalReference = 1, + GenericTypeParameter = 2 + } + + public partial class CodeVariableDeclarationStatement : CodeStatement + { + public CodeVariableDeclarationStatement() { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(CodeTypeReference type, string name) { } + public CodeVariableDeclarationStatement(string type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(string type, string name) { } + public CodeVariableDeclarationStatement(Type type, string name, CodeExpression initExpression) { } + public CodeVariableDeclarationStatement(Type type, string name) { } + public CodeExpression InitExpression { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + public CodeTypeReference Type { get { throw null; } set { } } + } + + public partial class CodeVariableReferenceExpression : CodeExpression + { + public CodeVariableReferenceExpression() { } + public CodeVariableReferenceExpression(string variableName) { } + public string VariableName { get { throw null; } set { } } + } + + public enum FieldDirection + { + In = 0, + Out = 1, + Ref = 2 + } + + public enum MemberAttributes + { + Abstract = 1, + Final = 2, + Static = 3, + Override = 4, + Const = 5, + ScopeMask = 15, + New = 16, + VTableMask = 240, + Overloaded = 256, + Assembly = 4096, + FamilyAndAssembly = 8192, + Family = 12288, + FamilyOrAssembly = 16384, + Private = 20480, + Public = 24576, + AccessMask = 61440 + } +} + +namespace System.CodeDom.Compiler +{ + public abstract partial class CodeCompiler : CodeGenerator, ICodeCompiler + { + protected abstract string CompilerName { get; } + protected abstract string FileExtension { get; } + + protected abstract string CmdArgsFromParameters(CompilerParameters options); + protected virtual CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + protected virtual CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + protected virtual CompilerResults FromFile(CompilerParameters options, string fileName) { throw null; } + protected virtual CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + protected virtual CompilerResults FromSource(CompilerParameters options, string source) { throw null; } + protected virtual CompilerResults FromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + protected virtual string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs) { throw null; } + protected static string JoinStringArray(string[] sa, string separator) { throw null; } + protected abstract void ProcessCompilerOutputLine(CompilerResults results, string line); + CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) { throw null; } + CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) { throw null; } + } + + [ComponentModel.ToolboxItem(false)] + public abstract partial class CodeDomProvider : ComponentModel.Component + { + public virtual string FileExtension { get { throw null; } } + public virtual LanguageOptions LanguageOptions { get { throw null; } } + + public virtual CompilerResults CompileAssemblyFromDom(CompilerParameters options, params CodeCompileUnit[] compilationUnits) { throw null; } + public virtual CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) { throw null; } + public virtual CompilerResults CompileAssemblyFromSource(CompilerParameters options, params string[] sources) { throw null; } + [Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeCompiler CreateCompiler(); + public virtual string CreateEscapedIdentifier(string value) { throw null; } + [Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public abstract ICodeGenerator CreateGenerator(); + public virtual ICodeGenerator CreateGenerator(IO.TextWriter output) { throw null; } + public virtual ICodeGenerator CreateGenerator(string fileName) { throw null; } + [Obsolete("ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")] + public virtual ICodeParser CreateParser() { throw null; } + public static CodeDomProvider CreateProvider(string language, Collections.Generic.IDictionary providerOptions) { throw null; } + public static CodeDomProvider CreateProvider(string language) { throw null; } + public virtual string CreateValidIdentifier(string value) { throw null; } + public virtual void GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromExpression(CodeExpression expression, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromNamespace(CodeNamespace codeNamespace, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromStatement(CodeStatement statement, IO.TextWriter writer, CodeGeneratorOptions options) { } + public virtual void GenerateCodeFromType(CodeTypeDeclaration codeType, IO.TextWriter writer, CodeGeneratorOptions options) { } + public static CompilerInfo[] GetAllCompilerInfo() { throw null; } + public static CompilerInfo GetCompilerInfo(string language) { throw null; } + public virtual ComponentModel.TypeConverter GetConverter(Type type) { throw null; } + public static string GetLanguageFromExtension(string extension) { throw null; } + public virtual string GetTypeOutput(CodeTypeReference type) { throw null; } + public static bool IsDefinedExtension(string extension) { throw null; } + public static bool IsDefinedLanguage(string language) { throw null; } + public virtual bool IsValidIdentifier(string value) { throw null; } + public virtual CodeCompileUnit Parse(IO.TextReader codeStream) { throw null; } + public virtual bool Supports(GeneratorSupport generatorSupport) { throw null; } + } + + public abstract partial class CodeGenerator : ICodeGenerator + { + protected CodeTypeDeclaration CurrentClass { get { throw null; } } + protected CodeTypeMember CurrentMember { get { throw null; } } + protected string CurrentMemberName { get { throw null; } } + protected string CurrentTypeName { get { throw null; } } + protected int Indent { get { throw null; } set { } } + protected bool IsCurrentClass { get { throw null; } } + protected bool IsCurrentDelegate { get { throw null; } } + protected bool IsCurrentEnum { get { throw null; } } + protected bool IsCurrentInterface { get { throw null; } } + protected bool IsCurrentStruct { get { throw null; } } + protected abstract string NullToken { get; } + protected CodeGeneratorOptions Options { get { throw null; } } + protected IO.TextWriter Output { get { throw null; } } + + protected virtual void ContinueOnNewLine(string st) { } + protected abstract string CreateEscapedIdentifier(string value); + protected abstract string CreateValidIdentifier(string value); + protected abstract void GenerateArgumentReferenceExpression(CodeArgumentReferenceExpression e); + protected abstract void GenerateArrayCreateExpression(CodeArrayCreateExpression e); + protected abstract void GenerateArrayIndexerExpression(CodeArrayIndexerExpression e); + protected abstract void GenerateAssignStatement(CodeAssignStatement e); + protected abstract void GenerateAttachEventStatement(CodeAttachEventStatement e); + protected abstract void GenerateAttributeDeclarationsEnd(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateAttributeDeclarationsStart(CodeAttributeDeclarationCollection attributes); + protected abstract void GenerateBaseReferenceExpression(CodeBaseReferenceExpression e); + protected virtual void GenerateBinaryOperatorExpression(CodeBinaryOperatorExpression e) { } + protected abstract void GenerateCastExpression(CodeCastExpression e); + public virtual void GenerateCodeFromMember(CodeTypeMember member, IO.TextWriter writer, CodeGeneratorOptions options) { } + protected abstract void GenerateComment(CodeComment e); + protected virtual void GenerateCommentStatement(CodeCommentStatement e) { } + protected virtual void GenerateCommentStatements(CodeCommentStatementCollection e) { } + protected virtual void GenerateCompileUnit(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitEnd(CodeCompileUnit e) { } + protected virtual void GenerateCompileUnitStart(CodeCompileUnit e) { } + protected abstract void GenerateConditionStatement(CodeConditionStatement e); + protected abstract void GenerateConstructor(CodeConstructor e, CodeTypeDeclaration c); + protected virtual void GenerateDecimalValue(decimal d) { } + protected virtual void GenerateDefaultValueExpression(CodeDefaultValueExpression e) { } + protected abstract void GenerateDelegateCreateExpression(CodeDelegateCreateExpression e); + protected abstract void GenerateDelegateInvokeExpression(CodeDelegateInvokeExpression e); + protected virtual void GenerateDirectionExpression(CodeDirectionExpression e) { } + protected virtual void GenerateDirectives(CodeDirectiveCollection directives) { } + protected virtual void GenerateDoubleValue(double d) { } + protected abstract void GenerateEntryPointMethod(CodeEntryPointMethod e, CodeTypeDeclaration c); + protected abstract void GenerateEvent(CodeMemberEvent e, CodeTypeDeclaration c); + protected abstract void GenerateEventReferenceExpression(CodeEventReferenceExpression e); + protected void GenerateExpression(CodeExpression e) { } + protected abstract void GenerateExpressionStatement(CodeExpressionStatement e); + protected abstract void GenerateField(CodeMemberField e); + protected abstract void GenerateFieldReferenceExpression(CodeFieldReferenceExpression e); + protected abstract void GenerateGotoStatement(CodeGotoStatement e); + protected abstract void GenerateIndexerExpression(CodeIndexerExpression e); + protected abstract void GenerateIterationStatement(CodeIterationStatement e); + protected abstract void GenerateLabeledStatement(CodeLabeledStatement e); + protected abstract void GenerateLinePragmaEnd(CodeLinePragma e); + protected abstract void GenerateLinePragmaStart(CodeLinePragma e); + protected abstract void GenerateMethod(CodeMemberMethod e, CodeTypeDeclaration c); + protected abstract void GenerateMethodInvokeExpression(CodeMethodInvokeExpression e); + protected abstract void GenerateMethodReferenceExpression(CodeMethodReferenceExpression e); + protected abstract void GenerateMethodReturnStatement(CodeMethodReturnStatement e); + protected virtual void GenerateNamespace(CodeNamespace e) { } + protected abstract void GenerateNamespaceEnd(CodeNamespace e); + protected abstract void GenerateNamespaceImport(CodeNamespaceImport e); + protected void GenerateNamespaceImports(CodeNamespace e) { } + protected void GenerateNamespaces(CodeCompileUnit e) { } + protected abstract void GenerateNamespaceStart(CodeNamespace e); + protected abstract void GenerateObjectCreateExpression(CodeObjectCreateExpression e); + protected virtual void GenerateParameterDeclarationExpression(CodeParameterDeclarationExpression e) { } + protected virtual void GeneratePrimitiveExpression(CodePrimitiveExpression e) { } + protected abstract void GenerateProperty(CodeMemberProperty e, CodeTypeDeclaration c); + protected abstract void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e); + protected abstract void GeneratePropertySetValueReferenceExpression(CodePropertySetValueReferenceExpression e); + protected abstract void GenerateRemoveEventStatement(CodeRemoveEventStatement e); + protected virtual void GenerateSingleFloatValue(float s) { } + protected virtual void GenerateSnippetCompileUnit(CodeSnippetCompileUnit e) { } + protected abstract void GenerateSnippetExpression(CodeSnippetExpression e); + protected abstract void GenerateSnippetMember(CodeSnippetTypeMember e); + protected virtual void GenerateSnippetStatement(CodeSnippetStatement e) { } + protected void GenerateStatement(CodeStatement e) { } + protected void GenerateStatements(CodeStatementCollection stmts) { } + protected abstract void GenerateThisReferenceExpression(CodeThisReferenceExpression e); + protected abstract void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e); + protected abstract void GenerateTryCatchFinallyStatement(CodeTryCatchFinallyStatement e); + protected abstract void GenerateTypeConstructor(CodeTypeConstructor e); + protected abstract void GenerateTypeEnd(CodeTypeDeclaration e); + protected virtual void GenerateTypeOfExpression(CodeTypeOfExpression e) { } + protected virtual void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) { } + protected void GenerateTypes(CodeNamespace e) { } + protected abstract void GenerateTypeStart(CodeTypeDeclaration e); + protected abstract void GenerateVariableDeclarationStatement(CodeVariableDeclarationStatement e); + protected abstract void GenerateVariableReferenceExpression(CodeVariableReferenceExpression e); + protected abstract string GetTypeOutput(CodeTypeReference value); + protected abstract bool IsValidIdentifier(string value); + public static bool IsValidLanguageIndependentIdentifier(string value) { throw null; } + protected virtual void OutputAttributeArgument(CodeAttributeArgument arg) { } + protected virtual void OutputAttributeDeclarations(CodeAttributeDeclarationCollection attributes) { } + protected virtual void OutputDirection(FieldDirection dir) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions, bool newlineBetweenItems) { } + protected virtual void OutputExpressionList(CodeExpressionCollection expressions) { } + protected virtual void OutputFieldScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputIdentifier(string ident) { } + protected virtual void OutputMemberAccessModifier(MemberAttributes attributes) { } + protected virtual void OutputMemberScopeModifier(MemberAttributes attributes) { } + protected virtual void OutputOperator(CodeBinaryOperatorType op) { } + protected virtual void OutputParameters(CodeParameterDeclarationExpressionCollection parameters) { } + protected abstract void OutputType(CodeTypeReference typeRef); + protected virtual void OutputTypeAttributes(Reflection.TypeAttributes attributes, bool isStruct, bool isEnum) { } + protected virtual void OutputTypeNamePair(CodeTypeReference typeRef, string name) { } + protected abstract string QuoteSnippetString(string value); + protected abstract bool Supports(GeneratorSupport support); + string ICodeGenerator.CreateEscapedIdentifier(string value) { throw null; } + string ICodeGenerator.CreateValidIdentifier(string value) { throw null; } + void ICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o) { } + void ICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o) { } + string ICodeGenerator.GetTypeOutput(CodeTypeReference type) { throw null; } + bool ICodeGenerator.IsValidIdentifier(string value) { throw null; } + bool ICodeGenerator.Supports(GeneratorSupport support) { throw null; } + void ICodeGenerator.ValidateIdentifier(string value) { } + protected virtual void ValidateIdentifier(string value) { } + public static void ValidateIdentifiers(CodeObject e) { } + } + + public partial class CodeGeneratorOptions + { + public bool BlankLinesBetweenMembers { get { throw null; } set { } } + public string BracingStyle { get { throw null; } set { } } + public bool ElseOnClosing { get { throw null; } set { } } + public string IndentString { get { throw null; } set { } } + + public object this[string index] { get { throw null; } set { } } + + public bool VerbatimOrder { get { throw null; } set { } } + } + public abstract partial class CodeParser : ICodeParser + { + public abstract CodeCompileUnit Parse(IO.TextReader codeStream); + } + + public partial class CompilerError + { + public CompilerError() { } + public CompilerError(string fileName, int line, int column, string errorNumber, string errorText) { } + public int Column { get { throw null; } set { } } + public string ErrorNumber { get { throw null; } set { } } + public string ErrorText { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public bool IsWarning { get { throw null; } set { } } + public int Line { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + public partial class CompilerErrorCollection : Collections.CollectionBase + { + public CompilerErrorCollection() { } + public CompilerErrorCollection(CompilerError[] value) { } + public CompilerErrorCollection(CompilerErrorCollection value) { } + public bool HasErrors { get { throw null; } } + public bool HasWarnings { get { throw null; } } + + public CompilerError this[int index] { get { throw null; } set { } } + + public int Add(CompilerError value) { throw null; } + public void AddRange(CompilerError[] value) { } + public void AddRange(CompilerErrorCollection value) { } + public bool Contains(CompilerError value) { throw null; } + public void CopyTo(CompilerError[] array, int index) { } + public int IndexOf(CompilerError value) { throw null; } + public void Insert(int index, CompilerError value) { } + public void Remove(CompilerError value) { } + } + + public sealed partial class CompilerInfo + { + internal CompilerInfo() { } + public Type CodeDomProviderType { get { throw null; } } + public bool IsCodeDomProviderTypeValid { get { throw null; } } + + public CompilerParameters CreateDefaultCompilerParameters() { throw null; } + public CodeDomProvider CreateProvider() { throw null; } + public CodeDomProvider CreateProvider(Collections.Generic.IDictionary providerOptions) { throw null; } + public override bool Equals(object o) { throw null; } + public string[] GetExtensions() { throw null; } + public override int GetHashCode() { throw null; } + public string[] GetLanguages() { throw null; } + } + public partial class CompilerParameters + { + public CompilerParameters() { } + public CompilerParameters(string[] assemblyNames, string outputName, bool includeDebugInformation) { } + public CompilerParameters(string[] assemblyNames, string outputName) { } + public CompilerParameters(string[] assemblyNames) { } + public string CompilerOptions { get { throw null; } set { } } + public string CoreAssemblyFileName { get { throw null; } set { } } + public Collections.Specialized.StringCollection EmbeddedResources { get { throw null; } } + public bool GenerateExecutable { get { throw null; } set { } } + public bool GenerateInMemory { get { throw null; } set { } } + public bool IncludeDebugInformation { get { throw null; } set { } } + public Collections.Specialized.StringCollection LinkedResources { get { throw null; } } + public string MainClass { get { throw null; } set { } } + public string OutputAssembly { get { throw null; } set { } } + public Collections.Specialized.StringCollection ReferencedAssemblies { get { throw null; } } + public TempFileCollection TempFiles { get { throw null; } set { } } + public bool TreatWarningsAsErrors { get { throw null; } set { } } + public IntPtr UserToken { get { throw null; } set { } } + public int WarningLevel { get { throw null; } set { } } + public string Win32Resource { get { throw null; } set { } } + } + public partial class CompilerResults + { + public CompilerResults(TempFileCollection tempFiles) { } + public Reflection.Assembly CompiledAssembly { get { throw null; } set { } } + public CompilerErrorCollection Errors { get { throw null; } } + public int NativeCompilerReturnValue { get { throw null; } set { } } + public Collections.Specialized.StringCollection Output { get { throw null; } } + public string PathToAssembly { get { throw null; } set { } } + public TempFileCollection TempFiles { get { throw null; } set { } } + } + public static partial class Executor + { + public static void ExecWait(string cmd, TempFileCollection tempFiles) { } + public static int ExecWaitWithCapture(IntPtr userToken, string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + public static int ExecWaitWithCapture(string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName) { throw null; } + } + [Flags] + public enum GeneratorSupport + { + ArraysOfArrays = 1, + EntryPointMethod = 2, + GotoStatements = 4, + MultidimensionalArrays = 8, + StaticConstructors = 16, + TryCatchStatements = 32, + ReturnTypeAttributes = 64, + DeclareValueTypes = 128, + DeclareEnums = 256, + DeclareDelegates = 512, + DeclareInterfaces = 1024, + DeclareEvents = 2048, + AssemblyAttributes = 4096, + ParameterAttributes = 8192, + ReferenceParameters = 16384, + ChainedConstructorArguments = 32768, + NestedTypes = 65536, + MultipleInterfaceMembers = 131072, + PublicStaticMembers = 262144, + ComplexExpressions = 524288, + Win32Resources = 1048576, + Resources = 2097152, + PartialTypes = 4194304, + GenericTypeReference = 8388608, + GenericTypeDeclaration = 16777216, + DeclareIndexerProperties = 33554432 + } + + public partial interface ICodeCompiler + { + CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit compilationUnit); + CompilerResults CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] compilationUnits); + CompilerResults CompileAssemblyFromFile(CompilerParameters options, string fileName); + CompilerResults CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames); + CompilerResults CompileAssemblyFromSource(CompilerParameters options, string source); + CompilerResults CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources); + } + + public partial interface ICodeGenerator + { + string CreateEscapedIdentifier(string value); + string CreateValidIdentifier(string value); + void GenerateCodeFromCompileUnit(CodeCompileUnit e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromExpression(CodeExpression e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromNamespace(CodeNamespace e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromStatement(CodeStatement e, IO.TextWriter w, CodeGeneratorOptions o); + void GenerateCodeFromType(CodeTypeDeclaration e, IO.TextWriter w, CodeGeneratorOptions o); + string GetTypeOutput(CodeTypeReference type); + bool IsValidIdentifier(string value); + bool Supports(GeneratorSupport supports); + void ValidateIdentifier(string value); + } + + public partial interface ICodeParser + { + CodeCompileUnit Parse(IO.TextReader codeStream); + } + + [Flags] + public enum LanguageOptions + { + None = 0, + CaseInsensitive = 1 + } + + public partial class TempFileCollection : Collections.ICollection, Collections.IEnumerable, IDisposable + { + public TempFileCollection() { } + public TempFileCollection(string tempDir, bool keepFiles) { } + public TempFileCollection(string tempDir) { } + public string BasePath { get { throw null; } } + public int Count { get { throw null; } } + public bool KeepFiles { get { throw null; } set { } } + + int Collections.ICollection.Count { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + public string TempDir { get { throw null; } } + + public string AddExtension(string fileExtension, bool keepFile) { throw null; } + public string AddExtension(string fileExtension) { throw null; } + public void AddFile(string fileName, bool keepFile) { } + public void CopyTo(string[] fileNames, int start) { } + public void Delete() { } + protected virtual void Dispose(bool disposing) { } + ~TempFileCollection() { + } + + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int start) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.codedom/9.0.0/system.codedom.nuspec b/src/referencePackages/src/system.codedom/9.0.0/system.codedom.nuspec new file mode 100644 index 0000000000..7c6596aafe --- /dev/null +++ b/src/referencePackages/src/system.codedom/9.0.0/system.codedom.nuspec @@ -0,0 +1,21 @@ + + + + System.CodeDom + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types that can be used to model the structure of a source code document and to output source code for that model in C# or Visual Basic. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/Customizations.cs b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/Customizations.cs new file mode 100644 index 0000000000..87419b7023 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/Customizations.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual addition to address missing System.Security.PermissionSet type in netstandard2.0 +// This type is used by IInternalConfigHost interface but not available in netstandard2.0 +#if NETSTANDARD2_0 +namespace System.Security +{ + // Stub type to allow compilation - this is just a reference assembly + public partial class PermissionSet + { + } +} +#endif diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/System.Configuration.ConfigurationManager.9.0.0.csproj b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/System.Configuration.ConfigurationManager.9.0.0.csproj new file mode 100644 index 0000000000..30d8e5f323 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/System.Configuration.ConfigurationManager.9.0.0.csproj @@ -0,0 +1,24 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Configuration.ConfigurationManager + Open + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net8.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net8.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..eba5a61a8f --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net8.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,1807 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Configuration.ConfigurationManager")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using XML configuration files (app.config). This package exists only to support migrating existing .NET Framework code that already uses System.Configuration. When writing new code, use another configuration system instead, such as Microsoft.Extensions.Configuration.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public enum UriIdnScope + { + None = 0, + AllExceptIntranet = 1, + All = 2 + } +} + +namespace System.Configuration +{ + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ApplicationScopedSettingAttribute : SettingAttribute + { + } + + public abstract partial class ApplicationSettingsBase : SettingsBase, ComponentModel.INotifyPropertyChanged + { + protected ApplicationSettingsBase() { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner, string settingsKey) { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner) { } + protected ApplicationSettingsBase(string settingsKey) { } + [ComponentModel.Browsable(false)] + public override SettingsContext Context { get { throw null; } } + + public override object this[string propertyName] { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyCollection Properties { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyValueCollection PropertyValues { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsProviderCollection Providers { get { throw null; } } + + [ComponentModel.Browsable(false)] + public string SettingsKey { get { throw null; } set { } } + + public event ComponentModel.PropertyChangedEventHandler PropertyChanged { + add { } + remove { } + } + + public event SettingChangingEventHandler SettingChanging { + add { } + remove { } + } + + public event SettingsLoadedEventHandler SettingsLoaded { + add { } + remove { } + } + + public event SettingsSavingEventHandler SettingsSaving { + add { } + remove { } + } + + public object GetPreviousVersion(string propertyName) { throw null; } + protected virtual void OnPropertyChanged(object sender, ComponentModel.PropertyChangedEventArgs e) { } + protected virtual void OnSettingChanging(object sender, SettingChangingEventArgs e) { } + protected virtual void OnSettingsLoaded(object sender, SettingsLoadedEventArgs e) { } + protected virtual void OnSettingsSaving(object sender, ComponentModel.CancelEventArgs e) { } + public void Reload() { } + public void Reset() { } + public override void Save() { } + public virtual void Upgrade() { } + } + + public sealed partial class ApplicationSettingsGroup : ConfigurationSectionGroup + { + } + + public partial class AppSettingsReader + { + public object GetValue(string key, Type type) { throw null; } + } + public sealed partial class AppSettingsSection : ConfigurationSection + { + public string File { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public KeyValueConfigurationCollection Settings { get { throw null; } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + protected internal override object GetRuntimeObject() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + } + + public sealed partial class CallbackValidator : ConfigurationValidatorBase + { + public CallbackValidator(Type type, ValidatorCallback callback) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class CallbackValidatorAttribute : ConfigurationValidatorAttribute + { + public string CallbackMethodName { get { throw null; } set { } } + public Type Type { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class ClientSettingsSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingElementCollection Settings { get { throw null; } } + } + + public sealed partial class CommaDelimitedStringCollection : Collections.Specialized.StringCollection + { + public bool IsModified { get { throw null; } } + public new bool IsReadOnly { get { throw null; } } + + public new string this[int index] { get { throw null; } set { } } + + public new void Add(string value) { } + public new void AddRange(string[] range) { } + public new void Clear() { } + public CommaDelimitedStringCollection Clone() { throw null; } + public new void Insert(int index, string value) { } + public new void Remove(string value) { } + public void SetReadOnly() { } + public override string ToString() { throw null; } + } + + public sealed partial class CommaDelimitedStringCollectionConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class Configuration + { + internal Configuration() { } + public AppSettingsSection AppSettings { get { throw null; } } + public Func AssemblyStringTransformer { get { throw null; } set { } } + public ConnectionStringsSection ConnectionStrings { get { throw null; } } + public ContextInformation EvaluationContext { get { throw null; } } + public string FilePath { get { throw null; } } + public bool HasFile { get { throw null; } } + public ConfigurationLocationCollection Locations { get { throw null; } } + public bool NamespaceDeclared { get { throw null; } set { } } + public ConfigurationSectionGroup RootSectionGroup { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public Runtime.Versioning.FrameworkName TargetFramework { get { throw null; } set { } } + public Func TypeStringTransformer { get { throw null; } set { } } + + public ConfigurationSection GetSection(string sectionName) { throw null; } + public ConfigurationSectionGroup GetSectionGroup(string sectionGroupName) { throw null; } + public void Save() { } + public void Save(ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void Save(ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename) { } + } + public enum ConfigurationAllowDefinition + { + MachineOnly = 0, + MachineToWebRoot = 100, + MachineToApplication = 200, + Everywhere = 300 + } + + public enum ConfigurationAllowExeDefinition + { + MachineOnly = 0, + MachineToApplication = 100, + MachineToRoamingUser = 200, + MachineToLocalUser = 300 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class ConfigurationCollectionAttribute : Attribute + { + public ConfigurationCollectionAttribute(Type itemType) { } + public string AddItemName { get { throw null; } set { } } + public string ClearItemsName { get { throw null; } set { } } + public ConfigurationElementCollectionType CollectionType { get { throw null; } set { } } + public Type ItemType { get { throw null; } } + public string RemoveItemName { get { throw null; } set { } } + } + + public abstract partial class ConfigurationConverterBase : ComponentModel.TypeConverter + { + public override bool CanConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + public override bool CanConvertTo(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + } + + public abstract partial class ConfigurationElement + { + public Configuration CurrentConfiguration { get { throw null; } } + public ElementInformation ElementInformation { get { throw null; } } + protected internal virtual ConfigurationElementProperty ElementProperty { get { throw null; } } + protected ContextInformation EvaluationContext { get { throw null; } } + protected bool HasContext { get { throw null; } } + + protected internal object this[ConfigurationProperty prop] { get { throw null; } set { } } + + protected internal object this[string propertyName] { get { throw null; } set { } } + + public ConfigurationLockCollection LockAllAttributesExcept { get { throw null; } } + public ConfigurationLockCollection LockAllElementsExcept { get { throw null; } } + public ConfigurationLockCollection LockAttributes { get { throw null; } } + public ConfigurationLockCollection LockElements { get { throw null; } } + public bool LockItem { get { throw null; } set { } } + protected internal virtual ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal virtual void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object compareTo) { throw null; } + public override int GetHashCode() { throw null; } + protected virtual string GetTransformedAssemblyString(string assemblyName) { throw null; } + protected virtual string GetTransformedTypeString(string typeName) { throw null; } + protected internal virtual void Init() { } + protected internal virtual void InitializeDefault() { } + protected internal virtual bool IsModified() { throw null; } + public virtual bool IsReadOnly() { throw null; } + protected virtual void ListErrors(Collections.IList errorList) { } + protected virtual bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected virtual bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected virtual object OnRequiredPropertyNotFound(string name) { throw null; } + protected virtual void PostDeserialize() { } + protected virtual void PreSerialize(Xml.XmlWriter writer) { } + protected internal virtual void Reset(ConfigurationElement parentElement) { } + protected internal virtual void ResetModified() { } + protected internal virtual bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal virtual bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected void SetPropertyValue(ConfigurationProperty prop, object value, bool ignoreLocks) { } + protected internal virtual void SetReadOnly() { } + protected internal virtual void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + public abstract partial class ConfigurationElementCollection : ConfigurationElement, Collections.ICollection, Collections.IEnumerable + { + protected ConfigurationElementCollection() { } + protected ConfigurationElementCollection(Collections.IComparer comparer) { } + protected internal string AddElementName { get { throw null; } set { } } + protected internal string ClearElementName { get { throw null; } set { } } + public virtual ConfigurationElementCollectionType CollectionType { get { throw null; } } + public int Count { get { throw null; } } + protected virtual string ElementName { get { throw null; } } + public bool EmitClear { get { throw null; } set { } } + public bool IsSynchronized { get { throw null; } } + protected internal string RemoveElementName { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + protected virtual bool ThrowOnDuplicate { get { throw null; } } + + protected internal void BaseAdd(ConfigurationElement element, bool throwIfExists) { } + protected virtual void BaseAdd(ConfigurationElement element) { } + protected virtual void BaseAdd(int index, ConfigurationElement element) { } + protected internal void BaseClear() { } + protected internal ConfigurationElement BaseGet(int index) { throw null; } + protected internal ConfigurationElement BaseGet(object key) { throw null; } + protected internal object[] BaseGetAllKeys() { throw null; } + protected internal object BaseGetKey(int index) { throw null; } + protected int BaseIndexOf(ConfigurationElement element) { throw null; } + protected internal bool BaseIsRemoved(object key) { throw null; } + protected internal void BaseRemove(object key) { } + protected internal void BaseRemoveAt(int index) { } + public void CopyTo(ConfigurationElement[] array, int index) { } + protected abstract ConfigurationElement CreateNewElement(); + protected virtual ConfigurationElement CreateNewElement(string elementName) { throw null; } + public override bool Equals(object compareTo) { throw null; } + protected abstract object GetElementKey(ConfigurationElement element); + public Collections.IEnumerator GetEnumerator() { throw null; } + public override int GetHashCode() { throw null; } + protected virtual bool IsElementName(string elementName) { throw null; } + protected virtual bool IsElementRemovable(ConfigurationElement element) { throw null; } + protected internal override bool IsModified() { throw null; } + public override bool IsReadOnly() { throw null; } + protected override bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal override void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array arr, int index) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public enum ConfigurationElementCollectionType + { + BasicMap = 0, + AddRemoveClearMap = 1, + BasicMapAlternate = 2, + AddRemoveClearMapAlternate = 3 + } + + public sealed partial class ConfigurationElementProperty + { + public ConfigurationElementProperty(ConfigurationValidatorBase validator) { } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public partial class ConfigurationErrorsException : ConfigurationException + { + public ConfigurationErrorsException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ConfigurationErrorsException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ConfigurationErrorsException(string message, Exception inner, string filename, int line) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message, Exception inner) { } + public ConfigurationErrorsException(string message, string filename, int line) { } + public ConfigurationErrorsException(string message, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message) { } + public Collections.ICollection Errors { get { throw null; } } + public override string Filename { get { throw null; } } + public override int Line { get { throw null; } } + public override string Message { get { throw null; } } + + public static string GetFilename(Xml.XmlNode node) { throw null; } + public static string GetFilename(Xml.XmlReader reader) { throw null; } + public static int GetLineNumber(Xml.XmlNode node) { throw null; } + public static int GetLineNumber(Xml.XmlReader reader) { throw null; } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class ConfigurationException : SystemException + { + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ConfigurationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner, string filename, int line) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner, Xml.XmlNode node) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, string filename, int line) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Xml.XmlNode node) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message) { } + public virtual string BareMessage { get { throw null; } } + public virtual string Filename { get { throw null; } } + public virtual int Line { get { throw null; } } + public override string Message { get { throw null; } } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetFilename instead.")] + public static string GetXmlNodeFilename(Xml.XmlNode node) { throw null; } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetLinenumber instead.")] + public static int GetXmlNodeLineNumber(Xml.XmlNode node) { throw null; } + } + + public partial class ConfigurationFileMap : ICloneable + { + public ConfigurationFileMap() { } + public ConfigurationFileMap(string machineConfigFilename) { } + public string MachineConfigFilename { get { throw null; } set { } } + + public virtual object Clone() { throw null; } + } + + public partial class ConfigurationLocation + { + internal ConfigurationLocation() { } + public string Path { get { throw null; } } + + public Configuration OpenConfiguration() { throw null; } + } + public partial class ConfigurationLocationCollection : Collections.ReadOnlyCollectionBase + { + internal ConfigurationLocationCollection() { } + public ConfigurationLocation this[int index] { get { throw null; } } + } + + public sealed partial class ConfigurationLockCollection : Collections.ICollection, Collections.IEnumerable + { + internal ConfigurationLockCollection() { } + public string AttributeList { get { throw null; } } + public int Count { get { throw null; } } + public bool HasParentElements { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public object SyncRoot { get { throw null; } } + + public void Add(string name) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(string[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool IsReadOnly(string name) { throw null; } + public void Remove(string name) { } + public void SetFromList(string attributeList) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public static partial class ConfigurationManager + { + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + public static ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + + public static object GetSection(string sectionName) { throw null; } + public static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenExeConfiguration(string exePath) { throw null; } + public static Configuration OpenMachineConfiguration() { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel, bool preLoad) { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenMappedMachineConfiguration(ConfigurationFileMap fileMap) { throw null; } + public static void RefreshSection(string sectionName) { } + } + public sealed partial class ConfigurationProperty + { + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue) { } + public ConfigurationProperty(string name, Type type) { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsAssemblyStringTransformationRequired { get { throw null; } } + public bool IsDefaultCollection { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsRequired { get { throw null; } } + public bool IsTypeStringTransformationRequired { get { throw null; } } + public bool IsVersionCheckRequired { get { throw null; } } + public string Name { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ConfigurationPropertyAttribute : Attribute + { + public ConfigurationPropertyAttribute(string name) { } + public object DefaultValue { get { throw null; } set { } } + public bool IsDefaultCollection { get { throw null; } set { } } + public bool IsKey { get { throw null; } set { } } + public bool IsRequired { get { throw null; } set { } } + public string Name { get { throw null; } } + public ConfigurationPropertyOptions Options { get { throw null; } set { } } + } + + public partial class ConfigurationPropertyCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ConfigurationProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(ConfigurationProperty property) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(ConfigurationProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool Remove(string name) { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + [Flags] + public enum ConfigurationPropertyOptions + { + None = 0, + IsDefaultCollection = 1, + IsRequired = 2, + IsKey = 4, + IsTypeStringTransformationRequired = 8, + IsAssemblyStringTransformationRequired = 16, + IsVersionCheckRequired = 32 + } + + public enum ConfigurationSaveMode + { + Modified = 0, + Minimal = 1, + Full = 2 + } + + public abstract partial class ConfigurationSection : ConfigurationElement + { + public SectionInformation SectionInformation { get { throw null; } } + + protected internal virtual void DeserializeSection(Xml.XmlReader reader) { } + protected internal virtual object GetRuntimeObject() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void ResetModified() { } + protected internal virtual string SerializeSection(ConfigurationElement parentElement, string name, ConfigurationSaveMode saveMode) { throw null; } + protected internal virtual bool ShouldSerializeElementInTargetVersion(ConfigurationElement element, string elementName, Runtime.Versioning.FrameworkName targetFramework) { throw null; } + protected internal virtual bool ShouldSerializePropertyInTargetVersion(ConfigurationProperty property, string propertyName, Runtime.Versioning.FrameworkName targetFramework, ConfigurationElement parentConfigurationElement) { throw null; } + protected internal virtual bool ShouldSerializeSectionInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + + public sealed partial class ConfigurationSectionCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionCollection() { } + public ConfigurationSection this[int index] { get { throw null; } } + + public ConfigurationSection this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSection section) { } + public void Clear() { } + public void CopyTo(ConfigurationSection[] array, int index) { } + public ConfigurationSection Get(int index) { throw null; } + public ConfigurationSection Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public partial class ConfigurationSectionGroup + { + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public string Name { get { throw null; } } + public string SectionGroupName { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + protected internal virtual bool ShouldSerializeSectionGroupInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + public sealed partial class ConfigurationSectionGroupCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionGroupCollection() { } + public ConfigurationSectionGroup this[int index] { get { throw null; } } + + public ConfigurationSectionGroup this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSectionGroup sectionGroup) { } + public void Clear() { } + public void CopyTo(ConfigurationSectionGroup[] array, int index) { } + public ConfigurationSectionGroup Get(int index) { throw null; } + public ConfigurationSectionGroup Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConfigurationSettings + { + internal ConfigurationSettings() { } + [Obsolete("ConfigurationSettings.AppSettings has been deprecated. Use System.Configuration.ConfigurationManager.AppSettings instead.")] + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + + [Obsolete("ConfigurationSettings.GetConfig has been deprecated. Use System.Configuration.ConfigurationManager.GetSection instead.")] + public static object GetConfig(string sectionName) { throw null; } + } + public enum ConfigurationUserLevel + { + None = 0, + PerUserRoaming = 10, + PerUserRoamingAndLocal = 20 + } + + [AttributeUsage(AttributeTargets.Property)] + public partial class ConfigurationValidatorAttribute : Attribute + { + protected ConfigurationValidatorAttribute() { } + public ConfigurationValidatorAttribute(Type validator) { } + public virtual ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + public Type ValidatorType { get { throw null; } } + } + + public abstract partial class ConfigurationValidatorBase + { + public virtual bool CanValidate(Type type) { throw null; } + public abstract void Validate(object value); + } + public sealed partial class ConfigXmlDocument : Xml.XmlDocument, Internal.IConfigErrorInfo + { + public string Filename { get { throw null; } } + public int LineNumber { get { throw null; } } + + string Internal.IConfigErrorInfo.Filename { get { throw null; } } + + int Internal.IConfigErrorInfo.LineNumber { get { throw null; } } + + public override Xml.XmlAttribute CreateAttribute(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlCDataSection CreateCDataSection(string data) { throw null; } + public override Xml.XmlComment CreateComment(string data) { throw null; } + public override Xml.XmlElement CreateElement(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlSignificantWhitespace CreateSignificantWhitespace(string data) { throw null; } + public override Xml.XmlText CreateTextNode(string text) { throw null; } + public override Xml.XmlWhitespace CreateWhitespace(string data) { throw null; } + public override void Load(string filename) { } + public void LoadSingleElement(string filename, Xml.XmlTextReader sourceReader) { } + } + + public sealed partial class ConnectionStringSettings : ConfigurationElement + { + public ConnectionStringSettings() { } + public ConnectionStringSettings(string name, string connectionString, string providerName) { } + public ConnectionStringSettings(string name, string connectionString) { } + public string ConnectionString { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string ProviderName { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + [ConfigurationCollection(typeof(ConnectionStringSettings))] + public sealed partial class ConnectionStringSettingsCollection : ConfigurationElementCollection + { + public ConnectionStringSettings this[int index] { get { throw null; } set { } } + + public ConnectionStringSettings this[string name] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ConnectionStringSettings settings) { } + protected override void BaseAdd(int index, ConfigurationElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(ConnectionStringSettings settings) { throw null; } + public void Remove(ConnectionStringSettings settings) { } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConnectionStringsSection : ConfigurationSection + { + public ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override object GetRuntimeObject() { throw null; } + } + + public sealed partial class ContextInformation + { + internal ContextInformation() { } + public object HostingContext { get { throw null; } } + public bool IsMachineLevel { get { throw null; } } + + public object GetSection(string sectionName) { throw null; } + } + public sealed partial class DefaultSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class DefaultSettingValueAttribute : Attribute + { + public DefaultSettingValueAttribute(string value) { } + public string Value { get { throw null; } } + } + + public sealed partial class DefaultValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + public partial class DictionarySectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + [Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public bool UseMachineProtection { get { throw null; } } + + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection configurationValues) { } + } + + public sealed partial class ElementInformation + { + internal ElementInformation() { } + public Collections.ICollection Errors { get { throw null; } } + public bool IsCollection { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsPresent { get { throw null; } } + public int LineNumber { get { throw null; } } + public PropertyInformationCollection Properties { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public sealed partial class ExeConfigurationFileMap : ConfigurationFileMap + { + public ExeConfigurationFileMap() { } + public ExeConfigurationFileMap(string machineConfigFileName) { } + public string ExeConfigFilename { get { throw null; } set { } } + public string LocalUserConfigFilename { get { throw null; } set { } } + public string RoamingUserConfigFilename { get { throw null; } set { } } + + public override object Clone() { throw null; } + } + + public sealed partial class ExeContext + { + internal ExeContext() { } + public string ExePath { get { throw null; } } + public ConfigurationUserLevel UserLevel { get { throw null; } } + } + public sealed partial class GenericEnumConverter : ConfigurationConverterBase + { + public GenericEnumConverter(Type typeEnum) { } + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial interface IApplicationSettingsProvider + { + SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property); + void Reset(SettingsContext context); + void Upgrade(SettingsContext context, SettingsPropertyCollection properties); + } + + public partial interface IConfigurationSectionHandler + { + object Create(object parent, object configContext, Xml.XmlNode section); + } + + public partial interface IConfigurationSystem + { + object GetConfig(string configKey); + void Init(); + } + + public sealed partial class IdnElement : ConfigurationElement + { + public UriIdnScope Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public sealed partial class IgnoreSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + public partial class IgnoreSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public sealed partial class InfiniteIntConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class InfiniteTimeSpanConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class IntegerValidator : ConfigurationValidatorBase + { + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive, int resolution) { } + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive) { } + public IntegerValidator(int minValue, int maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class IntegerValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public int MaxValue { get { throw null; } set { } } + public int MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial interface IPersistComponentSettings + { + bool SaveSettings { get; set; } + + string SettingsKey { get; set; } + + void LoadComponentSettings(); + void ResetComponentSettings(); + void SaveComponentSettings(); + } + + public sealed partial class IriParsingElement : ConfigurationElement + { + public bool Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public partial interface ISettingsProviderService + { + SettingsProvider GetSettingsProvider(SettingsProperty property); + } + + [ConfigurationCollection(typeof(KeyValueConfigurationElement))] + public partial class KeyValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public KeyValueConfigurationElement this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + protected override bool ThrowOnDuplicate { get { throw null; } } + + public void Add(KeyValueConfigurationElement keyValue) { } + public void Add(string key, string value) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string key) { } + } + + public partial class KeyValueConfigurationElement : ConfigurationElement + { + public KeyValueConfigurationElement(string key, string value) { } + public string Key { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + + protected internal override void Init() { } + } + + public partial class LocalFileSettingsProvider : SettingsProvider, IApplicationSettingsProvider + { + public override string ApplicationName { get { throw null; } set { } } + + public SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property) { throw null; } + public override SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection values) { } + public void Reset(SettingsContext context) { } + public override void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values) { } + public void Upgrade(SettingsContext context, SettingsPropertyCollection properties) { } + } + + public partial class LongValidator : ConfigurationValidatorBase + { + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive, long resolution) { } + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive) { } + public LongValidator(long minValue, long maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class LongValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public long MaxValue { get { throw null; } set { } } + public long MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + [ConfigurationCollection(typeof(NameValueConfigurationElement))] + public sealed partial class NameValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public NameValueConfigurationElement this[string name] { get { throw null; } set { } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(NameValueConfigurationElement nameValue) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(NameValueConfigurationElement nameValue) { } + public void Remove(string name) { } + } + + public sealed partial class NameValueConfigurationElement : ConfigurationElement + { + public NameValueConfigurationElement(string name, string value) { } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + } + + public partial class NameValueFileSectionHandler : IConfigurationSectionHandler + { + public object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public partial class NameValueSectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class NoSettingsVersionUpgradeAttribute : Attribute + { + } + + public enum OverrideMode + { + Inherit = 0, + Allow = 1, + Deny = 2 + } + + public partial class PositiveTimeSpanValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class PositiveTimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class PropertyInformation + { + internal PropertyInformation() { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsRequired { get { throw null; } } + public int LineNumber { get { throw null; } } + public string Name { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + public object Value { get { throw null; } set { } } + public PropertyValueOrigin ValueOrigin { get { throw null; } } + } + public sealed partial class PropertyInformationCollection : Collections.Specialized.NameObjectCollectionBase + { + internal PropertyInformationCollection() { } + public PropertyInformation this[string propertyName] { get { throw null; } } + + public void CopyTo(PropertyInformation[] array, int index) { } + public override Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum PropertyValueOrigin + { + Default = 0, + Inherited = 1, + SetHere = 2 + } + + public static partial class ProtectedConfiguration + { + public const string DataProtectionProviderName = "DataProtectionConfigurationProvider"; + public const string ProtectedDataSectionName = "configProtectedData"; + public const string RsaProviderName = "RsaProtectedConfigurationProvider"; + public static string DefaultProvider { get { throw null; } } + public static ProtectedConfigurationProviderCollection Providers { get { throw null; } } + } + public abstract partial class ProtectedConfigurationProvider : Provider.ProviderBase + { + public abstract Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode); + public abstract Xml.XmlNode Encrypt(Xml.XmlNode node); + } + + public partial class ProtectedConfigurationProviderCollection : Provider.ProviderCollection + { + public new ProtectedConfigurationProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public sealed partial class ProtectedConfigurationSection : ConfigurationSection + { + public string DefaultProvider { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public partial class ProtectedProviderSettings : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public sealed partial class ProviderSettings : ConfigurationElement + { + public ProviderSettings() { } + public ProviderSettings(string name, string type) { } + public string Name { get { throw null; } set { } } + public Collections.Specialized.NameValueCollection Parameters { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Type { get { throw null; } set { } } + + protected internal override bool IsModified() { throw null; } + protected override bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + [ConfigurationCollection(typeof(ProviderSettings))] + public sealed partial class ProviderSettingsCollection : ConfigurationElementCollection + { + public ProviderSettings this[int index] { get { throw null; } set { } } + + public ProviderSettings this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ProviderSettings provider) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string name) { } + } + + public partial class RegexStringValidator : ConfigurationValidatorBase + { + public RegexStringValidator(string regex) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class RegexStringValidatorAttribute : ConfigurationValidatorAttribute + { + public RegexStringValidatorAttribute(string regex) { } + public string Regex { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class RsaProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public string CspProviderName { get { throw null; } } + public string KeyContainerName { get { throw null; } } + public Security.Cryptography.RSAParameters RsaPublicKey { get { throw null; } } + public bool UseFIPS { get { throw null; } } + public bool UseMachineContainer { get { throw null; } } + public bool UseOAEP { get { throw null; } } + + public void AddKey(int keySize, bool exportable) { } + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public void DeleteKey() { } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public void ExportKey(string xmlFileName, bool includePrivateParameters) { } + public void ImportKey(string xmlFileName, bool exportable) { } + } + + public sealed partial class SchemeSettingElement : ConfigurationElement + { + public GenericUriParserOptions GenericUriParserOptions { get { throw null; } } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + [ConfigurationCollection(typeof(SchemeSettingElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] + public sealed partial class SchemeSettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + + public SchemeSettingElement this[int index] { get { throw null; } } + + public SchemeSettingElement this[string name] { get { throw null; } } + + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(SchemeSettingElement element) { throw null; } + } + + public sealed partial class SectionInformation + { + internal SectionInformation() { } + public ConfigurationAllowDefinition AllowDefinition { get { throw null; } set { } } + public ConfigurationAllowExeDefinition AllowExeDefinition { get { throw null; } set { } } + public bool AllowLocation { get { throw null; } set { } } + public bool AllowOverride { get { throw null; } set { } } + public string ConfigSource { get { throw null; } set { } } + public bool ForceSave { get { throw null; } set { } } + public bool InheritInChildApplications { get { throw null; } set { } } + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsProtected { get { throw null; } } + public string Name { get { throw null; } } + public OverrideMode OverrideMode { get { throw null; } set { } } + public OverrideMode OverrideModeDefault { get { throw null; } set { } } + public OverrideMode OverrideModeEffective { get { throw null; } } + public ProtectedConfigurationProvider ProtectionProvider { get { throw null; } } + public bool RequirePermission { get { throw null; } set { } } + public bool RestartOnExternalChanges { get { throw null; } set { } } + public string SectionName { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + public ConfigurationSection GetParentSection() { throw null; } + public string GetRawXml() { throw null; } + public void ProtectSection(string protectionProvider) { } + public void RevertToParent() { } + public void SetRawXml(string rawXml) { } + public void UnprotectSection() { } + } + [AttributeUsage(AttributeTargets.Property)] + public partial class SettingAttribute : Attribute + { + } + + public partial class SettingChangingEventArgs : ComponentModel.CancelEventArgs + { + public SettingChangingEventArgs(string settingName, string settingClass, string settingKey, object newValue, bool cancel) { } + public object NewValue { get { throw null; } } + public string SettingClass { get { throw null; } } + public string SettingKey { get { throw null; } } + public string SettingName { get { throw null; } } + } + + public delegate void SettingChangingEventHandler(object sender, SettingChangingEventArgs e); + public sealed partial class SettingElement : ConfigurationElement + { + public SettingElement() { } + public SettingElement(string name, SettingsSerializeAs serializeAs) { } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public SettingValueElement Value { get { throw null; } set { } } + + public override bool Equals(object settings) { throw null; } + public override int GetHashCode() { throw null; } + } + + public sealed partial class SettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + protected override string ElementName { get { throw null; } } + + public void Add(SettingElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + public SettingElement Get(string elementKey) { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(SettingElement element) { } + } + + public partial class SettingsAttributeDictionary : Collections.Hashtable + { + public SettingsAttributeDictionary() { } + public SettingsAttributeDictionary(SettingsAttributeDictionary attributes) { } + protected SettingsAttributeDictionary(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + public abstract partial class SettingsBase + { + public virtual SettingsContext Context { get { throw null; } } + + [ComponentModel.Browsable(false)] + public bool IsSynchronized { get { throw null; } } + + public virtual object this[string propertyName] { get { throw null; } set { } } + + public virtual SettingsPropertyCollection Properties { get { throw null; } } + public virtual SettingsPropertyValueCollection PropertyValues { get { throw null; } } + public virtual SettingsProviderCollection Providers { get { throw null; } } + + public void Initialize(SettingsContext context, SettingsPropertyCollection properties, SettingsProviderCollection providers) { } + public virtual void Save() { } + public static SettingsBase Synchronized(SettingsBase settingsBase) { throw null; } + } + public partial class SettingsContext : Collections.Hashtable + { + public SettingsContext() { } + protected SettingsContext(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SettingsDescriptionAttribute : Attribute + { + public SettingsDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupDescriptionAttribute : Attribute + { + public SettingsGroupDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupNameAttribute : Attribute + { + public SettingsGroupNameAttribute(string groupName) { } + public string GroupName { get { throw null; } } + } + + public partial class SettingsLoadedEventArgs : EventArgs + { + public SettingsLoadedEventArgs(SettingsProvider provider) { } + public SettingsProvider Provider { get { throw null; } } + } + + public delegate void SettingsLoadedEventHandler(object sender, SettingsLoadedEventArgs e); + public enum SettingsManageability + { + Roaming = 0 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsManageabilityAttribute : Attribute + { + public SettingsManageabilityAttribute(SettingsManageability manageability) { } + public SettingsManageability Manageability { get { throw null; } } + } + + public partial class SettingsProperty + { + public SettingsProperty(SettingsProperty propertyToCopy) { } + public SettingsProperty(string name, Type propertyType, SettingsProvider provider, bool isReadOnly, object defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing) { } + public SettingsProperty(string name) { } + public virtual SettingsAttributeDictionary Attributes { get { throw null; } } + public virtual object DefaultValue { get { throw null; } set { } } + public virtual bool IsReadOnly { get { throw null; } set { } } + public virtual string Name { get { throw null; } set { } } + public virtual Type PropertyType { get { throw null; } set { } } + public virtual SettingsProvider Provider { get { throw null; } set { } } + public virtual SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public bool ThrowOnErrorDeserializing { get { throw null; } set { } } + public bool ThrowOnErrorSerializing { get { throw null; } set { } } + } + public partial class SettingsPropertyCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsProperty property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + protected virtual void OnAdd(SettingsProperty property) { } + protected virtual void OnAddComplete(SettingsProperty property) { } + protected virtual void OnClear() { } + protected virtual void OnClearComplete() { } + protected virtual void OnRemove(SettingsProperty property) { } + protected virtual void OnRemoveComplete(SettingsProperty property) { } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyIsReadOnlyException : Exception + { + public SettingsPropertyIsReadOnlyException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyIsReadOnlyException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyIsReadOnlyException(string message, Exception innerException) { } + public SettingsPropertyIsReadOnlyException(string message) { } + } + + public partial class SettingsPropertyNotFoundException : Exception + { + public SettingsPropertyNotFoundException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyNotFoundException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyNotFoundException(string message, Exception innerException) { } + public SettingsPropertyNotFoundException(string message) { } + } + + public partial class SettingsPropertyValue + { + public SettingsPropertyValue(SettingsProperty property) { } + public bool Deserialized { get { throw null; } set { } } + public bool IsDirty { get { throw null; } set { } } + public string Name { get { throw null; } } + public SettingsProperty Property { get { throw null; } } + public object PropertyValue { get { throw null; } set { } } + public object SerializedValue { get { throw null; } set { } } + public bool UsingDefaultValue { get { throw null; } } + } + public partial class SettingsPropertyValueCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsPropertyValue this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsPropertyValue property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyWrongTypeException : Exception + { + public SettingsPropertyWrongTypeException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyWrongTypeException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyWrongTypeException(string message, Exception innerException) { } + public SettingsPropertyWrongTypeException(string message) { } + } + + public abstract partial class SettingsProvider : Provider.ProviderBase + { + public abstract string ApplicationName { get; set; } + + public abstract SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection); + public abstract void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection); + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsProviderAttribute : Attribute + { + public SettingsProviderAttribute(string providerTypeName) { } + public SettingsProviderAttribute(Type providerType) { } + public string ProviderTypeName { get { throw null; } } + } + + public partial class SettingsProviderCollection : Provider.ProviderCollection + { + public new SettingsProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public delegate void SettingsSavingEventHandler(object sender, ComponentModel.CancelEventArgs e); + public enum SettingsSerializeAs + { + String = 0, + Xml = 1, + Binary = 2, + ProviderSpecific = 3 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsSerializeAsAttribute : Attribute + { + public SettingsSerializeAsAttribute(SettingsSerializeAs serializeAs) { } + public SettingsSerializeAs SerializeAs { get { throw null; } } + } + + public sealed partial class SettingValueElement : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public Xml.XmlNode ValueXml { get { throw null; } set { } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object settingValue) { throw null; } + public override int GetHashCode() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public partial class SingleTagSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + public enum SpecialSetting + { + ConnectionString = 0, + WebServiceUrl = 1 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SpecialSettingAttribute : Attribute + { + public SpecialSettingAttribute(SpecialSetting specialSetting) { } + public SpecialSetting SpecialSetting { get { throw null; } } + } + + public partial class StringValidator : ConfigurationValidatorBase + { + public StringValidator(int minLength, int maxLength, string invalidCharacters) { } + public StringValidator(int minLength, int maxLength) { } + public StringValidator(int minLength) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class StringValidatorAttribute : ConfigurationValidatorAttribute + { + public string InvalidCharacters { get { throw null; } set { } } + public int MaxLength { get { throw null; } set { } } + public int MinLength { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class SubclassTypeValidator : ConfigurationValidatorBase + { + public SubclassTypeValidator(Type baseClass) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SubclassTypeValidatorAttribute : ConfigurationValidatorAttribute + { + public SubclassTypeValidatorAttribute(Type baseClass) { } + public Type BaseClass { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial class TimeSpanMinutesConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanMinutesOrInfiniteConverter : TimeSpanMinutesConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanSecondsConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanSecondsOrInfiniteConverter : TimeSpanSecondsConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanValidator : ConfigurationValidatorBase + { + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive, long resolutionInSeconds) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class TimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public const string TimeSpanMaxValue = "10675199.02:48:05.4775807"; + public const string TimeSpanMinValue = "-10675199.02:48:05.4775808"; + public bool ExcludeRange { get { throw null; } set { } } + public TimeSpan MaxValue { get { throw null; } } + public string MaxValueString { get { throw null; } set { } } + public TimeSpan MinValue { get { throw null; } } + public string MinValueString { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class TypeNameConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class UriSection : ConfigurationSection + { + public IdnElement Idn { get { throw null; } } + public IriParsingElement IriParsing { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SchemeSettingElementCollection SchemeSettings { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class UserScopedSettingAttribute : SettingAttribute + { + } + + public sealed partial class UserSettingsGroup : ConfigurationSectionGroup + { + } + + public delegate void ValidatorCallback(object value); + public sealed partial class WhiteSpaceTrimStringConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } +} + +namespace System.Configuration.Internal +{ + public partial class DelegatingConfigHost : IInternalConfigHost + { + protected DelegatingConfigHost() { } + public virtual bool HasLocalConfig { get { throw null; } } + public virtual bool HasRoamingConfig { get { throw null; } } + protected IInternalConfigHost Host { get { throw null; } set { } } + public virtual bool IsAppConfigHttp { get { throw null; } } + public virtual bool IsRemote { get { throw null; } } + public virtual bool SupportsChangeNotifications { get { throw null; } } + public virtual bool SupportsLocation { get { throw null; } } + public virtual bool SupportsPath { get { throw null; } } + public virtual bool SupportsRefresh { get { throw null; } } + + public virtual object CreateConfigurationContext(string configPath, string locationSubPath) { throw null; } + public virtual object CreateDeprecatedConfigContext(string configPath) { throw null; } + public virtual string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual void DeleteStream(string streamName) { } + public virtual string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath) { throw null; } + public virtual Type GetConfigType(string typeName, bool throwOnError) { throw null; } + public virtual string GetConfigTypeName(Type t) { throw null; } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public virtual void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady) { throw null; } + public virtual string GetStreamName(string configPath) { throw null; } + public virtual string GetStreamNameForConfigSource(string streamName, string configSource) { throw null; } + public virtual object GetStreamVersion(string streamName) { throw null; } + public virtual IDisposable Impersonate() { throw null; } + public virtual void Init(IInternalConfigRoot configRoot, params object[] hostInitParams) { } + public virtual void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams) { throw null; } + public virtual bool IsAboveApplication(string configPath) { throw null; } + public virtual bool IsConfigRecordRequired(string configPath) { throw null; } + public virtual bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) { throw null; } + public virtual bool IsFile(string streamName) { throw null; } + public virtual bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsInitDelayed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsLocationApplicable(string configPath) { throw null; } + public virtual bool IsSecondaryRoot(string configPath) { throw null; } + public virtual bool IsTrustedConfigPath(string configPath) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { throw null; } + public virtual bool PrefetchAll(string configPath, string streamName) { throw null; } + public virtual bool PrefetchSection(string sectionGroupName, string sectionName) { throw null; } + public virtual void RefreshConfigPaths() { } + public virtual void RequireCompleteInit(IInternalConfigRecord configRecord) { } + public virtual object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { throw null; } + public virtual void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { } + public virtual void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext) { } + } + + public partial interface IConfigErrorInfo + { + string Filename { get; } + + int LineNumber { get; } + } + + public partial interface IConfigSystem + { + IInternalConfigHost Host { get; } + + IInternalConfigRoot Root { get; } + + void Init(Type typeConfigHost, params object[] hostInitParams); + } + + public partial interface IConfigurationManagerHelper + { + void EnsureNetConfigLoaded(); + } + + public partial interface IConfigurationManagerInternal + { + string ApplicationConfigUri { get; } + + string ExeLocalConfigDirectory { get; } + + string ExeLocalConfigPath { get; } + + string ExeProductName { get; } + + string ExeProductVersion { get; } + + string ExeRoamingConfigDirectory { get; } + + string ExeRoamingConfigPath { get; } + + string MachineConfigPath { get; } + + bool SetConfigurationSystemInProgress { get; } + + bool SupportsUserConfig { get; } + + string UserConfigFilename { get; } + } + + public partial interface IInternalConfigClientHost + { + string GetExeConfigPath(); + string GetLocalUserConfigPath(); + string GetRoamingUserConfigPath(); + bool IsExeConfig(string configPath); + bool IsLocalUserConfig(string configPath); + bool IsRoamingUserConfig(string configPath); + } + + public partial interface IInternalConfigConfigurationFactory + { + Configuration Create(Type typeConfigHost, params object[] hostInitConfigurationParams); + string NormalizeLocationSubPath(string subPath, IConfigErrorInfo errorInfo); + } + + public partial interface IInternalConfigHost + { + bool IsRemote { get; } + + bool SupportsChangeNotifications { get; } + + bool SupportsLocation { get; } + + bool SupportsPath { get; } + + bool SupportsRefresh { get; } + + object CreateConfigurationContext(string configPath, string locationSubPath); + object CreateDeprecatedConfigContext(string configPath); + string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + void DeleteStream(string streamName); + string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath); + Type GetConfigType(string typeName, bool throwOnError); + string GetConfigTypeName(Type t); + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady); + string GetStreamName(string configPath); + string GetStreamNameForConfigSource(string streamName, string configSource); + object GetStreamVersion(string streamName); + IDisposable Impersonate(); + void Init(IInternalConfigRoot configRoot, params object[] hostInitParams); + void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams); + bool IsAboveApplication(string configPath); + bool IsConfigRecordRequired(string configPath); + bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition); + bool IsFile(string streamName); + bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord); + bool IsInitDelayed(IInternalConfigRecord configRecord); + bool IsLocationApplicable(string configPath); + bool IsSecondaryRoot(string configPath); + bool IsTrustedConfigPath(string configPath); + IO.Stream OpenStreamForRead(string streamName, bool assertPermissions); + IO.Stream OpenStreamForRead(string streamName); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext); + bool PrefetchAll(string configPath, string streamName); + bool PrefetchSection(string sectionGroupName, string sectionName); + void RequireCompleteInit(IInternalConfigRecord configRecord); + object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo); + void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions); + void WriteCompleted(string streamName, bool success, object writeContext); + } + + public partial interface IInternalConfigRecord + { + string ConfigPath { get; } + + bool HasInitErrors { get; } + + string StreamName { get; } + + object GetLkgSection(string configKey); + object GetSection(string configKey); + void RefreshSection(string configKey); + void Remove(); + void ThrowIfInitErrors(); + } + + public partial interface IInternalConfigRoot + { + bool IsDesignTime { get; } + + event InternalConfigEventHandler ConfigChanged; + event InternalConfigEventHandler ConfigRemoved; + IInternalConfigRecord GetConfigRecord(string configPath); + object GetSection(string section, string configPath); + string GetUniqueConfigPath(string configPath); + IInternalConfigRecord GetUniqueConfigRecord(string configPath); + void Init(IInternalConfigHost host, bool isDesignTime); + void RemoveConfig(string configPath); + } + + public partial interface IInternalConfigSettingsFactory + { + void CompleteInit(); + void SetConfigurationSystem(IInternalConfigSystem internalConfigSystem, bool initComplete); + } + + public partial interface IInternalConfigSystem + { + bool SupportsUserConfig { get; } + + object GetSection(string configKey); + void RefreshConfig(string sectionName); + } + + public sealed partial class InternalConfigEventArgs : EventArgs + { + public InternalConfigEventArgs(string configPath) { } + public string ConfigPath { get { throw null; } set { } } + } + + public delegate void InternalConfigEventHandler(object sender, InternalConfigEventArgs e); + public delegate void StreamChangeCallback(string streamName); +} + +namespace System.Configuration.Provider +{ + public abstract partial class ProviderBase + { + public virtual string Description { get { throw null; } } + public virtual string Name { get { throw null; } } + + public virtual void Initialize(string name, Collections.Specialized.NameValueCollection config) { } + } + public partial class ProviderCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ProviderBase this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public virtual void Add(ProviderBase provider) { } + public void Clear() { } + public void CopyTo(ProviderBase[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public partial class ProviderException : Exception + { + public ProviderException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ProviderException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ProviderException(string message, Exception innerException) { } + public ProviderException(string message) { } + } +} + +namespace System.Diagnostics +{ + public static partial class TraceConfiguration + { + public static void Register() { } + } +} + +namespace System.Drawing.Configuration +{ + public sealed partial class SystemDrawingSection : System.Configuration.ConfigurationSection + { + public string BitmapSuffix { get { throw null; } set { } } + protected internal override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net9.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net9.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..329b27c3e0 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/net9.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,1807 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Configuration.ConfigurationManager")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using XML configuration files (app.config). This package exists only to support migrating existing .NET Framework code that already uses System.Configuration. When writing new code, use another configuration system instead, such as Microsoft.Extensions.Configuration.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public enum UriIdnScope + { + None = 0, + AllExceptIntranet = 1, + All = 2 + } +} + +namespace System.Configuration +{ + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ApplicationScopedSettingAttribute : SettingAttribute + { + } + + public abstract partial class ApplicationSettingsBase : SettingsBase, ComponentModel.INotifyPropertyChanged + { + protected ApplicationSettingsBase() { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner, string settingsKey) { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner) { } + protected ApplicationSettingsBase(string settingsKey) { } + [ComponentModel.Browsable(false)] + public override SettingsContext Context { get { throw null; } } + + public override object this[string propertyName] { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyCollection Properties { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyValueCollection PropertyValues { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsProviderCollection Providers { get { throw null; } } + + [ComponentModel.Browsable(false)] + public string SettingsKey { get { throw null; } set { } } + + public event ComponentModel.PropertyChangedEventHandler PropertyChanged { + add { } + remove { } + } + + public event SettingChangingEventHandler SettingChanging { + add { } + remove { } + } + + public event SettingsLoadedEventHandler SettingsLoaded { + add { } + remove { } + } + + public event SettingsSavingEventHandler SettingsSaving { + add { } + remove { } + } + + public object GetPreviousVersion(string propertyName) { throw null; } + protected virtual void OnPropertyChanged(object sender, ComponentModel.PropertyChangedEventArgs e) { } + protected virtual void OnSettingChanging(object sender, SettingChangingEventArgs e) { } + protected virtual void OnSettingsLoaded(object sender, SettingsLoadedEventArgs e) { } + protected virtual void OnSettingsSaving(object sender, ComponentModel.CancelEventArgs e) { } + public void Reload() { } + public void Reset() { } + public override void Save() { } + public virtual void Upgrade() { } + } + + public sealed partial class ApplicationSettingsGroup : ConfigurationSectionGroup + { + } + + public partial class AppSettingsReader + { + public object GetValue(string key, Type type) { throw null; } + } + public sealed partial class AppSettingsSection : ConfigurationSection + { + public string File { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public KeyValueConfigurationCollection Settings { get { throw null; } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + protected internal override object GetRuntimeObject() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + } + + public sealed partial class CallbackValidator : ConfigurationValidatorBase + { + public CallbackValidator(Type type, ValidatorCallback callback) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class CallbackValidatorAttribute : ConfigurationValidatorAttribute + { + public string CallbackMethodName { get { throw null; } set { } } + public Type Type { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class ClientSettingsSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingElementCollection Settings { get { throw null; } } + } + + public sealed partial class CommaDelimitedStringCollection : Collections.Specialized.StringCollection + { + public bool IsModified { get { throw null; } } + public new bool IsReadOnly { get { throw null; } } + + public new string this[int index] { get { throw null; } set { } } + + public new void Add(string value) { } + public new void AddRange(string[] range) { } + public new void Clear() { } + public CommaDelimitedStringCollection Clone() { throw null; } + public new void Insert(int index, string value) { } + public new void Remove(string value) { } + public void SetReadOnly() { } + public override string ToString() { throw null; } + } + + public sealed partial class CommaDelimitedStringCollectionConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class Configuration + { + internal Configuration() { } + public AppSettingsSection AppSettings { get { throw null; } } + public Func AssemblyStringTransformer { get { throw null; } set { } } + public ConnectionStringsSection ConnectionStrings { get { throw null; } } + public ContextInformation EvaluationContext { get { throw null; } } + public string FilePath { get { throw null; } } + public bool HasFile { get { throw null; } } + public ConfigurationLocationCollection Locations { get { throw null; } } + public bool NamespaceDeclared { get { throw null; } set { } } + public ConfigurationSectionGroup RootSectionGroup { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public Runtime.Versioning.FrameworkName TargetFramework { get { throw null; } set { } } + public Func TypeStringTransformer { get { throw null; } set { } } + + public ConfigurationSection GetSection(string sectionName) { throw null; } + public ConfigurationSectionGroup GetSectionGroup(string sectionGroupName) { throw null; } + public void Save() { } + public void Save(ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void Save(ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename) { } + } + public enum ConfigurationAllowDefinition + { + MachineOnly = 0, + MachineToWebRoot = 100, + MachineToApplication = 200, + Everywhere = 300 + } + + public enum ConfigurationAllowExeDefinition + { + MachineOnly = 0, + MachineToApplication = 100, + MachineToRoamingUser = 200, + MachineToLocalUser = 300 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class ConfigurationCollectionAttribute : Attribute + { + public ConfigurationCollectionAttribute(Type itemType) { } + public string AddItemName { get { throw null; } set { } } + public string ClearItemsName { get { throw null; } set { } } + public ConfigurationElementCollectionType CollectionType { get { throw null; } set { } } + public Type ItemType { get { throw null; } } + public string RemoveItemName { get { throw null; } set { } } + } + + public abstract partial class ConfigurationConverterBase : ComponentModel.TypeConverter + { + public override bool CanConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + public override bool CanConvertTo(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + } + + public abstract partial class ConfigurationElement + { + public Configuration CurrentConfiguration { get { throw null; } } + public ElementInformation ElementInformation { get { throw null; } } + protected internal virtual ConfigurationElementProperty ElementProperty { get { throw null; } } + protected ContextInformation EvaluationContext { get { throw null; } } + protected bool HasContext { get { throw null; } } + + protected internal object this[ConfigurationProperty prop] { get { throw null; } set { } } + + protected internal object this[string propertyName] { get { throw null; } set { } } + + public ConfigurationLockCollection LockAllAttributesExcept { get { throw null; } } + public ConfigurationLockCollection LockAllElementsExcept { get { throw null; } } + public ConfigurationLockCollection LockAttributes { get { throw null; } } + public ConfigurationLockCollection LockElements { get { throw null; } } + public bool LockItem { get { throw null; } set { } } + protected internal virtual ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal virtual void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object compareTo) { throw null; } + public override int GetHashCode() { throw null; } + protected virtual string GetTransformedAssemblyString(string assemblyName) { throw null; } + protected virtual string GetTransformedTypeString(string typeName) { throw null; } + protected internal virtual void Init() { } + protected internal virtual void InitializeDefault() { } + protected internal virtual bool IsModified() { throw null; } + public virtual bool IsReadOnly() { throw null; } + protected virtual void ListErrors(Collections.IList errorList) { } + protected virtual bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected virtual bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected virtual object OnRequiredPropertyNotFound(string name) { throw null; } + protected virtual void PostDeserialize() { } + protected virtual void PreSerialize(Xml.XmlWriter writer) { } + protected internal virtual void Reset(ConfigurationElement parentElement) { } + protected internal virtual void ResetModified() { } + protected internal virtual bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal virtual bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected void SetPropertyValue(ConfigurationProperty prop, object value, bool ignoreLocks) { } + protected internal virtual void SetReadOnly() { } + protected internal virtual void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + public abstract partial class ConfigurationElementCollection : ConfigurationElement, Collections.ICollection, Collections.IEnumerable + { + protected ConfigurationElementCollection() { } + protected ConfigurationElementCollection(Collections.IComparer comparer) { } + protected internal string AddElementName { get { throw null; } set { } } + protected internal string ClearElementName { get { throw null; } set { } } + public virtual ConfigurationElementCollectionType CollectionType { get { throw null; } } + public int Count { get { throw null; } } + protected virtual string ElementName { get { throw null; } } + public bool EmitClear { get { throw null; } set { } } + public bool IsSynchronized { get { throw null; } } + protected internal string RemoveElementName { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + protected virtual bool ThrowOnDuplicate { get { throw null; } } + + protected internal void BaseAdd(ConfigurationElement element, bool throwIfExists) { } + protected virtual void BaseAdd(ConfigurationElement element) { } + protected virtual void BaseAdd(int index, ConfigurationElement element) { } + protected internal void BaseClear() { } + protected internal ConfigurationElement BaseGet(int index) { throw null; } + protected internal ConfigurationElement BaseGet(object key) { throw null; } + protected internal object[] BaseGetAllKeys() { throw null; } + protected internal object BaseGetKey(int index) { throw null; } + protected int BaseIndexOf(ConfigurationElement element) { throw null; } + protected internal bool BaseIsRemoved(object key) { throw null; } + protected internal void BaseRemove(object key) { } + protected internal void BaseRemoveAt(int index) { } + public void CopyTo(ConfigurationElement[] array, int index) { } + protected abstract ConfigurationElement CreateNewElement(); + protected virtual ConfigurationElement CreateNewElement(string elementName) { throw null; } + public override bool Equals(object compareTo) { throw null; } + protected abstract object GetElementKey(ConfigurationElement element); + public Collections.IEnumerator GetEnumerator() { throw null; } + public override int GetHashCode() { throw null; } + protected virtual bool IsElementName(string elementName) { throw null; } + protected virtual bool IsElementRemovable(ConfigurationElement element) { throw null; } + protected internal override bool IsModified() { throw null; } + public override bool IsReadOnly() { throw null; } + protected override bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal override void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array arr, int index) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public enum ConfigurationElementCollectionType + { + BasicMap = 0, + AddRemoveClearMap = 1, + BasicMapAlternate = 2, + AddRemoveClearMapAlternate = 3 + } + + public sealed partial class ConfigurationElementProperty + { + public ConfigurationElementProperty(ConfigurationValidatorBase validator) { } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public partial class ConfigurationErrorsException : ConfigurationException + { + public ConfigurationErrorsException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ConfigurationErrorsException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ConfigurationErrorsException(string message, Exception inner, string filename, int line) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message, Exception inner) { } + public ConfigurationErrorsException(string message, string filename, int line) { } + public ConfigurationErrorsException(string message, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message) { } + public Collections.ICollection Errors { get { throw null; } } + public override string Filename { get { throw null; } } + public override int Line { get { throw null; } } + public override string Message { get { throw null; } } + + public static string GetFilename(Xml.XmlNode node) { throw null; } + public static string GetFilename(Xml.XmlReader reader) { throw null; } + public static int GetLineNumber(Xml.XmlNode node) { throw null; } + public static int GetLineNumber(Xml.XmlReader reader) { throw null; } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class ConfigurationException : SystemException + { + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ConfigurationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner, string filename, int line) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner, Xml.XmlNode node) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Exception inner) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, string filename, int line) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message, Xml.XmlNode node) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException(string message) { } + public virtual string BareMessage { get { throw null; } } + public virtual string Filename { get { throw null; } } + public virtual int Line { get { throw null; } } + public override string Message { get { throw null; } } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetFilename instead.")] + public static string GetXmlNodeFilename(Xml.XmlNode node) { throw null; } + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetLinenumber instead.")] + public static int GetXmlNodeLineNumber(Xml.XmlNode node) { throw null; } + } + + public partial class ConfigurationFileMap : ICloneable + { + public ConfigurationFileMap() { } + public ConfigurationFileMap(string machineConfigFilename) { } + public string MachineConfigFilename { get { throw null; } set { } } + + public virtual object Clone() { throw null; } + } + + public partial class ConfigurationLocation + { + internal ConfigurationLocation() { } + public string Path { get { throw null; } } + + public Configuration OpenConfiguration() { throw null; } + } + public partial class ConfigurationLocationCollection : Collections.ReadOnlyCollectionBase + { + internal ConfigurationLocationCollection() { } + public ConfigurationLocation this[int index] { get { throw null; } } + } + + public sealed partial class ConfigurationLockCollection : Collections.ICollection, Collections.IEnumerable + { + internal ConfigurationLockCollection() { } + public string AttributeList { get { throw null; } } + public int Count { get { throw null; } } + public bool HasParentElements { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public object SyncRoot { get { throw null; } } + + public void Add(string name) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(string[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool IsReadOnly(string name) { throw null; } + public void Remove(string name) { } + public void SetFromList(string attributeList) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public static partial class ConfigurationManager + { + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + public static ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + + public static object GetSection(string sectionName) { throw null; } + public static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenExeConfiguration(string exePath) { throw null; } + public static Configuration OpenMachineConfiguration() { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel, bool preLoad) { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenMappedMachineConfiguration(ConfigurationFileMap fileMap) { throw null; } + public static void RefreshSection(string sectionName) { } + } + public sealed partial class ConfigurationProperty + { + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue) { } + public ConfigurationProperty(string name, Type type) { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsAssemblyStringTransformationRequired { get { throw null; } } + public bool IsDefaultCollection { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsRequired { get { throw null; } } + public bool IsTypeStringTransformationRequired { get { throw null; } } + public bool IsVersionCheckRequired { get { throw null; } } + public string Name { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ConfigurationPropertyAttribute : Attribute + { + public ConfigurationPropertyAttribute(string name) { } + public object DefaultValue { get { throw null; } set { } } + public bool IsDefaultCollection { get { throw null; } set { } } + public bool IsKey { get { throw null; } set { } } + public bool IsRequired { get { throw null; } set { } } + public string Name { get { throw null; } } + public ConfigurationPropertyOptions Options { get { throw null; } set { } } + } + + public partial class ConfigurationPropertyCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ConfigurationProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(ConfigurationProperty property) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(ConfigurationProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool Remove(string name) { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + [Flags] + public enum ConfigurationPropertyOptions + { + None = 0, + IsDefaultCollection = 1, + IsRequired = 2, + IsKey = 4, + IsTypeStringTransformationRequired = 8, + IsAssemblyStringTransformationRequired = 16, + IsVersionCheckRequired = 32 + } + + public enum ConfigurationSaveMode + { + Modified = 0, + Minimal = 1, + Full = 2 + } + + public abstract partial class ConfigurationSection : ConfigurationElement + { + public SectionInformation SectionInformation { get { throw null; } } + + protected internal virtual void DeserializeSection(Xml.XmlReader reader) { } + protected internal virtual object GetRuntimeObject() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void ResetModified() { } + protected internal virtual string SerializeSection(ConfigurationElement parentElement, string name, ConfigurationSaveMode saveMode) { throw null; } + protected internal virtual bool ShouldSerializeElementInTargetVersion(ConfigurationElement element, string elementName, Runtime.Versioning.FrameworkName targetFramework) { throw null; } + protected internal virtual bool ShouldSerializePropertyInTargetVersion(ConfigurationProperty property, string propertyName, Runtime.Versioning.FrameworkName targetFramework, ConfigurationElement parentConfigurationElement) { throw null; } + protected internal virtual bool ShouldSerializeSectionInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + + public sealed partial class ConfigurationSectionCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionCollection() { } + public ConfigurationSection this[int index] { get { throw null; } } + + public ConfigurationSection this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSection section) { } + public void Clear() { } + public void CopyTo(ConfigurationSection[] array, int index) { } + public ConfigurationSection Get(int index) { throw null; } + public ConfigurationSection Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public partial class ConfigurationSectionGroup + { + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public string Name { get { throw null; } } + public string SectionGroupName { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + protected internal virtual bool ShouldSerializeSectionGroupInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + public sealed partial class ConfigurationSectionGroupCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionGroupCollection() { } + public ConfigurationSectionGroup this[int index] { get { throw null; } } + + public ConfigurationSectionGroup this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSectionGroup sectionGroup) { } + public void Clear() { } + public void CopyTo(ConfigurationSectionGroup[] array, int index) { } + public ConfigurationSectionGroup Get(int index) { throw null; } + public ConfigurationSectionGroup Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConfigurationSettings + { + internal ConfigurationSettings() { } + [Obsolete("ConfigurationSettings.AppSettings has been deprecated. Use System.Configuration.ConfigurationManager.AppSettings instead.")] + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + + [Obsolete("ConfigurationSettings.GetConfig has been deprecated. Use System.Configuration.ConfigurationManager.GetSection instead.")] + public static object GetConfig(string sectionName) { throw null; } + } + public enum ConfigurationUserLevel + { + None = 0, + PerUserRoaming = 10, + PerUserRoamingAndLocal = 20 + } + + [AttributeUsage(AttributeTargets.Property)] + public partial class ConfigurationValidatorAttribute : Attribute + { + protected ConfigurationValidatorAttribute() { } + public ConfigurationValidatorAttribute(Type validator) { } + public virtual ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + public Type ValidatorType { get { throw null; } } + } + + public abstract partial class ConfigurationValidatorBase + { + public virtual bool CanValidate(Type type) { throw null; } + public abstract void Validate(object value); + } + public sealed partial class ConfigXmlDocument : Xml.XmlDocument, Internal.IConfigErrorInfo + { + public string Filename { get { throw null; } } + public int LineNumber { get { throw null; } } + + string Internal.IConfigErrorInfo.Filename { get { throw null; } } + + int Internal.IConfigErrorInfo.LineNumber { get { throw null; } } + + public override Xml.XmlAttribute CreateAttribute(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlCDataSection CreateCDataSection(string data) { throw null; } + public override Xml.XmlComment CreateComment(string data) { throw null; } + public override Xml.XmlElement CreateElement(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlSignificantWhitespace CreateSignificantWhitespace(string data) { throw null; } + public override Xml.XmlText CreateTextNode(string text) { throw null; } + public override Xml.XmlWhitespace CreateWhitespace(string data) { throw null; } + public override void Load(string filename) { } + public void LoadSingleElement(string filename, Xml.XmlTextReader sourceReader) { } + } + + public sealed partial class ConnectionStringSettings : ConfigurationElement + { + public ConnectionStringSettings() { } + public ConnectionStringSettings(string name, string connectionString, string providerName) { } + public ConnectionStringSettings(string name, string connectionString) { } + public string ConnectionString { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string ProviderName { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + [ConfigurationCollection(typeof(ConnectionStringSettings))] + public sealed partial class ConnectionStringSettingsCollection : ConfigurationElementCollection + { + public ConnectionStringSettings this[int index] { get { throw null; } set { } } + + public ConnectionStringSettings this[string name] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ConnectionStringSettings settings) { } + protected override void BaseAdd(int index, ConfigurationElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(ConnectionStringSettings settings) { throw null; } + public void Remove(ConnectionStringSettings settings) { } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConnectionStringsSection : ConfigurationSection + { + public ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override object GetRuntimeObject() { throw null; } + } + + public sealed partial class ContextInformation + { + internal ContextInformation() { } + public object HostingContext { get { throw null; } } + public bool IsMachineLevel { get { throw null; } } + + public object GetSection(string sectionName) { throw null; } + } + public sealed partial class DefaultSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class DefaultSettingValueAttribute : Attribute + { + public DefaultSettingValueAttribute(string value) { } + public string Value { get { throw null; } } + } + + public sealed partial class DefaultValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + public partial class DictionarySectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + [Runtime.Versioning.SupportedOSPlatform("windows")] + public sealed partial class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public bool UseMachineProtection { get { throw null; } } + + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection configurationValues) { } + } + + public sealed partial class ElementInformation + { + internal ElementInformation() { } + public Collections.ICollection Errors { get { throw null; } } + public bool IsCollection { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsPresent { get { throw null; } } + public int LineNumber { get { throw null; } } + public PropertyInformationCollection Properties { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public sealed partial class ExeConfigurationFileMap : ConfigurationFileMap + { + public ExeConfigurationFileMap() { } + public ExeConfigurationFileMap(string machineConfigFileName) { } + public string ExeConfigFilename { get { throw null; } set { } } + public string LocalUserConfigFilename { get { throw null; } set { } } + public string RoamingUserConfigFilename { get { throw null; } set { } } + + public override object Clone() { throw null; } + } + + public sealed partial class ExeContext + { + internal ExeContext() { } + public string ExePath { get { throw null; } } + public ConfigurationUserLevel UserLevel { get { throw null; } } + } + public sealed partial class GenericEnumConverter : ConfigurationConverterBase + { + public GenericEnumConverter(Type typeEnum) { } + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial interface IApplicationSettingsProvider + { + SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property); + void Reset(SettingsContext context); + void Upgrade(SettingsContext context, SettingsPropertyCollection properties); + } + + public partial interface IConfigurationSectionHandler + { + object Create(object parent, object configContext, Xml.XmlNode section); + } + + public partial interface IConfigurationSystem + { + object GetConfig(string configKey); + void Init(); + } + + public sealed partial class IdnElement : ConfigurationElement + { + public UriIdnScope Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public sealed partial class IgnoreSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + public partial class IgnoreSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public sealed partial class InfiniteIntConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class InfiniteTimeSpanConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class IntegerValidator : ConfigurationValidatorBase + { + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive, int resolution) { } + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive) { } + public IntegerValidator(int minValue, int maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class IntegerValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public int MaxValue { get { throw null; } set { } } + public int MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial interface IPersistComponentSettings + { + bool SaveSettings { get; set; } + + string SettingsKey { get; set; } + + void LoadComponentSettings(); + void ResetComponentSettings(); + void SaveComponentSettings(); + } + + public sealed partial class IriParsingElement : ConfigurationElement + { + public bool Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public partial interface ISettingsProviderService + { + SettingsProvider GetSettingsProvider(SettingsProperty property); + } + + [ConfigurationCollection(typeof(KeyValueConfigurationElement))] + public partial class KeyValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public KeyValueConfigurationElement this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + protected override bool ThrowOnDuplicate { get { throw null; } } + + public void Add(KeyValueConfigurationElement keyValue) { } + public void Add(string key, string value) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string key) { } + } + + public partial class KeyValueConfigurationElement : ConfigurationElement + { + public KeyValueConfigurationElement(string key, string value) { } + public string Key { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + + protected internal override void Init() { } + } + + public partial class LocalFileSettingsProvider : SettingsProvider, IApplicationSettingsProvider + { + public override string ApplicationName { get { throw null; } set { } } + + public SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property) { throw null; } + public override SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection values) { } + public void Reset(SettingsContext context) { } + public override void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values) { } + public void Upgrade(SettingsContext context, SettingsPropertyCollection properties) { } + } + + public partial class LongValidator : ConfigurationValidatorBase + { + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive, long resolution) { } + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive) { } + public LongValidator(long minValue, long maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class LongValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public long MaxValue { get { throw null; } set { } } + public long MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + [ConfigurationCollection(typeof(NameValueConfigurationElement))] + public sealed partial class NameValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public NameValueConfigurationElement this[string name] { get { throw null; } set { } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(NameValueConfigurationElement nameValue) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(NameValueConfigurationElement nameValue) { } + public void Remove(string name) { } + } + + public sealed partial class NameValueConfigurationElement : ConfigurationElement + { + public NameValueConfigurationElement(string name, string value) { } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + } + + public partial class NameValueFileSectionHandler : IConfigurationSectionHandler + { + public object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public partial class NameValueSectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class NoSettingsVersionUpgradeAttribute : Attribute + { + } + + public enum OverrideMode + { + Inherit = 0, + Allow = 1, + Deny = 2 + } + + public partial class PositiveTimeSpanValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class PositiveTimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class PropertyInformation + { + internal PropertyInformation() { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsRequired { get { throw null; } } + public int LineNumber { get { throw null; } } + public string Name { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + public object Value { get { throw null; } set { } } + public PropertyValueOrigin ValueOrigin { get { throw null; } } + } + public sealed partial class PropertyInformationCollection : Collections.Specialized.NameObjectCollectionBase + { + internal PropertyInformationCollection() { } + public PropertyInformation this[string propertyName] { get { throw null; } } + + public void CopyTo(PropertyInformation[] array, int index) { } + public override Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum PropertyValueOrigin + { + Default = 0, + Inherited = 1, + SetHere = 2 + } + + public static partial class ProtectedConfiguration + { + public const string DataProtectionProviderName = "DataProtectionConfigurationProvider"; + public const string ProtectedDataSectionName = "configProtectedData"; + public const string RsaProviderName = "RsaProtectedConfigurationProvider"; + public static string DefaultProvider { get { throw null; } } + public static ProtectedConfigurationProviderCollection Providers { get { throw null; } } + } + public abstract partial class ProtectedConfigurationProvider : Provider.ProviderBase + { + public abstract Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode); + public abstract Xml.XmlNode Encrypt(Xml.XmlNode node); + } + + public partial class ProtectedConfigurationProviderCollection : Provider.ProviderCollection + { + public new ProtectedConfigurationProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public sealed partial class ProtectedConfigurationSection : ConfigurationSection + { + public string DefaultProvider { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public partial class ProtectedProviderSettings : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public sealed partial class ProviderSettings : ConfigurationElement + { + public ProviderSettings() { } + public ProviderSettings(string name, string type) { } + public string Name { get { throw null; } set { } } + public Collections.Specialized.NameValueCollection Parameters { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Type { get { throw null; } set { } } + + protected internal override bool IsModified() { throw null; } + protected override bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + [ConfigurationCollection(typeof(ProviderSettings))] + public sealed partial class ProviderSettingsCollection : ConfigurationElementCollection + { + public ProviderSettings this[int index] { get { throw null; } set { } } + + public ProviderSettings this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ProviderSettings provider) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string name) { } + } + + public partial class RegexStringValidator : ConfigurationValidatorBase + { + public RegexStringValidator(string regex) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class RegexStringValidatorAttribute : ConfigurationValidatorAttribute + { + public RegexStringValidatorAttribute(string regex) { } + public string Regex { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class RsaProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public string CspProviderName { get { throw null; } } + public string KeyContainerName { get { throw null; } } + public Security.Cryptography.RSAParameters RsaPublicKey { get { throw null; } } + public bool UseFIPS { get { throw null; } } + public bool UseMachineContainer { get { throw null; } } + public bool UseOAEP { get { throw null; } } + + public void AddKey(int keySize, bool exportable) { } + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public void DeleteKey() { } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public void ExportKey(string xmlFileName, bool includePrivateParameters) { } + public void ImportKey(string xmlFileName, bool exportable) { } + } + + public sealed partial class SchemeSettingElement : ConfigurationElement + { + public GenericUriParserOptions GenericUriParserOptions { get { throw null; } } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + [ConfigurationCollection(typeof(SchemeSettingElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] + public sealed partial class SchemeSettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + + public SchemeSettingElement this[int index] { get { throw null; } } + + public SchemeSettingElement this[string name] { get { throw null; } } + + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(SchemeSettingElement element) { throw null; } + } + + public sealed partial class SectionInformation + { + internal SectionInformation() { } + public ConfigurationAllowDefinition AllowDefinition { get { throw null; } set { } } + public ConfigurationAllowExeDefinition AllowExeDefinition { get { throw null; } set { } } + public bool AllowLocation { get { throw null; } set { } } + public bool AllowOverride { get { throw null; } set { } } + public string ConfigSource { get { throw null; } set { } } + public bool ForceSave { get { throw null; } set { } } + public bool InheritInChildApplications { get { throw null; } set { } } + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsProtected { get { throw null; } } + public string Name { get { throw null; } } + public OverrideMode OverrideMode { get { throw null; } set { } } + public OverrideMode OverrideModeDefault { get { throw null; } set { } } + public OverrideMode OverrideModeEffective { get { throw null; } } + public ProtectedConfigurationProvider ProtectionProvider { get { throw null; } } + public bool RequirePermission { get { throw null; } set { } } + public bool RestartOnExternalChanges { get { throw null; } set { } } + public string SectionName { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + public ConfigurationSection GetParentSection() { throw null; } + public string GetRawXml() { throw null; } + public void ProtectSection(string protectionProvider) { } + public void RevertToParent() { } + public void SetRawXml(string rawXml) { } + public void UnprotectSection() { } + } + [AttributeUsage(AttributeTargets.Property)] + public partial class SettingAttribute : Attribute + { + } + + public partial class SettingChangingEventArgs : ComponentModel.CancelEventArgs + { + public SettingChangingEventArgs(string settingName, string settingClass, string settingKey, object newValue, bool cancel) { } + public object NewValue { get { throw null; } } + public string SettingClass { get { throw null; } } + public string SettingKey { get { throw null; } } + public string SettingName { get { throw null; } } + } + + public delegate void SettingChangingEventHandler(object sender, SettingChangingEventArgs e); + public sealed partial class SettingElement : ConfigurationElement + { + public SettingElement() { } + public SettingElement(string name, SettingsSerializeAs serializeAs) { } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public SettingValueElement Value { get { throw null; } set { } } + + public override bool Equals(object settings) { throw null; } + public override int GetHashCode() { throw null; } + } + + public sealed partial class SettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + protected override string ElementName { get { throw null; } } + + public void Add(SettingElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + public SettingElement Get(string elementKey) { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(SettingElement element) { } + } + + public partial class SettingsAttributeDictionary : Collections.Hashtable + { + public SettingsAttributeDictionary() { } + public SettingsAttributeDictionary(SettingsAttributeDictionary attributes) { } + protected SettingsAttributeDictionary(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + public abstract partial class SettingsBase + { + public virtual SettingsContext Context { get { throw null; } } + + [ComponentModel.Browsable(false)] + public bool IsSynchronized { get { throw null; } } + + public virtual object this[string propertyName] { get { throw null; } set { } } + + public virtual SettingsPropertyCollection Properties { get { throw null; } } + public virtual SettingsPropertyValueCollection PropertyValues { get { throw null; } } + public virtual SettingsProviderCollection Providers { get { throw null; } } + + public void Initialize(SettingsContext context, SettingsPropertyCollection properties, SettingsProviderCollection providers) { } + public virtual void Save() { } + public static SettingsBase Synchronized(SettingsBase settingsBase) { throw null; } + } + public partial class SettingsContext : Collections.Hashtable + { + public SettingsContext() { } + protected SettingsContext(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SettingsDescriptionAttribute : Attribute + { + public SettingsDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupDescriptionAttribute : Attribute + { + public SettingsGroupDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupNameAttribute : Attribute + { + public SettingsGroupNameAttribute(string groupName) { } + public string GroupName { get { throw null; } } + } + + public partial class SettingsLoadedEventArgs : EventArgs + { + public SettingsLoadedEventArgs(SettingsProvider provider) { } + public SettingsProvider Provider { get { throw null; } } + } + + public delegate void SettingsLoadedEventHandler(object sender, SettingsLoadedEventArgs e); + public enum SettingsManageability + { + Roaming = 0 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsManageabilityAttribute : Attribute + { + public SettingsManageabilityAttribute(SettingsManageability manageability) { } + public SettingsManageability Manageability { get { throw null; } } + } + + public partial class SettingsProperty + { + public SettingsProperty(SettingsProperty propertyToCopy) { } + public SettingsProperty(string name, Type propertyType, SettingsProvider provider, bool isReadOnly, object defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing) { } + public SettingsProperty(string name) { } + public virtual SettingsAttributeDictionary Attributes { get { throw null; } } + public virtual object DefaultValue { get { throw null; } set { } } + public virtual bool IsReadOnly { get { throw null; } set { } } + public virtual string Name { get { throw null; } set { } } + public virtual Type PropertyType { get { throw null; } set { } } + public virtual SettingsProvider Provider { get { throw null; } set { } } + public virtual SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public bool ThrowOnErrorDeserializing { get { throw null; } set { } } + public bool ThrowOnErrorSerializing { get { throw null; } set { } } + } + public partial class SettingsPropertyCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsProperty property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + protected virtual void OnAdd(SettingsProperty property) { } + protected virtual void OnAddComplete(SettingsProperty property) { } + protected virtual void OnClear() { } + protected virtual void OnClearComplete() { } + protected virtual void OnRemove(SettingsProperty property) { } + protected virtual void OnRemoveComplete(SettingsProperty property) { } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyIsReadOnlyException : Exception + { + public SettingsPropertyIsReadOnlyException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyIsReadOnlyException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyIsReadOnlyException(string message, Exception innerException) { } + public SettingsPropertyIsReadOnlyException(string message) { } + } + + public partial class SettingsPropertyNotFoundException : Exception + { + public SettingsPropertyNotFoundException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyNotFoundException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyNotFoundException(string message, Exception innerException) { } + public SettingsPropertyNotFoundException(string message) { } + } + + public partial class SettingsPropertyValue + { + public SettingsPropertyValue(SettingsProperty property) { } + public bool Deserialized { get { throw null; } set { } } + public bool IsDirty { get { throw null; } set { } } + public string Name { get { throw null; } } + public SettingsProperty Property { get { throw null; } } + public object PropertyValue { get { throw null; } set { } } + public object SerializedValue { get { throw null; } set { } } + public bool UsingDefaultValue { get { throw null; } } + } + public partial class SettingsPropertyValueCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsPropertyValue this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsPropertyValue property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyWrongTypeException : Exception + { + public SettingsPropertyWrongTypeException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected SettingsPropertyWrongTypeException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyWrongTypeException(string message, Exception innerException) { } + public SettingsPropertyWrongTypeException(string message) { } + } + + public abstract partial class SettingsProvider : Provider.ProviderBase + { + public abstract string ApplicationName { get; set; } + + public abstract SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection); + public abstract void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection); + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsProviderAttribute : Attribute + { + public SettingsProviderAttribute(string providerTypeName) { } + public SettingsProviderAttribute(Type providerType) { } + public string ProviderTypeName { get { throw null; } } + } + + public partial class SettingsProviderCollection : Provider.ProviderCollection + { + public new SettingsProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public delegate void SettingsSavingEventHandler(object sender, ComponentModel.CancelEventArgs e); + public enum SettingsSerializeAs + { + String = 0, + Xml = 1, + Binary = 2, + ProviderSpecific = 3 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsSerializeAsAttribute : Attribute + { + public SettingsSerializeAsAttribute(SettingsSerializeAs serializeAs) { } + public SettingsSerializeAs SerializeAs { get { throw null; } } + } + + public sealed partial class SettingValueElement : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public Xml.XmlNode ValueXml { get { throw null; } set { } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object settingValue) { throw null; } + public override int GetHashCode() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public partial class SingleTagSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + public enum SpecialSetting + { + ConnectionString = 0, + WebServiceUrl = 1 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SpecialSettingAttribute : Attribute + { + public SpecialSettingAttribute(SpecialSetting specialSetting) { } + public SpecialSetting SpecialSetting { get { throw null; } } + } + + public partial class StringValidator : ConfigurationValidatorBase + { + public StringValidator(int minLength, int maxLength, string invalidCharacters) { } + public StringValidator(int minLength, int maxLength) { } + public StringValidator(int minLength) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class StringValidatorAttribute : ConfigurationValidatorAttribute + { + public string InvalidCharacters { get { throw null; } set { } } + public int MaxLength { get { throw null; } set { } } + public int MinLength { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class SubclassTypeValidator : ConfigurationValidatorBase + { + public SubclassTypeValidator(Type baseClass) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SubclassTypeValidatorAttribute : ConfigurationValidatorAttribute + { + public SubclassTypeValidatorAttribute(Type baseClass) { } + public Type BaseClass { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial class TimeSpanMinutesConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanMinutesOrInfiniteConverter : TimeSpanMinutesConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanSecondsConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanSecondsOrInfiniteConverter : TimeSpanSecondsConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanValidator : ConfigurationValidatorBase + { + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive, long resolutionInSeconds) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class TimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public const string TimeSpanMaxValue = "10675199.02:48:05.4775807"; + public const string TimeSpanMinValue = "-10675199.02:48:05.4775808"; + public bool ExcludeRange { get { throw null; } set { } } + public TimeSpan MaxValue { get { throw null; } } + public string MaxValueString { get { throw null; } set { } } + public TimeSpan MinValue { get { throw null; } } + public string MinValueString { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class TypeNameConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class UriSection : ConfigurationSection + { + public IdnElement Idn { get { throw null; } } + public IriParsingElement IriParsing { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SchemeSettingElementCollection SchemeSettings { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class UserScopedSettingAttribute : SettingAttribute + { + } + + public sealed partial class UserSettingsGroup : ConfigurationSectionGroup + { + } + + public delegate void ValidatorCallback(object value); + public sealed partial class WhiteSpaceTrimStringConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } +} + +namespace System.Configuration.Internal +{ + public partial class DelegatingConfigHost : IInternalConfigHost + { + protected DelegatingConfigHost() { } + public virtual bool HasLocalConfig { get { throw null; } } + public virtual bool HasRoamingConfig { get { throw null; } } + protected IInternalConfigHost Host { get { throw null; } set { } } + public virtual bool IsAppConfigHttp { get { throw null; } } + public virtual bool IsRemote { get { throw null; } } + public virtual bool SupportsChangeNotifications { get { throw null; } } + public virtual bool SupportsLocation { get { throw null; } } + public virtual bool SupportsPath { get { throw null; } } + public virtual bool SupportsRefresh { get { throw null; } } + + public virtual object CreateConfigurationContext(string configPath, string locationSubPath) { throw null; } + public virtual object CreateDeprecatedConfigContext(string configPath) { throw null; } + public virtual string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual void DeleteStream(string streamName) { } + public virtual string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath) { throw null; } + public virtual Type GetConfigType(string typeName, bool throwOnError) { throw null; } + public virtual string GetConfigTypeName(Type t) { throw null; } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public virtual void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady) { throw null; } + public virtual string GetStreamName(string configPath) { throw null; } + public virtual string GetStreamNameForConfigSource(string streamName, string configSource) { throw null; } + public virtual object GetStreamVersion(string streamName) { throw null; } + public virtual IDisposable Impersonate() { throw null; } + public virtual void Init(IInternalConfigRoot configRoot, params object[] hostInitParams) { } + public virtual void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams) { throw null; } + public virtual bool IsAboveApplication(string configPath) { throw null; } + public virtual bool IsConfigRecordRequired(string configPath) { throw null; } + public virtual bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) { throw null; } + public virtual bool IsFile(string streamName) { throw null; } + public virtual bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsInitDelayed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsLocationApplicable(string configPath) { throw null; } + public virtual bool IsSecondaryRoot(string configPath) { throw null; } + public virtual bool IsTrustedConfigPath(string configPath) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { throw null; } + public virtual bool PrefetchAll(string configPath, string streamName) { throw null; } + public virtual bool PrefetchSection(string sectionGroupName, string sectionName) { throw null; } + public virtual void RefreshConfigPaths() { } + public virtual void RequireCompleteInit(IInternalConfigRecord configRecord) { } + public virtual object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { throw null; } + public virtual void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { } + public virtual void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext) { } + } + + public partial interface IConfigErrorInfo + { + string Filename { get; } + + int LineNumber { get; } + } + + public partial interface IConfigSystem + { + IInternalConfigHost Host { get; } + + IInternalConfigRoot Root { get; } + + void Init(Type typeConfigHost, params object[] hostInitParams); + } + + public partial interface IConfigurationManagerHelper + { + void EnsureNetConfigLoaded(); + } + + public partial interface IConfigurationManagerInternal + { + string ApplicationConfigUri { get; } + + string ExeLocalConfigDirectory { get; } + + string ExeLocalConfigPath { get; } + + string ExeProductName { get; } + + string ExeProductVersion { get; } + + string ExeRoamingConfigDirectory { get; } + + string ExeRoamingConfigPath { get; } + + string MachineConfigPath { get; } + + bool SetConfigurationSystemInProgress { get; } + + bool SupportsUserConfig { get; } + + string UserConfigFilename { get; } + } + + public partial interface IInternalConfigClientHost + { + string GetExeConfigPath(); + string GetLocalUserConfigPath(); + string GetRoamingUserConfigPath(); + bool IsExeConfig(string configPath); + bool IsLocalUserConfig(string configPath); + bool IsRoamingUserConfig(string configPath); + } + + public partial interface IInternalConfigConfigurationFactory + { + Configuration Create(Type typeConfigHost, params object[] hostInitConfigurationParams); + string NormalizeLocationSubPath(string subPath, IConfigErrorInfo errorInfo); + } + + public partial interface IInternalConfigHost + { + bool IsRemote { get; } + + bool SupportsChangeNotifications { get; } + + bool SupportsLocation { get; } + + bool SupportsPath { get; } + + bool SupportsRefresh { get; } + + object CreateConfigurationContext(string configPath, string locationSubPath); + object CreateDeprecatedConfigContext(string configPath); + string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + void DeleteStream(string streamName); + string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath); + Type GetConfigType(string typeName, bool throwOnError); + string GetConfigTypeName(Type t); + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady); + string GetStreamName(string configPath); + string GetStreamNameForConfigSource(string streamName, string configSource); + object GetStreamVersion(string streamName); + IDisposable Impersonate(); + void Init(IInternalConfigRoot configRoot, params object[] hostInitParams); + void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams); + bool IsAboveApplication(string configPath); + bool IsConfigRecordRequired(string configPath); + bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition); + bool IsFile(string streamName); + bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord); + bool IsInitDelayed(IInternalConfigRecord configRecord); + bool IsLocationApplicable(string configPath); + bool IsSecondaryRoot(string configPath); + bool IsTrustedConfigPath(string configPath); + IO.Stream OpenStreamForRead(string streamName, bool assertPermissions); + IO.Stream OpenStreamForRead(string streamName); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext); + bool PrefetchAll(string configPath, string streamName); + bool PrefetchSection(string sectionGroupName, string sectionName); + void RequireCompleteInit(IInternalConfigRecord configRecord); + object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo); + void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions); + void WriteCompleted(string streamName, bool success, object writeContext); + } + + public partial interface IInternalConfigRecord + { + string ConfigPath { get; } + + bool HasInitErrors { get; } + + string StreamName { get; } + + object GetLkgSection(string configKey); + object GetSection(string configKey); + void RefreshSection(string configKey); + void Remove(); + void ThrowIfInitErrors(); + } + + public partial interface IInternalConfigRoot + { + bool IsDesignTime { get; } + + event InternalConfigEventHandler ConfigChanged; + event InternalConfigEventHandler ConfigRemoved; + IInternalConfigRecord GetConfigRecord(string configPath); + object GetSection(string section, string configPath); + string GetUniqueConfigPath(string configPath); + IInternalConfigRecord GetUniqueConfigRecord(string configPath); + void Init(IInternalConfigHost host, bool isDesignTime); + void RemoveConfig(string configPath); + } + + public partial interface IInternalConfigSettingsFactory + { + void CompleteInit(); + void SetConfigurationSystem(IInternalConfigSystem internalConfigSystem, bool initComplete); + } + + public partial interface IInternalConfigSystem + { + bool SupportsUserConfig { get; } + + object GetSection(string configKey); + void RefreshConfig(string sectionName); + } + + public sealed partial class InternalConfigEventArgs : EventArgs + { + public InternalConfigEventArgs(string configPath) { } + public string ConfigPath { get { throw null; } set { } } + } + + public delegate void InternalConfigEventHandler(object sender, InternalConfigEventArgs e); + public delegate void StreamChangeCallback(string streamName); +} + +namespace System.Configuration.Provider +{ + public abstract partial class ProviderBase + { + public virtual string Description { get { throw null; } } + public virtual string Name { get { throw null; } } + + public virtual void Initialize(string name, Collections.Specialized.NameValueCollection config) { } + } + public partial class ProviderCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ProviderBase this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public virtual void Add(ProviderBase provider) { } + public void Clear() { } + public void CopyTo(ProviderBase[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public partial class ProviderException : Exception + { + public ProviderException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ProviderException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ProviderException(string message, Exception innerException) { } + public ProviderException(string message) { } + } +} + +namespace System.Diagnostics +{ + public static partial class TraceConfiguration + { + public static void Register() { } + } +} + +namespace System.Drawing.Configuration +{ + public sealed partial class SystemDrawingSection : System.Configuration.ConfigurationSection + { + public string BitmapSuffix { get { throw null; } set { } } + protected internal override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..f3bc01a9e7 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,1776 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Configuration.ConfigurationManager")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using XML configuration files (app.config). This package exists only to support migrating existing .NET Framework code that already uses System.Configuration. When writing new code, use another configuration system instead, such as Microsoft.Extensions.Configuration.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public enum UriIdnScope + { + None = 0, + AllExceptIntranet = 1, + All = 2 + } +} + +namespace System.Configuration +{ + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ApplicationScopedSettingAttribute : SettingAttribute + { + } + + public abstract partial class ApplicationSettingsBase : SettingsBase, ComponentModel.INotifyPropertyChanged + { + protected ApplicationSettingsBase() { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner, string settingsKey) { } + protected ApplicationSettingsBase(ComponentModel.IComponent owner) { } + protected ApplicationSettingsBase(string settingsKey) { } + [ComponentModel.Browsable(false)] + public override SettingsContext Context { get { throw null; } } + + public override object this[string propertyName] { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyCollection Properties { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsPropertyValueCollection PropertyValues { get { throw null; } } + + [ComponentModel.Browsable(false)] + public override SettingsProviderCollection Providers { get { throw null; } } + + [ComponentModel.Browsable(false)] + public string SettingsKey { get { throw null; } set { } } + + public event ComponentModel.PropertyChangedEventHandler PropertyChanged { + add { } + remove { } + } + + public event SettingChangingEventHandler SettingChanging { + add { } + remove { } + } + + public event SettingsLoadedEventHandler SettingsLoaded { + add { } + remove { } + } + + public event SettingsSavingEventHandler SettingsSaving { + add { } + remove { } + } + + public object GetPreviousVersion(string propertyName) { throw null; } + protected virtual void OnPropertyChanged(object sender, ComponentModel.PropertyChangedEventArgs e) { } + protected virtual void OnSettingChanging(object sender, SettingChangingEventArgs e) { } + protected virtual void OnSettingsLoaded(object sender, SettingsLoadedEventArgs e) { } + protected virtual void OnSettingsSaving(object sender, ComponentModel.CancelEventArgs e) { } + public void Reload() { } + public void Reset() { } + public override void Save() { } + public virtual void Upgrade() { } + } + + public sealed partial class ApplicationSettingsGroup : ConfigurationSectionGroup + { + } + + public partial class AppSettingsReader + { + public object GetValue(string key, Type type) { throw null; } + } + public sealed partial class AppSettingsSection : ConfigurationSection + { + public string File { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public KeyValueConfigurationCollection Settings { get { throw null; } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + protected internal override object GetRuntimeObject() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + } + + public sealed partial class CallbackValidator : ConfigurationValidatorBase + { + public CallbackValidator(Type type, ValidatorCallback callback) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class CallbackValidatorAttribute : ConfigurationValidatorAttribute + { + public string CallbackMethodName { get { throw null; } set { } } + public Type Type { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class ClientSettingsSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingElementCollection Settings { get { throw null; } } + } + + public sealed partial class CommaDelimitedStringCollection : Collections.Specialized.StringCollection + { + public bool IsModified { get { throw null; } } + public new bool IsReadOnly { get { throw null; } } + + public new string this[int index] { get { throw null; } set { } } + + public new void Add(string value) { } + public new void AddRange(string[] range) { } + public new void Clear() { } + public CommaDelimitedStringCollection Clone() { throw null; } + public new void Insert(int index, string value) { } + public new void Remove(string value) { } + public void SetReadOnly() { } + public override string ToString() { throw null; } + } + + public sealed partial class CommaDelimitedStringCollectionConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class Configuration + { + internal Configuration() { } + public AppSettingsSection AppSettings { get { throw null; } } + public Func AssemblyStringTransformer { get { throw null; } set { } } + public ConnectionStringsSection ConnectionStrings { get { throw null; } } + public ContextInformation EvaluationContext { get { throw null; } } + public string FilePath { get { throw null; } } + public bool HasFile { get { throw null; } } + public ConfigurationLocationCollection Locations { get { throw null; } } + public bool NamespaceDeclared { get { throw null; } set { } } + public ConfigurationSectionGroup RootSectionGroup { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public Runtime.Versioning.FrameworkName TargetFramework { get { throw null; } set { } } + public Func TypeStringTransformer { get { throw null; } set { } } + + public ConfigurationSection GetSection(string sectionName) { throw null; } + public ConfigurationSectionGroup GetSectionGroup(string sectionGroupName) { throw null; } + public void Save() { } + public void Save(ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void Save(ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode, bool forceSaveAll) { } + public void SaveAs(string filename, ConfigurationSaveMode saveMode) { } + public void SaveAs(string filename) { } + } + public enum ConfigurationAllowDefinition + { + MachineOnly = 0, + MachineToWebRoot = 100, + MachineToApplication = 200, + Everywhere = 300 + } + + public enum ConfigurationAllowExeDefinition + { + MachineOnly = 0, + MachineToApplication = 100, + MachineToRoamingUser = 200, + MachineToLocalUser = 300 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class ConfigurationCollectionAttribute : Attribute + { + public ConfigurationCollectionAttribute(Type itemType) { } + public string AddItemName { get { throw null; } set { } } + public string ClearItemsName { get { throw null; } set { } } + public ConfigurationElementCollectionType CollectionType { get { throw null; } set { } } + public Type ItemType { get { throw null; } } + public string RemoveItemName { get { throw null; } set { } } + } + + public abstract partial class ConfigurationConverterBase : ComponentModel.TypeConverter + { + public override bool CanConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + public override bool CanConvertTo(ComponentModel.ITypeDescriptorContext ctx, Type type) { throw null; } + } + + public abstract partial class ConfigurationElement + { + public Configuration CurrentConfiguration { get { throw null; } } + public ElementInformation ElementInformation { get { throw null; } } + protected internal virtual ConfigurationElementProperty ElementProperty { get { throw null; } } + protected ContextInformation EvaluationContext { get { throw null; } } + protected bool HasContext { get { throw null; } } + + protected internal object this[ConfigurationProperty prop] { get { throw null; } set { } } + + protected internal object this[string propertyName] { get { throw null; } set { } } + + public ConfigurationLockCollection LockAllAttributesExcept { get { throw null; } } + public ConfigurationLockCollection LockAllElementsExcept { get { throw null; } } + public ConfigurationLockCollection LockAttributes { get { throw null; } } + public ConfigurationLockCollection LockElements { get { throw null; } } + public bool LockItem { get { throw null; } set { } } + protected internal virtual ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal virtual void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object compareTo) { throw null; } + public override int GetHashCode() { throw null; } + protected virtual string GetTransformedAssemblyString(string assemblyName) { throw null; } + protected virtual string GetTransformedTypeString(string typeName) { throw null; } + protected internal virtual void Init() { } + protected internal virtual void InitializeDefault() { } + protected internal virtual bool IsModified() { throw null; } + public virtual bool IsReadOnly() { throw null; } + protected virtual void ListErrors(Collections.IList errorList) { } + protected virtual bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected virtual bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected virtual object OnRequiredPropertyNotFound(string name) { throw null; } + protected virtual void PostDeserialize() { } + protected virtual void PreSerialize(Xml.XmlWriter writer) { } + protected internal virtual void Reset(ConfigurationElement parentElement) { } + protected internal virtual void ResetModified() { } + protected internal virtual bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal virtual bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected void SetPropertyValue(ConfigurationProperty prop, object value, bool ignoreLocks) { } + protected internal virtual void SetReadOnly() { } + protected internal virtual void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + public abstract partial class ConfigurationElementCollection : ConfigurationElement, Collections.ICollection, Collections.IEnumerable + { + protected ConfigurationElementCollection() { } + protected ConfigurationElementCollection(Collections.IComparer comparer) { } + protected internal string AddElementName { get { throw null; } set { } } + protected internal string ClearElementName { get { throw null; } set { } } + public virtual ConfigurationElementCollectionType CollectionType { get { throw null; } } + public int Count { get { throw null; } } + protected virtual string ElementName { get { throw null; } } + public bool EmitClear { get { throw null; } set { } } + public bool IsSynchronized { get { throw null; } } + protected internal string RemoveElementName { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + protected virtual bool ThrowOnDuplicate { get { throw null; } } + + protected internal void BaseAdd(ConfigurationElement element, bool throwIfExists) { } + protected virtual void BaseAdd(ConfigurationElement element) { } + protected virtual void BaseAdd(int index, ConfigurationElement element) { } + protected internal void BaseClear() { } + protected internal ConfigurationElement BaseGet(int index) { throw null; } + protected internal ConfigurationElement BaseGet(object key) { throw null; } + protected internal object[] BaseGetAllKeys() { throw null; } + protected internal object BaseGetKey(int index) { throw null; } + protected int BaseIndexOf(ConfigurationElement element) { throw null; } + protected internal bool BaseIsRemoved(object key) { throw null; } + protected internal void BaseRemove(object key) { } + protected internal void BaseRemoveAt(int index) { } + public void CopyTo(ConfigurationElement[] array, int index) { } + protected abstract ConfigurationElement CreateNewElement(); + protected virtual ConfigurationElement CreateNewElement(string elementName) { throw null; } + public override bool Equals(object compareTo) { throw null; } + protected abstract object GetElementKey(ConfigurationElement element); + public Collections.IEnumerator GetEnumerator() { throw null; } + public override int GetHashCode() { throw null; } + protected virtual bool IsElementName(string elementName) { throw null; } + protected virtual bool IsElementRemovable(ConfigurationElement element) { throw null; } + protected internal override bool IsModified() { throw null; } + public override bool IsReadOnly() { throw null; } + protected override bool OnDeserializeUnrecognizedElement(string elementName, Xml.XmlReader reader) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeElement(Xml.XmlWriter writer, bool serializeCollectionKey) { throw null; } + protected internal override void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array arr, int index) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public enum ConfigurationElementCollectionType + { + BasicMap = 0, + AddRemoveClearMap = 1, + BasicMapAlternate = 2, + AddRemoveClearMapAlternate = 3 + } + + public sealed partial class ConfigurationElementProperty + { + public ConfigurationElementProperty(ConfigurationValidatorBase validator) { } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public partial class ConfigurationErrorsException : ConfigurationException + { + public ConfigurationErrorsException() { } + protected ConfigurationErrorsException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ConfigurationErrorsException(string message, Exception inner, string filename, int line) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Exception inner, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message, Exception inner) { } + public ConfigurationErrorsException(string message, string filename, int line) { } + public ConfigurationErrorsException(string message, Xml.XmlNode node) { } + public ConfigurationErrorsException(string message, Xml.XmlReader reader) { } + public ConfigurationErrorsException(string message) { } + public Collections.ICollection Errors { get { throw null; } } + public override string Filename { get { throw null; } } + public override int Line { get { throw null; } } + public override string Message { get { throw null; } } + + public static string GetFilename(Xml.XmlNode node) { throw null; } + public static string GetFilename(Xml.XmlReader reader) { throw null; } + public static int GetLineNumber(Xml.XmlNode node) { throw null; } + public static int GetLineNumber(Xml.XmlReader reader) { throw null; } + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class ConfigurationException : SystemException + { + public ConfigurationException() { } + protected ConfigurationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ConfigurationException(string message, Exception inner, string filename, int line) { } + public ConfigurationException(string message, Exception inner, Xml.XmlNode node) { } + public ConfigurationException(string message, Exception inner) { } + public ConfigurationException(string message, string filename, int line) { } + public ConfigurationException(string message, Xml.XmlNode node) { } + public ConfigurationException(string message) { } + public virtual string BareMessage { get { throw null; } } + public virtual string Filename { get { throw null; } } + public virtual int Line { get { throw null; } } + public override string Message { get { throw null; } } + + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public static string GetXmlNodeFilename(Xml.XmlNode node) { throw null; } + public static int GetXmlNodeLineNumber(Xml.XmlNode node) { throw null; } + } + + public partial class ConfigurationFileMap : ICloneable + { + public ConfigurationFileMap() { } + public ConfigurationFileMap(string machineConfigFilename) { } + public string MachineConfigFilename { get { throw null; } set { } } + + public virtual object Clone() { throw null; } + } + + public partial class ConfigurationLocation + { + internal ConfigurationLocation() { } + public string Path { get { throw null; } } + + public Configuration OpenConfiguration() { throw null; } + } + public partial class ConfigurationLocationCollection : Collections.ReadOnlyCollectionBase + { + internal ConfigurationLocationCollection() { } + public ConfigurationLocation this[int index] { get { throw null; } } + } + + public sealed partial class ConfigurationLockCollection : Collections.ICollection, Collections.IEnumerable + { + internal ConfigurationLockCollection() { } + public string AttributeList { get { throw null; } } + public int Count { get { throw null; } } + public bool HasParentElements { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public object SyncRoot { get { throw null; } } + + public void Add(string name) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(string[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool IsReadOnly(string name) { throw null; } + public void Remove(string name) { } + public void SetFromList(string attributeList) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public static partial class ConfigurationManager + { + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + public static ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + + public static object GetSection(string sectionName) { throw null; } + public static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenExeConfiguration(string exePath) { throw null; } + public static Configuration OpenMachineConfiguration() { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel, bool preLoad) { throw null; } + public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, ConfigurationUserLevel userLevel) { throw null; } + public static Configuration OpenMappedMachineConfiguration(ConfigurationFileMap fileMap) { throw null; } + public static void RefreshSection(string sectionName) { } + } + public sealed partial class ConfigurationProperty + { + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ComponentModel.TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue, ConfigurationPropertyOptions options) { } + public ConfigurationProperty(string name, Type type, object defaultValue) { } + public ConfigurationProperty(string name, Type type) { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsAssemblyStringTransformationRequired { get { throw null; } } + public bool IsDefaultCollection { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsRequired { get { throw null; } } + public bool IsTypeStringTransformationRequired { get { throw null; } } + public bool IsVersionCheckRequired { get { throw null; } } + public string Name { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class ConfigurationPropertyAttribute : Attribute + { + public ConfigurationPropertyAttribute(string name) { } + public object DefaultValue { get { throw null; } set { } } + public bool IsDefaultCollection { get { throw null; } set { } } + public bool IsKey { get { throw null; } set { } } + public bool IsRequired { get { throw null; } set { } } + public string Name { get { throw null; } } + public ConfigurationPropertyOptions Options { get { throw null; } set { } } + } + + public partial class ConfigurationPropertyCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ConfigurationProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(ConfigurationProperty property) { } + public void Clear() { } + public bool Contains(string name) { throw null; } + public void CopyTo(ConfigurationProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public bool Remove(string name) { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + [Flags] + public enum ConfigurationPropertyOptions + { + None = 0, + IsDefaultCollection = 1, + IsRequired = 2, + IsKey = 4, + IsTypeStringTransformationRequired = 8, + IsAssemblyStringTransformationRequired = 16, + IsVersionCheckRequired = 32 + } + + public enum ConfigurationSaveMode + { + Modified = 0, + Minimal = 1, + Full = 2 + } + + public abstract partial class ConfigurationSection : ConfigurationElement + { + public SectionInformation SectionInformation { get { throw null; } } + + protected internal virtual void DeserializeSection(Xml.XmlReader reader) { } + protected internal virtual object GetRuntimeObject() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void ResetModified() { } + protected internal virtual string SerializeSection(ConfigurationElement parentElement, string name, ConfigurationSaveMode saveMode) { throw null; } + protected internal virtual bool ShouldSerializeElementInTargetVersion(ConfigurationElement element, string elementName, Runtime.Versioning.FrameworkName targetFramework) { throw null; } + protected internal virtual bool ShouldSerializePropertyInTargetVersion(ConfigurationProperty property, string propertyName, Runtime.Versioning.FrameworkName targetFramework, ConfigurationElement parentConfigurationElement) { throw null; } + protected internal virtual bool ShouldSerializeSectionInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + + public sealed partial class ConfigurationSectionCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionCollection() { } + public ConfigurationSection this[int index] { get { throw null; } } + + public ConfigurationSection this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSection section) { } + public void Clear() { } + public void CopyTo(ConfigurationSection[] array, int index) { } + public ConfigurationSection Get(int index) { throw null; } + public ConfigurationSection Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public partial class ConfigurationSectionGroup + { + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public string Name { get { throw null; } } + public string SectionGroupName { get { throw null; } } + public ConfigurationSectionGroupCollection SectionGroups { get { throw null; } } + public ConfigurationSectionCollection Sections { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + protected internal virtual bool ShouldSerializeSectionGroupInTargetVersion(Runtime.Versioning.FrameworkName targetFramework) { throw null; } + } + public sealed partial class ConfigurationSectionGroupCollection : Collections.Specialized.NameObjectCollectionBase + { + internal ConfigurationSectionGroupCollection() { } + public ConfigurationSectionGroup this[int index] { get { throw null; } } + + public ConfigurationSectionGroup this[string name] { get { throw null; } } + + public void Add(string name, ConfigurationSectionGroup sectionGroup) { } + public void Clear() { } + public void CopyTo(ConfigurationSectionGroup[] array, int index) { } + public ConfigurationSectionGroup Get(int index) { throw null; } + public ConfigurationSectionGroup Get(string name) { throw null; } + public override Collections.IEnumerator GetEnumerator() { throw null; } + public string GetKey(int index) { throw null; } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConfigurationSettings + { + internal ConfigurationSettings() { } + public static Collections.Specialized.NameValueCollection AppSettings { get { throw null; } } + + public static object GetConfig(string sectionName) { throw null; } + } + public enum ConfigurationUserLevel + { + None = 0, + PerUserRoaming = 10, + PerUserRoamingAndLocal = 20 + } + + [AttributeUsage(AttributeTargets.Property)] + public partial class ConfigurationValidatorAttribute : Attribute + { + protected ConfigurationValidatorAttribute() { } + public ConfigurationValidatorAttribute(Type validator) { } + public virtual ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + public Type ValidatorType { get { throw null; } } + } + + public abstract partial class ConfigurationValidatorBase + { + public virtual bool CanValidate(Type type) { throw null; } + public abstract void Validate(object value); + } + public sealed partial class ConfigXmlDocument : Xml.XmlDocument, Internal.IConfigErrorInfo + { + public string Filename { get { throw null; } } + public int LineNumber { get { throw null; } } + + string Internal.IConfigErrorInfo.Filename { get { throw null; } } + + int Internal.IConfigErrorInfo.LineNumber { get { throw null; } } + + public override Xml.XmlAttribute CreateAttribute(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlCDataSection CreateCDataSection(string data) { throw null; } + public override Xml.XmlComment CreateComment(string data) { throw null; } + public override Xml.XmlElement CreateElement(string prefix, string localName, string namespaceUri) { throw null; } + public override Xml.XmlSignificantWhitespace CreateSignificantWhitespace(string data) { throw null; } + public override Xml.XmlText CreateTextNode(string text) { throw null; } + public override Xml.XmlWhitespace CreateWhitespace(string data) { throw null; } + public override void Load(string filename) { } + public void LoadSingleElement(string filename, Xml.XmlTextReader sourceReader) { } + } + + public sealed partial class ConnectionStringSettings : ConfigurationElement + { + public ConnectionStringSettings() { } + public ConnectionStringSettings(string name, string connectionString, string providerName) { } + public ConnectionStringSettings(string name, string connectionString) { } + public string ConnectionString { get { throw null; } set { } } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string ProviderName { get { throw null; } set { } } + + public override string ToString() { throw null; } + } + + [ConfigurationCollection(typeof(ConnectionStringSettings))] + public sealed partial class ConnectionStringSettingsCollection : ConfigurationElementCollection + { + public ConnectionStringSettings this[int index] { get { throw null; } set { } } + + public ConnectionStringSettings this[string name] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ConnectionStringSettings settings) { } + protected override void BaseAdd(int index, ConfigurationElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(ConnectionStringSettings settings) { throw null; } + public void Remove(ConnectionStringSettings settings) { } + public void Remove(string name) { } + public void RemoveAt(int index) { } + } + + public sealed partial class ConnectionStringsSection : ConfigurationSection + { + public ConnectionStringSettingsCollection ConnectionStrings { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override object GetRuntimeObject() { throw null; } + } + + public sealed partial class ContextInformation + { + internal ContextInformation() { } + public object HostingContext { get { throw null; } } + public bool IsMachineLevel { get { throw null; } } + + public object GetSection(string sectionName) { throw null; } + } + public sealed partial class DefaultSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class DefaultSettingValueAttribute : Attribute + { + public DefaultSettingValueAttribute(string value) { } + public string Value { get { throw null; } } + } + + public sealed partial class DefaultValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + public partial class DictionarySectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + public sealed partial class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public bool UseMachineProtection { get { throw null; } } + + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection configurationValues) { } + } + + public sealed partial class ElementInformation + { + internal ElementInformation() { } + public Collections.ICollection Errors { get { throw null; } } + public bool IsCollection { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsPresent { get { throw null; } } + public int LineNumber { get { throw null; } } + public PropertyInformationCollection Properties { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + } + public sealed partial class ExeConfigurationFileMap : ConfigurationFileMap + { + public ExeConfigurationFileMap() { } + public ExeConfigurationFileMap(string machineConfigFileName) { } + public string ExeConfigFilename { get { throw null; } set { } } + public string LocalUserConfigFilename { get { throw null; } set { } } + public string RoamingUserConfigFilename { get { throw null; } set { } } + + public override object Clone() { throw null; } + } + + public sealed partial class ExeContext + { + internal ExeContext() { } + public string ExePath { get { throw null; } } + public ConfigurationUserLevel UserLevel { get { throw null; } } + } + public sealed partial class GenericEnumConverter : ConfigurationConverterBase + { + public GenericEnumConverter(Type typeEnum) { } + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial interface IApplicationSettingsProvider + { + SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property); + void Reset(SettingsContext context); + void Upgrade(SettingsContext context, SettingsPropertyCollection properties); + } + + public partial interface IConfigurationSectionHandler + { + object Create(object parent, object configContext, Xml.XmlNode section); + } + + public partial interface IConfigurationSystem + { + object GetConfig(string configKey); + void Init(); + } + + public sealed partial class IdnElement : ConfigurationElement + { + public UriIdnScope Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public sealed partial class IgnoreSection : ConfigurationSection + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + protected internal override void DeserializeSection(Xml.XmlReader xmlReader) { } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentSection) { } + protected internal override void ResetModified() { } + protected internal override string SerializeSection(ConfigurationElement parentSection, string name, ConfigurationSaveMode saveMode) { throw null; } + } + + public partial class IgnoreSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public sealed partial class InfiniteIntConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class InfiniteTimeSpanConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class IntegerValidator : ConfigurationValidatorBase + { + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive, int resolution) { } + public IntegerValidator(int minValue, int maxValue, bool rangeIsExclusive) { } + public IntegerValidator(int minValue, int maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class IntegerValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public int MaxValue { get { throw null; } set { } } + public int MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial interface IPersistComponentSettings + { + bool SaveSettings { get; set; } + + string SettingsKey { get; set; } + + void LoadComponentSettings(); + void ResetComponentSettings(); + void SaveComponentSettings(); + } + + public sealed partial class IriParsingElement : ConfigurationElement + { + public bool Enabled { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + public partial interface ISettingsProviderService + { + SettingsProvider GetSettingsProvider(SettingsProperty property); + } + + [ConfigurationCollection(typeof(KeyValueConfigurationElement))] + public partial class KeyValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public KeyValueConfigurationElement this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + protected override bool ThrowOnDuplicate { get { throw null; } } + + public void Add(KeyValueConfigurationElement keyValue) { } + public void Add(string key, string value) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string key) { } + } + + public partial class KeyValueConfigurationElement : ConfigurationElement + { + public KeyValueConfigurationElement(string key, string value) { } + public string Key { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + + protected internal override void Init() { } + } + + public partial class LocalFileSettingsProvider : SettingsProvider, IApplicationSettingsProvider + { + public override string ApplicationName { get { throw null; } set { } } + + public SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property) { throw null; } + public override SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) { throw null; } + public override void Initialize(string name, Collections.Specialized.NameValueCollection values) { } + public void Reset(SettingsContext context) { } + public override void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values) { } + public void Upgrade(SettingsContext context, SettingsPropertyCollection properties) { } + } + + public partial class LongValidator : ConfigurationValidatorBase + { + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive, long resolution) { } + public LongValidator(long minValue, long maxValue, bool rangeIsExclusive) { } + public LongValidator(long minValue, long maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class LongValidatorAttribute : ConfigurationValidatorAttribute + { + public bool ExcludeRange { get { throw null; } set { } } + public long MaxValue { get { throw null; } set { } } + public long MinValue { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + [ConfigurationCollection(typeof(NameValueConfigurationElement))] + public sealed partial class NameValueConfigurationCollection : ConfigurationElementCollection + { + public string[] AllKeys { get { throw null; } } + + public NameValueConfigurationElement this[string name] { get { throw null; } set { } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(NameValueConfigurationElement nameValue) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(NameValueConfigurationElement nameValue) { } + public void Remove(string name) { } + } + + public sealed partial class NameValueConfigurationElement : ConfigurationElement + { + public NameValueConfigurationElement(string name, string value) { } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Value { get { throw null; } set { } } + } + + public partial class NameValueFileSectionHandler : IConfigurationSectionHandler + { + public object Create(object parent, object configContext, Xml.XmlNode section) { throw null; } + } + + public partial class NameValueSectionHandler : IConfigurationSectionHandler + { + protected virtual string KeyAttributeName { get { throw null; } } + protected virtual string ValueAttributeName { get { throw null; } } + + public object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class NoSettingsVersionUpgradeAttribute : Attribute + { + } + + public enum OverrideMode + { + Inherit = 0, + Allow = 1, + Deny = 2 + } + + public partial class PositiveTimeSpanValidator : ConfigurationValidatorBase + { + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class PositiveTimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class PropertyInformation + { + internal PropertyInformation() { } + public ComponentModel.TypeConverter Converter { get { throw null; } } + public object DefaultValue { get { throw null; } } + public string Description { get { throw null; } } + public bool IsKey { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsModified { get { throw null; } } + public bool IsRequired { get { throw null; } } + public int LineNumber { get { throw null; } } + public string Name { get { throw null; } } + public string Source { get { throw null; } } + public Type Type { get { throw null; } } + public ConfigurationValidatorBase Validator { get { throw null; } } + public object Value { get { throw null; } set { } } + public PropertyValueOrigin ValueOrigin { get { throw null; } } + } + public sealed partial class PropertyInformationCollection : Collections.Specialized.NameObjectCollectionBase + { + internal PropertyInformationCollection() { } + public PropertyInformation this[string propertyName] { get { throw null; } } + + public void CopyTo(PropertyInformation[] array, int index) { } + public override Collections.IEnumerator GetEnumerator() { throw null; } + } + + public enum PropertyValueOrigin + { + Default = 0, + Inherited = 1, + SetHere = 2 + } + + public static partial class ProtectedConfiguration + { + public const string DataProtectionProviderName = "DataProtectionConfigurationProvider"; + public const string ProtectedDataSectionName = "configProtectedData"; + public const string RsaProviderName = "RsaProtectedConfigurationProvider"; + public static string DefaultProvider { get { throw null; } } + public static ProtectedConfigurationProviderCollection Providers { get { throw null; } } + } + public abstract partial class ProtectedConfigurationProvider : Provider.ProviderBase + { + public abstract Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode); + public abstract Xml.XmlNode Encrypt(Xml.XmlNode node); + } + + public partial class ProtectedConfigurationProviderCollection : Provider.ProviderCollection + { + public new ProtectedConfigurationProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public sealed partial class ProtectedConfigurationSection : ConfigurationSection + { + public string DefaultProvider { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public partial class ProtectedProviderSettings : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public ProviderSettingsCollection Providers { get { throw null; } } + } + + public sealed partial class ProviderSettings : ConfigurationElement + { + public ProviderSettings() { } + public ProviderSettings(string name, string type) { } + public string Name { get { throw null; } set { } } + public Collections.Specialized.NameValueCollection Parameters { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public string Type { get { throw null; } set { } } + + protected internal override bool IsModified() { throw null; } + protected override bool OnDeserializeUnrecognizedAttribute(string name, string value) { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + [ConfigurationCollection(typeof(ProviderSettings))] + public sealed partial class ProviderSettingsCollection : ConfigurationElementCollection + { + public ProviderSettings this[int index] { get { throw null; } set { } } + + public ProviderSettings this[string key] { get { throw null; } } + + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + + public void Add(ProviderSettings provider) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(string name) { } + } + + public partial class RegexStringValidator : ConfigurationValidatorBase + { + public RegexStringValidator(string regex) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class RegexStringValidatorAttribute : ConfigurationValidatorAttribute + { + public RegexStringValidatorAttribute(string regex) { } + public string Regex { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class RsaProtectedConfigurationProvider : ProtectedConfigurationProvider + { + public string CspProviderName { get { throw null; } } + public string KeyContainerName { get { throw null; } } + public Security.Cryptography.RSAParameters RsaPublicKey { get { throw null; } } + public bool UseFIPS { get { throw null; } } + public bool UseMachineContainer { get { throw null; } } + public bool UseOAEP { get { throw null; } } + + public void AddKey(int keySize, bool exportable) { } + public override Xml.XmlNode Decrypt(Xml.XmlNode encryptedNode) { throw null; } + public void DeleteKey() { } + public override Xml.XmlNode Encrypt(Xml.XmlNode node) { throw null; } + public void ExportKey(string xmlFileName, bool includePrivateParameters) { } + public void ImportKey(string xmlFileName, bool exportable) { } + } + + public sealed partial class SchemeSettingElement : ConfigurationElement + { + public GenericUriParserOptions GenericUriParserOptions { get { throw null; } } + public string Name { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + } + + [ConfigurationCollection(typeof(SchemeSettingElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] + public sealed partial class SchemeSettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + + public SchemeSettingElement this[int index] { get { throw null; } } + + public SchemeSettingElement this[string name] { get { throw null; } } + + protected override ConfigurationElement CreateNewElement() { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public int IndexOf(SchemeSettingElement element) { throw null; } + } + + public sealed partial class SectionInformation + { + internal SectionInformation() { } + public ConfigurationAllowDefinition AllowDefinition { get { throw null; } set { } } + public ConfigurationAllowExeDefinition AllowExeDefinition { get { throw null; } set { } } + public bool AllowLocation { get { throw null; } set { } } + public bool AllowOverride { get { throw null; } set { } } + public string ConfigSource { get { throw null; } set { } } + public bool ForceSave { get { throw null; } set { } } + public bool InheritInChildApplications { get { throw null; } set { } } + public bool IsDeclarationRequired { get { throw null; } } + public bool IsDeclared { get { throw null; } } + public bool IsLocked { get { throw null; } } + public bool IsProtected { get { throw null; } } + public string Name { get { throw null; } } + public OverrideMode OverrideMode { get { throw null; } set { } } + public OverrideMode OverrideModeDefault { get { throw null; } set { } } + public OverrideMode OverrideModeEffective { get { throw null; } } + public ProtectedConfigurationProvider ProtectionProvider { get { throw null; } } + public bool RequirePermission { get { throw null; } set { } } + public bool RestartOnExternalChanges { get { throw null; } set { } } + public string SectionName { get { throw null; } } + public string Type { get { throw null; } set { } } + + public void ForceDeclaration() { } + public void ForceDeclaration(bool force) { } + public ConfigurationSection GetParentSection() { throw null; } + public string GetRawXml() { throw null; } + public void ProtectSection(string protectionProvider) { } + public void RevertToParent() { } + public void SetRawXml(string rawXml) { } + public void UnprotectSection() { } + } + [AttributeUsage(AttributeTargets.Property)] + public partial class SettingAttribute : Attribute + { + } + + public partial class SettingChangingEventArgs : ComponentModel.CancelEventArgs + { + public SettingChangingEventArgs(string settingName, string settingClass, string settingKey, object newValue, bool cancel) { } + public object NewValue { get { throw null; } } + public string SettingClass { get { throw null; } } + public string SettingKey { get { throw null; } } + public string SettingName { get { throw null; } } + } + + public delegate void SettingChangingEventHandler(object sender, SettingChangingEventArgs e); + public sealed partial class SettingElement : ConfigurationElement + { + public SettingElement() { } + public SettingElement(string name, SettingsSerializeAs serializeAs) { } + public string Name { get { throw null; } set { } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public SettingValueElement Value { get { throw null; } set { } } + + public override bool Equals(object settings) { throw null; } + public override int GetHashCode() { throw null; } + } + + public sealed partial class SettingElementCollection : ConfigurationElementCollection + { + public override ConfigurationElementCollectionType CollectionType { get { throw null; } } + protected override string ElementName { get { throw null; } } + + public void Add(SettingElement element) { } + public void Clear() { } + protected override ConfigurationElement CreateNewElement() { throw null; } + public SettingElement Get(string elementKey) { throw null; } + protected override object GetElementKey(ConfigurationElement element) { throw null; } + public void Remove(SettingElement element) { } + } + + public partial class SettingsAttributeDictionary : Collections.Hashtable + { + public SettingsAttributeDictionary() { } + public SettingsAttributeDictionary(SettingsAttributeDictionary attributes) { } + protected SettingsAttributeDictionary(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + public abstract partial class SettingsBase + { + public virtual SettingsContext Context { get { throw null; } } + + [ComponentModel.Browsable(false)] + public bool IsSynchronized { get { throw null; } } + + public virtual object this[string propertyName] { get { throw null; } set { } } + + public virtual SettingsPropertyCollection Properties { get { throw null; } } + public virtual SettingsPropertyValueCollection PropertyValues { get { throw null; } } + public virtual SettingsProviderCollection Providers { get { throw null; } } + + public void Initialize(SettingsContext context, SettingsPropertyCollection properties, SettingsProviderCollection providers) { } + public virtual void Save() { } + public static SettingsBase Synchronized(SettingsBase settingsBase) { throw null; } + } + public partial class SettingsContext : Collections.Hashtable + { + public SettingsContext() { } + protected SettingsContext(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SettingsDescriptionAttribute : Attribute + { + public SettingsDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupDescriptionAttribute : Attribute + { + public SettingsGroupDescriptionAttribute(string description) { } + public string Description { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class)] + public sealed partial class SettingsGroupNameAttribute : Attribute + { + public SettingsGroupNameAttribute(string groupName) { } + public string GroupName { get { throw null; } } + } + + public partial class SettingsLoadedEventArgs : EventArgs + { + public SettingsLoadedEventArgs(SettingsProvider provider) { } + public SettingsProvider Provider { get { throw null; } } + } + + public delegate void SettingsLoadedEventHandler(object sender, SettingsLoadedEventArgs e); + public enum SettingsManageability + { + Roaming = 0 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsManageabilityAttribute : Attribute + { + public SettingsManageabilityAttribute(SettingsManageability manageability) { } + public SettingsManageability Manageability { get { throw null; } } + } + + public partial class SettingsProperty + { + public SettingsProperty(SettingsProperty propertyToCopy) { } + public SettingsProperty(string name, Type propertyType, SettingsProvider provider, bool isReadOnly, object defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing) { } + public SettingsProperty(string name) { } + public virtual SettingsAttributeDictionary Attributes { get { throw null; } } + public virtual object DefaultValue { get { throw null; } set { } } + public virtual bool IsReadOnly { get { throw null; } set { } } + public virtual string Name { get { throw null; } set { } } + public virtual Type PropertyType { get { throw null; } set { } } + public virtual SettingsProvider Provider { get { throw null; } set { } } + public virtual SettingsSerializeAs SerializeAs { get { throw null; } set { } } + public bool ThrowOnErrorDeserializing { get { throw null; } set { } } + public bool ThrowOnErrorSerializing { get { throw null; } set { } } + } + public partial class SettingsPropertyCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsProperty this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsProperty property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + protected virtual void OnAdd(SettingsProperty property) { } + protected virtual void OnAddComplete(SettingsProperty property) { } + protected virtual void OnClear() { } + protected virtual void OnClearComplete() { } + protected virtual void OnRemove(SettingsProperty property) { } + protected virtual void OnRemoveComplete(SettingsProperty property) { } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyIsReadOnlyException : Exception + { + public SettingsPropertyIsReadOnlyException() { } + protected SettingsPropertyIsReadOnlyException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyIsReadOnlyException(string message, Exception innerException) { } + public SettingsPropertyIsReadOnlyException(string message) { } + } + + public partial class SettingsPropertyNotFoundException : Exception + { + public SettingsPropertyNotFoundException() { } + protected SettingsPropertyNotFoundException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyNotFoundException(string message, Exception innerException) { } + public SettingsPropertyNotFoundException(string message) { } + } + + public partial class SettingsPropertyValue + { + public SettingsPropertyValue(SettingsProperty property) { } + public bool Deserialized { get { throw null; } set { } } + public bool IsDirty { get { throw null; } set { } } + public string Name { get { throw null; } } + public SettingsProperty Property { get { throw null; } } + public object PropertyValue { get { throw null; } set { } } + public object SerializedValue { get { throw null; } set { } } + public bool UsingDefaultValue { get { throw null; } } + } + public partial class SettingsPropertyValueCollection : Collections.IEnumerable, ICloneable, Collections.ICollection + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SettingsPropertyValue this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void Add(SettingsPropertyValue property) { } + public void Clear() { } + public object Clone() { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + } + + public partial class SettingsPropertyWrongTypeException : Exception + { + public SettingsPropertyWrongTypeException() { } + protected SettingsPropertyWrongTypeException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public SettingsPropertyWrongTypeException(string message, Exception innerException) { } + public SettingsPropertyWrongTypeException(string message) { } + } + + public abstract partial class SettingsProvider : Provider.ProviderBase + { + public abstract string ApplicationName { get; set; } + + public abstract SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection); + public abstract void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection); + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsProviderAttribute : Attribute + { + public SettingsProviderAttribute(string providerTypeName) { } + public SettingsProviderAttribute(Type providerType) { } + public string ProviderTypeName { get { throw null; } } + } + + public partial class SettingsProviderCollection : Provider.ProviderCollection + { + public new SettingsProvider this[string name] { get { throw null; } } + + public override void Add(Provider.ProviderBase provider) { } + } + + public delegate void SettingsSavingEventHandler(object sender, ComponentModel.CancelEventArgs e); + public enum SettingsSerializeAs + { + String = 0, + Xml = 1, + Binary = 2, + ProviderSpecific = 3 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SettingsSerializeAsAttribute : Attribute + { + public SettingsSerializeAsAttribute(SettingsSerializeAs serializeAs) { } + public SettingsSerializeAs SerializeAs { get { throw null; } } + } + + public sealed partial class SettingValueElement : ConfigurationElement + { + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public Xml.XmlNode ValueXml { get { throw null; } set { } } + + protected internal override void DeserializeElement(Xml.XmlReader reader, bool serializeCollectionKey) { } + public override bool Equals(object settingValue) { throw null; } + public override int GetHashCode() { throw null; } + protected internal override bool IsModified() { throw null; } + protected internal override void Reset(ConfigurationElement parentElement) { } + protected internal override void ResetModified() { } + protected internal override bool SerializeToXmlElement(Xml.XmlWriter writer, string elementName) { throw null; } + protected internal override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { } + } + + public partial class SingleTagSectionHandler : IConfigurationSectionHandler + { + public virtual object Create(object parent, object context, Xml.XmlNode section) { throw null; } + } + + public enum SpecialSetting + { + ConnectionString = 0, + WebServiceUrl = 1 + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public sealed partial class SpecialSettingAttribute : Attribute + { + public SpecialSettingAttribute(SpecialSetting specialSetting) { } + public SpecialSetting SpecialSetting { get { throw null; } } + } + + public partial class StringValidator : ConfigurationValidatorBase + { + public StringValidator(int minLength, int maxLength, string invalidCharacters) { } + public StringValidator(int minLength, int maxLength) { } + public StringValidator(int minLength) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class StringValidatorAttribute : ConfigurationValidatorAttribute + { + public string InvalidCharacters { get { throw null; } set { } } + public int MaxLength { get { throw null; } set { } } + public int MinLength { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class SubclassTypeValidator : ConfigurationValidatorBase + { + public SubclassTypeValidator(Type baseClass) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class SubclassTypeValidatorAttribute : ConfigurationValidatorAttribute + { + public SubclassTypeValidatorAttribute(Type baseClass) { } + public Type BaseClass { get { throw null; } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public partial class TimeSpanMinutesConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanMinutesOrInfiniteConverter : TimeSpanMinutesConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanSecondsConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class TimeSpanSecondsOrInfiniteConverter : TimeSpanSecondsConverter + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public partial class TimeSpanValidator : ConfigurationValidatorBase + { + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive, long resolutionInSeconds) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive) { } + public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue) { } + public override bool CanValidate(Type type) { throw null; } + public override void Validate(object value) { } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class TimeSpanValidatorAttribute : ConfigurationValidatorAttribute + { + public const string TimeSpanMaxValue = "10675199.02:48:05.4775807"; + public const string TimeSpanMinValue = "-10675199.02:48:05.4775808"; + public bool ExcludeRange { get { throw null; } set { } } + public TimeSpan MaxValue { get { throw null; } } + public string MaxValueString { get { throw null; } set { } } + public TimeSpan MinValue { get { throw null; } } + public string MinValueString { get { throw null; } set { } } + public override ConfigurationValidatorBase ValidatorInstance { get { throw null; } } + } + + public sealed partial class TypeNameConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } + + public sealed partial class UriSection : ConfigurationSection + { + public IdnElement Idn { get { throw null; } } + public IriParsingElement IriParsing { get { throw null; } } + protected internal override ConfigurationPropertyCollection Properties { get { throw null; } } + public SchemeSettingElementCollection SchemeSettings { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property)] + public sealed partial class UserScopedSettingAttribute : SettingAttribute + { + } + + public sealed partial class UserSettingsGroup : ConfigurationSectionGroup + { + } + + public delegate void ValidatorCallback(object value); + public sealed partial class WhiteSpaceTrimStringConverter : ConfigurationConverterBase + { + public override object ConvertFrom(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object data) { throw null; } + public override object ConvertTo(ComponentModel.ITypeDescriptorContext ctx, Globalization.CultureInfo ci, object value, Type type) { throw null; } + } +} + +namespace System.Configuration.Internal +{ + public partial class DelegatingConfigHost : IInternalConfigHost + { + protected DelegatingConfigHost() { } + public virtual bool HasLocalConfig { get { throw null; } } + public virtual bool HasRoamingConfig { get { throw null; } } + protected IInternalConfigHost Host { get { throw null; } set { } } + public virtual bool IsAppConfigHttp { get { throw null; } } + public virtual bool IsRemote { get { throw null; } } + public virtual bool SupportsChangeNotifications { get { throw null; } } + public virtual bool SupportsLocation { get { throw null; } } + public virtual bool SupportsPath { get { throw null; } } + public virtual bool SupportsRefresh { get { throw null; } } + + public virtual object CreateConfigurationContext(string configPath, string locationSubPath) { throw null; } + public virtual object CreateDeprecatedConfigContext(string configPath) { throw null; } + public virtual string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual void DeleteStream(string streamName) { } + public virtual string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { throw null; } + public virtual string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath) { throw null; } + public virtual Type GetConfigType(string typeName, bool throwOnError) { throw null; } + public virtual string GetConfigTypeName(Type t) { throw null; } + public virtual void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady) { throw null; } + public virtual string GetStreamName(string configPath) { throw null; } + public virtual string GetStreamNameForConfigSource(string streamName, string configSource) { throw null; } + public virtual object GetStreamVersion(string streamName) { throw null; } + public virtual IDisposable Impersonate() { throw null; } + public virtual void Init(IInternalConfigRoot configRoot, params object[] hostInitParams) { } + public virtual void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams) { throw null; } + public virtual bool IsAboveApplication(string configPath) { throw null; } + public virtual bool IsConfigRecordRequired(string configPath) { throw null; } + public virtual bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) { throw null; } + public virtual bool IsFile(string streamName) { throw null; } + public virtual bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsInitDelayed(IInternalConfigRecord configRecord) { throw null; } + public virtual bool IsLocationApplicable(string configPath) { throw null; } + public virtual bool IsSecondaryRoot(string configPath) { throw null; } + public virtual bool IsTrustedConfigPath(string configPath) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForRead(string streamName) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) { throw null; } + public virtual IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { throw null; } + public virtual bool PrefetchAll(string configPath, string streamName) { throw null; } + public virtual bool PrefetchSection(string sectionGroupName, string sectionName) { throw null; } + public virtual void RefreshConfigPaths() { } + public virtual void RequireCompleteInit(IInternalConfigRecord configRecord) { } + public virtual object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { throw null; } + public virtual void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback) { } + public virtual void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions) { } + public virtual void WriteCompleted(string streamName, bool success, object writeContext) { } + } + + public partial interface IConfigErrorInfo + { + string Filename { get; } + + int LineNumber { get; } + } + + public partial interface IConfigSystem + { + IInternalConfigHost Host { get; } + + IInternalConfigRoot Root { get; } + + void Init(Type typeConfigHost, params object[] hostInitParams); + } + + public partial interface IConfigurationManagerHelper + { + void EnsureNetConfigLoaded(); + } + + public partial interface IConfigurationManagerInternal + { + string ApplicationConfigUri { get; } + + string ExeLocalConfigDirectory { get; } + + string ExeLocalConfigPath { get; } + + string ExeProductName { get; } + + string ExeProductVersion { get; } + + string ExeRoamingConfigDirectory { get; } + + string ExeRoamingConfigPath { get; } + + string MachineConfigPath { get; } + + bool SetConfigurationSystemInProgress { get; } + + bool SupportsUserConfig { get; } + + string UserConfigFilename { get; } + } + + public partial interface IInternalConfigClientHost + { + string GetExeConfigPath(); + string GetLocalUserConfigPath(); + string GetRoamingUserConfigPath(); + bool IsExeConfig(string configPath); + bool IsLocalUserConfig(string configPath); + bool IsRoamingUserConfig(string configPath); + } + + public partial interface IInternalConfigConfigurationFactory + { + Configuration Create(Type typeConfigHost, params object[] hostInitConfigurationParams); + string NormalizeLocationSubPath(string subPath, IConfigErrorInfo errorInfo); + } + + public partial interface IInternalConfigHost + { + bool IsRemote { get; } + + bool SupportsChangeNotifications { get; } + + bool SupportsLocation { get; } + + bool SupportsPath { get; } + + bool SupportsRefresh { get; } + + object CreateConfigurationContext(string configPath, string locationSubPath); + object CreateDeprecatedConfigContext(string configPath); + string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + void DeleteStream(string streamName); + string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); + string GetConfigPathFromLocationSubPath(string configPath, string locationSubPath); + Type GetConfigType(string typeName, bool throwOnError); + string GetConfigTypeName(Type t); + void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady); + string GetStreamName(string configPath); + string GetStreamNameForConfigSource(string streamName, string configSource); + object GetStreamVersion(string streamName); + IDisposable Impersonate(); + void Init(IInternalConfigRoot configRoot, params object[] hostInitParams); + void InitForConfiguration(ref string locationSubPath, out string configPath, out string locationConfigPath, IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams); + bool IsAboveApplication(string configPath); + bool IsConfigRecordRequired(string configPath); + bool IsDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition); + bool IsFile(string streamName); + bool IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord configRecord); + bool IsInitDelayed(IInternalConfigRecord configRecord); + bool IsLocationApplicable(string configPath); + bool IsSecondaryRoot(string configPath); + bool IsTrustedConfigPath(string configPath); + IO.Stream OpenStreamForRead(string streamName, bool assertPermissions); + IO.Stream OpenStreamForRead(string streamName); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions); + IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext); + bool PrefetchAll(string configPath, string streamName); + bool PrefetchSection(string sectionGroupName, string sectionName); + void RequireCompleteInit(IInternalConfigRecord configRecord); + object StartMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void StopMonitoringStreamForChanges(string streamName, StreamChangeCallback callback); + void VerifyDefinitionAllowed(string configPath, ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo); + void WriteCompleted(string streamName, bool success, object writeContext, bool assertPermissions); + void WriteCompleted(string streamName, bool success, object writeContext); + } + + public partial interface IInternalConfigRecord + { + string ConfigPath { get; } + + bool HasInitErrors { get; } + + string StreamName { get; } + + object GetLkgSection(string configKey); + object GetSection(string configKey); + void RefreshSection(string configKey); + void Remove(); + void ThrowIfInitErrors(); + } + + public partial interface IInternalConfigRoot + { + bool IsDesignTime { get; } + + event InternalConfigEventHandler ConfigChanged; + event InternalConfigEventHandler ConfigRemoved; + IInternalConfigRecord GetConfigRecord(string configPath); + object GetSection(string section, string configPath); + string GetUniqueConfigPath(string configPath); + IInternalConfigRecord GetUniqueConfigRecord(string configPath); + void Init(IInternalConfigHost host, bool isDesignTime); + void RemoveConfig(string configPath); + } + + public partial interface IInternalConfigSettingsFactory + { + void CompleteInit(); + void SetConfigurationSystem(IInternalConfigSystem internalConfigSystem, bool initComplete); + } + + public partial interface IInternalConfigSystem + { + bool SupportsUserConfig { get; } + + object GetSection(string configKey); + void RefreshConfig(string sectionName); + } + + public sealed partial class InternalConfigEventArgs : EventArgs + { + public InternalConfigEventArgs(string configPath) { } + public string ConfigPath { get { throw null; } set { } } + } + + public delegate void InternalConfigEventHandler(object sender, InternalConfigEventArgs e); + public delegate void StreamChangeCallback(string streamName); +} + +namespace System.Configuration.Provider +{ + public abstract partial class ProviderBase + { + public virtual string Description { get { throw null; } } + public virtual string Name { get { throw null; } } + + public virtual void Initialize(string name, Collections.Specialized.NameValueCollection config) { } + } + public partial class ProviderCollection : Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public ProviderBase this[string name] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public virtual void Add(ProviderBase provider) { } + public void Clear() { } + public void CopyTo(ProviderBase[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public void Remove(string name) { } + public void SetReadOnly() { } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public partial class ProviderException : Exception + { + public ProviderException() { } + protected ProviderException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ProviderException(string message, Exception innerException) { } + public ProviderException(string message) { } + } +} + +namespace System.Drawing.Configuration +{ + public sealed partial class SystemDrawingSection : System.Configuration.ConfigurationSection + { + public string BitmapSuffix { get { throw null; } set { } } + protected internal override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/system.configuration.configurationmanager.nuspec b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/system.configuration.configurationmanager.nuspec new file mode 100644 index 0000000000..6e0d8a97a4 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/9.0.0/system.configuration.configurationmanager.nuspec @@ -0,0 +1,29 @@ + + + + System.Configuration.ConfigurationManager + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types that support using XML configuration files (app.config). This package exists only to support migrating existing .NET Framework code that already uses System.Configuration. When writing new code, use another configuration system instead, such as Microsoft.Extensions.Configuration. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/Customizations.props b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/Customizations.props new file mode 100644 index 0000000000..be524db64e --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/Customizations.props @@ -0,0 +1,5 @@ + + + + + diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/System.Diagnostics.DiagnosticSource.9.0.0.csproj b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/System.Diagnostics.DiagnosticSource.9.0.0.csproj new file mode 100644 index 0000000000..472ac63de5 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/System.Diagnostics.DiagnosticSource.9.0.0.csproj @@ -0,0 +1,15 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Diagnostics.DiagnosticSource + Open + + + + + + + + diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net8.0/System.Diagnostics.DiagnosticSource.cs b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net8.0/System.Diagnostics.DiagnosticSource.cs new file mode 100644 index 0000000000..f422af6c5e --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net8.0/System.Diagnostics.DiagnosticSource.cs @@ -0,0 +1,619 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.DiagnosticSource")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools)\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.DiagnosticListener\r\nSystem.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.IsExternalInit))] +namespace System.Diagnostics +{ + public partial class Activity : IDisposable + { + public Activity(string operationName) { } + public ActivityTraceFlags ActivityTraceFlags { get { throw null; } set { } } + public Collections.Generic.IEnumerable> Baggage { get { throw null; } } + public ActivityContext Context { get { throw null; } } + public static Activity? Current { get { throw null; } set { } } + public static ActivityIdFormat DefaultIdFormat { get { throw null; } set { } } + public string DisplayName { get { throw null; } set { } } + public TimeSpan Duration { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public static bool ForceDefaultIdFormat { get { throw null; } set { } } + public bool HasRemoteParent { get { throw null; } } + public string? Id { get { throw null; } } + public ActivityIdFormat IdFormat { get { throw null; } } + public bool IsAllDataRequested { get { throw null; } set { } } + public bool IsStopped { get { throw null; } } + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable Links { get { throw null; } } + public string OperationName { get { throw null; } } + public Activity? Parent { get { throw null; } } + public string? ParentId { get { throw null; } } + public ActivitySpanId ParentSpanId { get { throw null; } } + public bool Recorded { get { throw null; } } + public string? RootId { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public DateTime StartTimeUtc { get { throw null; } } + public ActivityStatusCode Status { get { throw null; } } + public string? StatusDescription { get { throw null; } } + public Collections.Generic.IEnumerable> TagObjects { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public static Func? TraceIdGenerator { get { throw null; } set { } } + public string? TraceStateString { get { throw null; } set { } } + + public static event EventHandler? CurrentChanged { + add { } + remove { } + } + + public Activity AddBaggage(string key, string? value) { throw null; } + public Activity AddEvent(ActivityEvent e) { throw null; } + public Activity AddException(Exception exception, in TagList tags = default, DateTimeOffset timestamp = default) { throw null; } + public Activity AddLink(ActivityLink link) { throw null; } + public Activity AddTag(string key, object? value) { throw null; } + public Activity AddTag(string key, string? value) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public Enumerator EnumerateEvents() { throw null; } + public Enumerator EnumerateLinks() { throw null; } + public Enumerator> EnumerateTagObjects() { throw null; } + public string? GetBaggageItem(string key) { throw null; } + public object? GetCustomProperty(string propertyName) { throw null; } + public object? GetTagItem(string key) { throw null; } + public Activity SetBaggage(string key, string? value) { throw null; } + public void SetCustomProperty(string propertyName, object? propertyValue) { } + public Activity SetEndTime(DateTime endTimeUtc) { throw null; } + public Activity SetIdFormat(ActivityIdFormat format) { throw null; } + public Activity SetParentId(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags activityTraceFlags = ActivityTraceFlags.None) { throw null; } + public Activity SetParentId(string parentId) { throw null; } + public Activity SetStartTime(DateTime startTimeUtc) { throw null; } + public Activity SetStatus(ActivityStatusCode code, string? description = null) { throw null; } + public Activity SetTag(string key, object? value) { throw null; } + public Activity Start() { throw null; } + public void Stop() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public ref T Current { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct ActivityChangedEventArgs + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Activity? Current { get { throw null; } init { } } + public Activity? Previous { get { throw null; } init { } } + } + + public readonly partial struct ActivityContext : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityContext(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags traceFlags, string? traceState = null, bool isRemote = false) { } + public bool IsRemote { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public ActivityTraceFlags TraceFlags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } } + + public readonly bool Equals(ActivityContext value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityContext left, ActivityContext right) { throw null; } + public static bool operator !=(ActivityContext left, ActivityContext right) { throw null; } + public static ActivityContext Parse(string traceParent, string? traceState) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, bool isRemote, out ActivityContext context) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, out ActivityContext context) { throw null; } + } + + public readonly partial struct ActivityCreationOptions + { + private readonly T _Parent_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable? Links { get { throw null; } } + public string Name { get { throw null; } } + public T Parent { get { throw null; } } + public ActivityTagsCollection SamplingTags { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } init { } } + } + + public readonly partial struct ActivityEvent + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityEvent(string name, DateTimeOffset timestamp = default, ActivityTagsCollection? tags = null) { } + public ActivityEvent(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + } + + public enum ActivityIdFormat + { + Unknown = 0, + Hierarchical = 1, + W3C = 2 + } + + public enum ActivityKind + { + Internal = 0, + Server = 1, + Client = 2, + Producer = 3, + Consumer = 4 + } + + public readonly partial struct ActivityLink : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityLink(ActivityContext context, ActivityTagsCollection? tags = null) { } + public ActivityContext Context { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + public readonly bool Equals(ActivityLink value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityLink left, ActivityLink right) { throw null; } + public static bool operator !=(ActivityLink left, ActivityLink right) { throw null; } + } + + public sealed partial class ActivityListener : IDisposable + { + public Action? ActivityStarted { get { throw null; } set { } } + public Action? ActivityStopped { get { throw null; } set { } } + public ExceptionRecorder? ExceptionRecorder { get { throw null; } set { } } + public SampleActivity? Sample { get { throw null; } set { } } + public SampleActivity? SampleUsingParentId { get { throw null; } set { } } + public Func? ShouldListenTo { get { throw null; } set { } } + + public void Dispose() { } + } + + public enum ActivitySamplingResult + { + None = 0, + PropagationData = 1, + AllData = 2, + AllDataAndRecorded = 3 + } + + public sealed partial class ActivitySource : IDisposable + { + public ActivitySource(string name, string? version = "", Collections.Generic.IEnumerable>? tags = null) { } + public ActivitySource(string name, string? version = "") { } + public ActivitySource(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public static void AddActivityListener(ActivityListener listener) { } + public Activity? CreateActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind) { throw null; } + public void Dispose() { } + public bool HasListeners() { throw null; } + public Activity? StartActivity(ActivityKind kind, ActivityContext parentContext = default, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default, string name = "") { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name = "", ActivityKind kind = ActivityKind.Internal) { throw null; } + } + + public readonly partial struct ActivitySpanId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivitySpanId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateRandom() { throw null; } + public readonly bool Equals(ActivitySpanId spanId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public static bool operator !=(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public enum ActivityStatusCode + { + Unset = 0, + Ok = 1, + Error = 2 + } + + public partial class ActivityTagsCollection : Collections.Generic.IDictionary, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable + { + public ActivityTagsCollection() { } + public ActivityTagsCollection(Collections.Generic.IEnumerable> list) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public object? this[string key] { get { throw null; } set { } } + + public Collections.Generic.ICollection Keys { get { throw null; } } + public Collections.Generic.ICollection Values { get { throw null; } } + + public void Add(Collections.Generic.KeyValuePair item) { } + public void Add(string key, object? value) { } + public void Clear() { } + public bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public bool ContainsKey(string key) { throw null; } + public void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public Enumerator GetEnumerator() { throw null; } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public bool Remove(string key) { throw null; } + Collections.Generic.IEnumerator> Collections.Generic.IEnumerable>.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public bool TryGetValue(string key, out object? value) { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + } + } + + [Flags] + public enum ActivityTraceFlags + { + None = 0, + Recorded = 1 + } + + public readonly partial struct ActivityTraceId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivityTraceId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateRandom() { throw null; } + public readonly bool Equals(ActivityTraceId traceId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public static bool operator !=(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public partial class DiagnosticListener : DiagnosticSource, IObservable>, IDisposable + { + public DiagnosticListener(string name) { } + public static IObservable AllListeners { get { throw null; } } + public string Name { get { throw null; } } + + public virtual void Dispose() { } + public bool IsEnabled() { throw null; } + public override bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public override bool IsEnabled(string name) { throw null; } + public override void OnActivityExport(Activity activity, object? payload) { } + public override void OnActivityImport(Activity activity, object? payload) { } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled, Action? onActivityImport = null, Action? onActivityExport = null) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Predicate? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer) { throw null; } + public override string ToString() { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public override void Write(string name, object? value) { } + } + + public abstract partial class DiagnosticSource + { + public virtual bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public abstract bool IsEnabled(string name); + public virtual void OnActivityExport(Activity activity, object? payload) { } + public virtual void OnActivityImport(Activity activity, object? payload) { } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public Activity StartActivity(Activity activity, object? args) { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public Activity StartActivity(Activity activity, T args) { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public void StopActivity(Activity activity, object? args) { } + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public void StopActivity(Activity activity, T args) { } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public abstract void Write(string name, object? value); + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public void Write(string name, T value) { } + } + public abstract partial class DistributedContextPropagator + { + public static DistributedContextPropagator Current { get { throw null; } set { } } + public abstract Collections.Generic.IReadOnlyCollection Fields { get; } + + public static DistributedContextPropagator CreateDefaultPropagator() { throw null; } + public static DistributedContextPropagator CreateNoOutputPropagator() { throw null; } + public static DistributedContextPropagator CreatePassThroughPropagator() { throw null; } + public abstract Collections.Generic.IEnumerable>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter); + public abstract void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState); + public abstract void Inject(Activity? activity, object? carrier, PropagatorSetterCallback? setter); + public delegate void PropagatorGetterCallback(object? carrier, string fieldName, out string? fieldValue, out Collections.Generic.IEnumerable? fieldValues); + public delegate void PropagatorSetterCallback(object? carrier, string fieldName, string fieldValue); + } + public delegate void ExceptionRecorder(Activity activity, Exception exception, ref TagList tags); + public delegate ActivitySamplingResult SampleActivity(ref ActivityCreationOptions options); + public partial struct TagList : Collections.Generic.IList>, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable, Collections.Generic.IReadOnlyList>, Collections.Generic.IReadOnlyCollection> + { + private object _dummy; + private int _dummyPrimitive; + public TagList(params scoped ReadOnlySpan> tagList) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Collections.Generic.KeyValuePair this[int index] { get { throw null; } set { } } + + public void Add(Collections.Generic.KeyValuePair tag) { } + public void Add(string key, object? value) { } + public void Clear() { } + public readonly bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public readonly void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public readonly void CopyTo(Span> tags) { } + public readonly Collections.Generic.IEnumerator> GetEnumerator() { throw null; } + public readonly int IndexOf(Collections.Generic.KeyValuePair item) { throw null; } + public void Insert(int index, Collections.Generic.KeyValuePair item) { } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public void RemoveAt(int index) { } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + public void Reset() { } + } + } +} + +namespace System.Diagnostics.Metrics +{ + public sealed partial class Counter : Instrument where T : struct + { + internal Counter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } + + public sealed partial class Gauge : Instrument where T : struct + { + internal Gauge() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public sealed partial class Histogram : Instrument where T : struct + { + internal Histogram() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public partial interface IMeterFactory : IDisposable + { + Meter Create(MeterOptions options); + } + + public abstract partial class Instrument + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) { } + protected Instrument(Meter meter, string name, string? unit, string? description) { } + protected Instrument(Meter meter, string name) { } + public string? Description { get { throw null; } } + public bool Enabled { get { throw null; } } + public virtual bool IsObservable { get { throw null; } } + public Meter Meter { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Unit { get { throw null; } } + + protected void Publish() { } + } + public sealed partial class InstrumentAdvice where T : struct + { + public Collections.Generic.IReadOnlyList? HistogramBucketBoundaries { get { throw null; } init { } } + } + public abstract partial class Instrument : Instrument where T : struct + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + protected Instrument(Meter meter, string name) : base(default!, default!) { } + public InstrumentAdvice? Advice { get { throw null; } } + + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag) { } + protected void RecordMeasurement(T measurement, in TagList tagList) { } + protected void RecordMeasurement(T measurement, ReadOnlySpan> tags) { } + protected void RecordMeasurement(T measurement) { } + } + + public delegate void MeasurementCallback(Instrument instrument, T measurement, ReadOnlySpan> tags, object? state) + where T : struct; + public readonly partial struct Measurement + where T : struct + { + private readonly T _Value_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Measurement(T value, Collections.Generic.IEnumerable>? tags) { } + public Measurement(T value, params Collections.Generic.KeyValuePair[]? tags) { } + public Measurement(T value, in TagList tags) { } + public Measurement(T value, params scoped ReadOnlySpan> tags) { } + public Measurement(T value) { } + public ReadOnlySpan> Tags { get { throw null; } } + public T Value { get { throw null; } } + } + + public partial class Meter : IDisposable + { + public Meter(MeterOptions options) { } + public Meter(string name, string? version, Collections.Generic.IEnumerable>? tags, object? scope = null) { } + public Meter(string name, string? version) { } + public Meter(string name) { } + public string Name { get { throw null; } } + public object? Scope { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public Counter CreateCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Counter CreateCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public Gauge CreateGauge(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) where T : struct { throw null; } + public Gauge CreateGauge(string name) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description) where T : struct { throw null; } + public Histogram CreateHistogram(string name) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public static partial class MeterFactoryExtensions + { + public static Meter Create(this IMeterFactory meterFactory, string name, string? version = null, Collections.Generic.IEnumerable>? tags = null) { throw null; } + } + public sealed partial class MeterListener : IDisposable + { + public Action? InstrumentPublished { get { throw null; } set { } } + public Action? MeasurementsCompleted { get { throw null; } set { } } + + public object? DisableMeasurementEvents(Instrument instrument) { throw null; } + public void Dispose() { } + public void EnableMeasurementEvents(Instrument instrument, object? state = null) { } + public void RecordObservableInstruments() { } + public void SetMeasurementEventCallback(MeasurementCallback? measurementCallback) where T : struct { } + public void Start() { } + } + + public partial class MeterOptions + { + public MeterOptions(string name) { } + public string Name { get { throw null; } set { } } + public object? Scope { get { throw null; } set { } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } set { } } + public string? Version { get { throw null; } set { } } + } + public sealed partial class ObservableCounter : ObservableInstrument where T : struct + { + internal ObservableCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class ObservableGauge : ObservableInstrument where T : struct + { + internal ObservableGauge() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public abstract partial class ObservableInstrument : Instrument where T : struct + { + protected ObservableInstrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected ObservableInstrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + public override bool IsObservable { get { throw null; } } + + protected abstract Collections.Generic.IEnumerable> Observe(); + } + + public sealed partial class ObservableUpDownCounter : ObservableInstrument where T : struct + { + internal ObservableUpDownCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class UpDownCounter : Instrument where T : struct + { + internal UpDownCounter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net9.0/System.Diagnostics.DiagnosticSource.cs b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net9.0/System.Diagnostics.DiagnosticSource.cs new file mode 100644 index 0000000000..2cf63055f2 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/net9.0/System.Diagnostics.DiagnosticSource.cs @@ -0,0 +1,619 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.DiagnosticSource")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools)\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.DiagnosticListener\r\nSystem.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.IsExternalInit))] +namespace System.Diagnostics +{ + public partial class Activity : IDisposable + { + public Activity(string operationName) { } + public ActivityTraceFlags ActivityTraceFlags { get { throw null; } set { } } + public Collections.Generic.IEnumerable> Baggage { get { throw null; } } + public ActivityContext Context { get { throw null; } } + public static Activity? Current { get { throw null; } set { } } + public static ActivityIdFormat DefaultIdFormat { get { throw null; } set { } } + public string DisplayName { get { throw null; } set { } } + public TimeSpan Duration { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public static bool ForceDefaultIdFormat { get { throw null; } set { } } + public bool HasRemoteParent { get { throw null; } } + public string? Id { get { throw null; } } + public ActivityIdFormat IdFormat { get { throw null; } } + public bool IsAllDataRequested { get { throw null; } set { } } + public bool IsStopped { get { throw null; } } + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable Links { get { throw null; } } + public string OperationName { get { throw null; } } + public Activity? Parent { get { throw null; } } + public string? ParentId { get { throw null; } } + public ActivitySpanId ParentSpanId { get { throw null; } } + public bool Recorded { get { throw null; } } + public string? RootId { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public DateTime StartTimeUtc { get { throw null; } } + public ActivityStatusCode Status { get { throw null; } } + public string? StatusDescription { get { throw null; } } + public Collections.Generic.IEnumerable> TagObjects { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public static Func? TraceIdGenerator { get { throw null; } set { } } + public string? TraceStateString { get { throw null; } set { } } + + public static event EventHandler? CurrentChanged { + add { } + remove { } + } + + public Activity AddBaggage(string key, string? value) { throw null; } + public Activity AddEvent(ActivityEvent e) { throw null; } + public Activity AddException(Exception exception, in TagList tags = default, DateTimeOffset timestamp = default) { throw null; } + public Activity AddLink(ActivityLink link) { throw null; } + public Activity AddTag(string key, object? value) { throw null; } + public Activity AddTag(string key, string? value) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public Enumerator EnumerateEvents() { throw null; } + public Enumerator EnumerateLinks() { throw null; } + public Enumerator> EnumerateTagObjects() { throw null; } + public string? GetBaggageItem(string key) { throw null; } + public object? GetCustomProperty(string propertyName) { throw null; } + public object? GetTagItem(string key) { throw null; } + public Activity SetBaggage(string key, string? value) { throw null; } + public void SetCustomProperty(string propertyName, object? propertyValue) { } + public Activity SetEndTime(DateTime endTimeUtc) { throw null; } + public Activity SetIdFormat(ActivityIdFormat format) { throw null; } + public Activity SetParentId(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags activityTraceFlags = ActivityTraceFlags.None) { throw null; } + public Activity SetParentId(string parentId) { throw null; } + public Activity SetStartTime(DateTime startTimeUtc) { throw null; } + public Activity SetStatus(ActivityStatusCode code, string? description = null) { throw null; } + public Activity SetTag(string key, object? value) { throw null; } + public Activity Start() { throw null; } + public void Stop() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public ref T Current { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct ActivityChangedEventArgs + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Activity? Current { get { throw null; } init { } } + public Activity? Previous { get { throw null; } init { } } + } + + public readonly partial struct ActivityContext : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityContext(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags traceFlags, string? traceState = null, bool isRemote = false) { } + public bool IsRemote { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public ActivityTraceFlags TraceFlags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } } + + public readonly bool Equals(ActivityContext value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityContext left, ActivityContext right) { throw null; } + public static bool operator !=(ActivityContext left, ActivityContext right) { throw null; } + public static ActivityContext Parse(string traceParent, string? traceState) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, bool isRemote, out ActivityContext context) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, out ActivityContext context) { throw null; } + } + + public readonly partial struct ActivityCreationOptions + { + private readonly T _Parent_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable? Links { get { throw null; } } + public string Name { get { throw null; } } + public T Parent { get { throw null; } } + public ActivityTagsCollection SamplingTags { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } init { } } + } + + public readonly partial struct ActivityEvent + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityEvent(string name, DateTimeOffset timestamp = default, ActivityTagsCollection? tags = null) { } + public ActivityEvent(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + } + + public enum ActivityIdFormat + { + Unknown = 0, + Hierarchical = 1, + W3C = 2 + } + + public enum ActivityKind + { + Internal = 0, + Server = 1, + Client = 2, + Producer = 3, + Consumer = 4 + } + + public readonly partial struct ActivityLink : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityLink(ActivityContext context, ActivityTagsCollection? tags = null) { } + public ActivityContext Context { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + public readonly bool Equals(ActivityLink value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityLink left, ActivityLink right) { throw null; } + public static bool operator !=(ActivityLink left, ActivityLink right) { throw null; } + } + + public sealed partial class ActivityListener : IDisposable + { + public Action? ActivityStarted { get { throw null; } set { } } + public Action? ActivityStopped { get { throw null; } set { } } + public ExceptionRecorder? ExceptionRecorder { get { throw null; } set { } } + public SampleActivity? Sample { get { throw null; } set { } } + public SampleActivity? SampleUsingParentId { get { throw null; } set { } } + public Func? ShouldListenTo { get { throw null; } set { } } + + public void Dispose() { } + } + + public enum ActivitySamplingResult + { + None = 0, + PropagationData = 1, + AllData = 2, + AllDataAndRecorded = 3 + } + + public sealed partial class ActivitySource : IDisposable + { + public ActivitySource(string name, string? version = "", Collections.Generic.IEnumerable>? tags = null) { } + public ActivitySource(string name, string? version = "") { } + public ActivitySource(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public static void AddActivityListener(ActivityListener listener) { } + public Activity? CreateActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind) { throw null; } + public void Dispose() { } + public bool HasListeners() { throw null; } + public Activity? StartActivity(ActivityKind kind, ActivityContext parentContext = default, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default, string name = "") { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name = "", ActivityKind kind = ActivityKind.Internal) { throw null; } + } + + public readonly partial struct ActivitySpanId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivitySpanId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateRandom() { throw null; } + public readonly bool Equals(ActivitySpanId spanId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public static bool operator !=(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public enum ActivityStatusCode + { + Unset = 0, + Ok = 1, + Error = 2 + } + + public partial class ActivityTagsCollection : Collections.Generic.IDictionary, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable + { + public ActivityTagsCollection() { } + public ActivityTagsCollection(Collections.Generic.IEnumerable> list) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public object? this[string key] { get { throw null; } set { } } + + public Collections.Generic.ICollection Keys { get { throw null; } } + public Collections.Generic.ICollection Values { get { throw null; } } + + public void Add(Collections.Generic.KeyValuePair item) { } + public void Add(string key, object? value) { } + public void Clear() { } + public bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public bool ContainsKey(string key) { throw null; } + public void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public Enumerator GetEnumerator() { throw null; } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public bool Remove(string key) { throw null; } + Collections.Generic.IEnumerator> Collections.Generic.IEnumerable>.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public bool TryGetValue(string key, out object? value) { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + } + } + + [Flags] + public enum ActivityTraceFlags + { + None = 0, + Recorded = 1 + } + + public readonly partial struct ActivityTraceId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivityTraceId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateRandom() { throw null; } + public readonly bool Equals(ActivityTraceId traceId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public static bool operator !=(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public partial class DiagnosticListener : DiagnosticSource, IObservable>, IDisposable + { + public DiagnosticListener(string name) { } + public static IObservable AllListeners { get { throw null; } } + public string Name { get { throw null; } } + + public virtual void Dispose() { } + public bool IsEnabled() { throw null; } + public override bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public override bool IsEnabled(string name) { throw null; } + public override void OnActivityExport(Activity activity, object? payload) { } + public override void OnActivityImport(Activity activity, object? payload) { } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled, Action? onActivityImport = null, Action? onActivityExport = null) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Predicate? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer) { throw null; } + public override string ToString() { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public override void Write(string name, object? value) { } + } + + public abstract partial class DiagnosticSource + { + public virtual bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public abstract bool IsEnabled(string name); + public virtual void OnActivityExport(Activity activity, object? payload) { } + public virtual void OnActivityImport(Activity activity, object? payload) { } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public Activity StartActivity(Activity activity, object? args) { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public Activity StartActivity(Activity activity, T args) { throw null; } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public void StopActivity(Activity activity, object? args) { } + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public void StopActivity(Activity activity, T args) { } + [CodeAnalysis.RequiresUnreferencedCode("The type of object being written to DiagnosticSource cannot be discovered statically.")] + public abstract void Write(string name, object? value); + [CodeAnalysis.RequiresUnreferencedCode("Only the properties of the T type will be preserved. Properties of referenced types and properties of derived types may be trimmed.")] + public void Write(string name, T value) { } + } + public abstract partial class DistributedContextPropagator + { + public static DistributedContextPropagator Current { get { throw null; } set { } } + public abstract Collections.Generic.IReadOnlyCollection Fields { get; } + + public static DistributedContextPropagator CreateDefaultPropagator() { throw null; } + public static DistributedContextPropagator CreateNoOutputPropagator() { throw null; } + public static DistributedContextPropagator CreatePassThroughPropagator() { throw null; } + public abstract Collections.Generic.IEnumerable>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter); + public abstract void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState); + public abstract void Inject(Activity? activity, object? carrier, PropagatorSetterCallback? setter); + public delegate void PropagatorGetterCallback(object? carrier, string fieldName, out string? fieldValue, out Collections.Generic.IEnumerable? fieldValues); + public delegate void PropagatorSetterCallback(object? carrier, string fieldName, string fieldValue); + } + public delegate void ExceptionRecorder(Activity activity, Exception exception, ref TagList tags); + public delegate ActivitySamplingResult SampleActivity(ref ActivityCreationOptions options); + public partial struct TagList : Collections.Generic.IList>, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable, Collections.Generic.IReadOnlyList>, Collections.Generic.IReadOnlyCollection> + { + private object _dummy; + private int _dummyPrimitive; + public TagList(params scoped ReadOnlySpan> tagList) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Collections.Generic.KeyValuePair this[int index] { get { throw null; } set { } } + + public void Add(Collections.Generic.KeyValuePair tag) { } + public void Add(string key, object? value) { } + public void Clear() { } + public readonly bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public readonly void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public readonly void CopyTo(Span> tags) { } + public readonly Collections.Generic.IEnumerator> GetEnumerator() { throw null; } + public readonly int IndexOf(Collections.Generic.KeyValuePair item) { throw null; } + public void Insert(int index, Collections.Generic.KeyValuePair item) { } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public void RemoveAt(int index) { } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + public void Reset() { } + } + } +} + +namespace System.Diagnostics.Metrics +{ + public sealed partial class Counter : Instrument where T : struct + { + internal Counter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } + + public sealed partial class Gauge : Instrument where T : struct + { + internal Gauge() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public sealed partial class Histogram : Instrument where T : struct + { + internal Histogram() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public partial interface IMeterFactory : IDisposable + { + Meter Create(MeterOptions options); + } + + public abstract partial class Instrument + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) { } + protected Instrument(Meter meter, string name, string? unit, string? description) { } + protected Instrument(Meter meter, string name) { } + public string? Description { get { throw null; } } + public bool Enabled { get { throw null; } } + public virtual bool IsObservable { get { throw null; } } + public Meter Meter { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Unit { get { throw null; } } + + protected void Publish() { } + } + public sealed partial class InstrumentAdvice where T : struct + { + public Collections.Generic.IReadOnlyList? HistogramBucketBoundaries { get { throw null; } init { } } + } + public abstract partial class Instrument : Instrument where T : struct + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + protected Instrument(Meter meter, string name) : base(default!, default!) { } + public InstrumentAdvice? Advice { get { throw null; } } + + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag) { } + protected void RecordMeasurement(T measurement, in TagList tagList) { } + protected void RecordMeasurement(T measurement, ReadOnlySpan> tags) { } + protected void RecordMeasurement(T measurement) { } + } + + public delegate void MeasurementCallback(Instrument instrument, T measurement, ReadOnlySpan> tags, object? state) + where T : struct; + public readonly partial struct Measurement + where T : struct + { + private readonly T _Value_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Measurement(T value, Collections.Generic.IEnumerable>? tags) { } + public Measurement(T value, params Collections.Generic.KeyValuePair[]? tags) { } + public Measurement(T value, in TagList tags) { } + public Measurement(T value, params scoped ReadOnlySpan> tags) { } + public Measurement(T value) { } + public ReadOnlySpan> Tags { get { throw null; } } + public T Value { get { throw null; } } + } + + public partial class Meter : IDisposable + { + public Meter(MeterOptions options) { } + public Meter(string name, string? version, Collections.Generic.IEnumerable>? tags, object? scope = null) { } + public Meter(string name, string? version) { } + public Meter(string name) { } + public string Name { get { throw null; } } + public object? Scope { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public Counter CreateCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Counter CreateCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public Gauge CreateGauge(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) where T : struct { throw null; } + public Gauge CreateGauge(string name) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description) where T : struct { throw null; } + public Histogram CreateHistogram(string name) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public static partial class MeterFactoryExtensions + { + public static Meter Create(this IMeterFactory meterFactory, string name, string? version = null, Collections.Generic.IEnumerable>? tags = null) { throw null; } + } + public sealed partial class MeterListener : IDisposable + { + public Action? InstrumentPublished { get { throw null; } set { } } + public Action? MeasurementsCompleted { get { throw null; } set { } } + + public object? DisableMeasurementEvents(Instrument instrument) { throw null; } + public void Dispose() { } + public void EnableMeasurementEvents(Instrument instrument, object? state = null) { } + public void RecordObservableInstruments() { } + public void SetMeasurementEventCallback(MeasurementCallback? measurementCallback) where T : struct { } + public void Start() { } + } + + public partial class MeterOptions + { + public MeterOptions(string name) { } + public string Name { get { throw null; } set { } } + public object? Scope { get { throw null; } set { } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } set { } } + public string? Version { get { throw null; } set { } } + } + public sealed partial class ObservableCounter : ObservableInstrument where T : struct + { + internal ObservableCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class ObservableGauge : ObservableInstrument where T : struct + { + internal ObservableGauge() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public abstract partial class ObservableInstrument : Instrument where T : struct + { + protected ObservableInstrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected ObservableInstrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + public override bool IsObservable { get { throw null; } } + + protected abstract Collections.Generic.IEnumerable> Observe(); + } + + public sealed partial class ObservableUpDownCounter : ObservableInstrument where T : struct + { + internal ObservableUpDownCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class UpDownCounter : Instrument where T : struct + { + internal UpDownCounter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/netstandard2.0/System.Diagnostics.DiagnosticSource.cs b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/netstandard2.0/System.Diagnostics.DiagnosticSource.cs new file mode 100644 index 0000000000..837d93e91b --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/lib/netstandard2.0/System.Diagnostics.DiagnosticSource.cs @@ -0,0 +1,612 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.DiagnosticSource")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools)\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.DiagnosticListener\r\nSystem.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.DiagnosticSource")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Diagnostics +{ + public partial class Activity : IDisposable + { + public Activity(string operationName) { } + public ActivityTraceFlags ActivityTraceFlags { get { throw null; } set { } } + public Collections.Generic.IEnumerable> Baggage { get { throw null; } } + public ActivityContext Context { get { throw null; } } + public static Activity? Current { get { throw null; } set { } } + public static ActivityIdFormat DefaultIdFormat { get { throw null; } set { } } + public string DisplayName { get { throw null; } set { } } + public TimeSpan Duration { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public static bool ForceDefaultIdFormat { get { throw null; } set { } } + public bool HasRemoteParent { get { throw null; } } + public string? Id { get { throw null; } } + public ActivityIdFormat IdFormat { get { throw null; } } + public bool IsAllDataRequested { get { throw null; } set { } } + public bool IsStopped { get { throw null; } } + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable Links { get { throw null; } } + public string OperationName { get { throw null; } } + public Activity? Parent { get { throw null; } } + public string? ParentId { get { throw null; } } + public ActivitySpanId ParentSpanId { get { throw null; } } + public bool Recorded { get { throw null; } } + public string? RootId { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public DateTime StartTimeUtc { get { throw null; } } + public ActivityStatusCode Status { get { throw null; } } + public string? StatusDescription { get { throw null; } } + public Collections.Generic.IEnumerable> TagObjects { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public static Func? TraceIdGenerator { get { throw null; } set { } } + public string? TraceStateString { get { throw null; } set { } } + + public static event EventHandler? CurrentChanged { + add { } + remove { } + } + + public Activity AddBaggage(string key, string? value) { throw null; } + public Activity AddEvent(ActivityEvent e) { throw null; } + public Activity AddException(Exception exception, in TagList tags = default, DateTimeOffset timestamp = default) { throw null; } + public Activity AddLink(ActivityLink link) { throw null; } + public Activity AddTag(string key, object? value) { throw null; } + public Activity AddTag(string key, string? value) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public Enumerator EnumerateEvents() { throw null; } + public Enumerator EnumerateLinks() { throw null; } + public Enumerator> EnumerateTagObjects() { throw null; } + public string? GetBaggageItem(string key) { throw null; } + public object? GetCustomProperty(string propertyName) { throw null; } + public object? GetTagItem(string key) { throw null; } + public Activity SetBaggage(string key, string? value) { throw null; } + public void SetCustomProperty(string propertyName, object? propertyValue) { } + public Activity SetEndTime(DateTime endTimeUtc) { throw null; } + public Activity SetIdFormat(ActivityIdFormat format) { throw null; } + public Activity SetParentId(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags activityTraceFlags = ActivityTraceFlags.None) { throw null; } + public Activity SetParentId(string parentId) { throw null; } + public Activity SetStartTime(DateTime startTimeUtc) { throw null; } + public Activity SetStatus(ActivityStatusCode code, string? description = null) { throw null; } + public Activity SetTag(string key, object? value) { throw null; } + public Activity Start() { throw null; } + public void Stop() { } + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public ref T Current { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct ActivityChangedEventArgs + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Activity? Current { get { throw null; } init { } } + public Activity? Previous { get { throw null; } init { } } + } + + public readonly partial struct ActivityContext : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityContext(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags traceFlags, string? traceState = null, bool isRemote = false) { } + public bool IsRemote { get { throw null; } } + public ActivitySpanId SpanId { get { throw null; } } + public ActivityTraceFlags TraceFlags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } } + + public readonly bool Equals(ActivityContext value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityContext left, ActivityContext right) { throw null; } + public static bool operator !=(ActivityContext left, ActivityContext right) { throw null; } + public static ActivityContext Parse(string traceParent, string? traceState) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, bool isRemote, out ActivityContext context) { throw null; } + public static bool TryParse(string? traceParent, string? traceState, out ActivityContext context) { throw null; } + } + + public readonly partial struct ActivityCreationOptions + { + private readonly T _Parent_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityKind Kind { get { throw null; } } + public Collections.Generic.IEnumerable? Links { get { throw null; } } + public string Name { get { throw null; } } + public T Parent { get { throw null; } } + public ActivityTagsCollection SamplingTags { get { throw null; } } + public ActivitySource Source { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public ActivityTraceId TraceId { get { throw null; } } + public string? TraceState { get { throw null; } init { } } + } + + public readonly partial struct ActivityEvent + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityEvent(string name, DateTimeOffset timestamp = default, ActivityTagsCollection? tags = null) { } + public ActivityEvent(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable> Tags { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + } + + public enum ActivityIdFormat + { + Unknown = 0, + Hierarchical = 1, + W3C = 2 + } + + public enum ActivityKind + { + Internal = 0, + Server = 1, + Client = 2, + Producer = 3, + Consumer = 4 + } + + public readonly partial struct ActivityLink : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ActivityLink(ActivityContext context, ActivityTagsCollection? tags = null) { } + public ActivityContext Context { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + + public readonly Activity.Enumerator> EnumerateTagObjects() { throw null; } + public readonly bool Equals(ActivityLink value) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityLink left, ActivityLink right) { throw null; } + public static bool operator !=(ActivityLink left, ActivityLink right) { throw null; } + } + + public sealed partial class ActivityListener : IDisposable + { + public Action? ActivityStarted { get { throw null; } set { } } + public Action? ActivityStopped { get { throw null; } set { } } + public ExceptionRecorder? ExceptionRecorder { get { throw null; } set { } } + public SampleActivity? Sample { get { throw null; } set { } } + public SampleActivity? SampleUsingParentId { get { throw null; } set { } } + public Func? ShouldListenTo { get { throw null; } set { } } + + public void Dispose() { } + } + + public enum ActivitySamplingResult + { + None = 0, + PropagationData = 1, + AllData = 2, + AllDataAndRecorded = 3 + } + + public sealed partial class ActivitySource : IDisposable + { + public ActivitySource(string name, string? version = "", Collections.Generic.IEnumerable>? tags = null) { } + public ActivitySource(string name, string? version = "") { } + public ActivitySource(string name) { } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public static void AddActivityListener(ActivityListener listener) { } + public Activity? CreateActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown) { throw null; } + public Activity? CreateActivity(string name, ActivityKind kind) { throw null; } + public void Dispose() { } + public bool HasListeners() { throw null; } + public Activity? StartActivity(ActivityKind kind, ActivityContext parentContext = default, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default, string name = "") { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, ActivityContext parentContext, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name, ActivityKind kind, string? parentId, Collections.Generic.IEnumerable>? tags = null, Collections.Generic.IEnumerable? links = null, DateTimeOffset startTime = default) { throw null; } + public Activity? StartActivity(string name = "", ActivityKind kind = ActivityKind.Internal) { throw null; } + } + + public readonly partial struct ActivitySpanId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivitySpanId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivitySpanId CreateRandom() { throw null; } + public readonly bool Equals(ActivitySpanId spanId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public static bool operator !=(ActivitySpanId spanId1, ActivitySpanId spandId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public enum ActivityStatusCode + { + Unset = 0, + Ok = 1, + Error = 2 + } + + public partial class ActivityTagsCollection : Collections.Generic.IDictionary, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable + { + public ActivityTagsCollection() { } + public ActivityTagsCollection(Collections.Generic.IEnumerable> list) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public object? this[string key] { get { throw null; } set { } } + + public Collections.Generic.ICollection Keys { get { throw null; } } + public Collections.Generic.ICollection Values { get { throw null; } } + + public void Add(Collections.Generic.KeyValuePair item) { } + public void Add(string key, object? value) { } + public void Clear() { } + public bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public bool ContainsKey(string key) { throw null; } + public void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public Enumerator GetEnumerator() { throw null; } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public bool Remove(string key) { throw null; } + Collections.Generic.IEnumerator> Collections.Generic.IEnumerable>.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public bool TryGetValue(string key, out object? value) { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + } + } + + [Flags] + public enum ActivityTraceFlags + { + None = 0, + Recorded = 1 + } + + public readonly partial struct ActivityTraceId : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void CopyTo(Span destination) { } + public static ActivityTraceId CreateFromBytes(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromString(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateFromUtf8String(ReadOnlySpan idData) { throw null; } + public static ActivityTraceId CreateRandom() { throw null; } + public readonly bool Equals(ActivityTraceId traceId) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public static bool operator !=(ActivityTraceId traceId1, ActivityTraceId traceId2) { throw null; } + public readonly string ToHexString() { throw null; } + public override readonly string ToString() { throw null; } + } + + public partial class DiagnosticListener : DiagnosticSource, IObservable>, IDisposable + { + public DiagnosticListener(string name) { } + public static IObservable AllListeners { get { throw null; } } + public string Name { get { throw null; } } + + public virtual void Dispose() { } + public bool IsEnabled() { throw null; } + public override bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public override bool IsEnabled(string name) { throw null; } + public override void OnActivityExport(Activity activity, object? payload) { } + public override void OnActivityImport(Activity activity, object? payload) { } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled, Action? onActivityImport = null, Action? onActivityExport = null) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Func? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer, Predicate? isEnabled) { throw null; } + public virtual IDisposable Subscribe(IObserver> observer) { throw null; } + public override string ToString() { throw null; } + public override void Write(string name, object? value) { } + } + + public abstract partial class DiagnosticSource + { + public virtual bool IsEnabled(string name, object? arg1, object? arg2 = null) { throw null; } + public abstract bool IsEnabled(string name); + public virtual void OnActivityExport(Activity activity, object? payload) { } + public virtual void OnActivityImport(Activity activity, object? payload) { } + public Activity StartActivity(Activity activity, object? args) { throw null; } + public Activity StartActivity(Activity activity, T args) { throw null; } + public void StopActivity(Activity activity, object? args) { } + public void StopActivity(Activity activity, T args) { } + public abstract void Write(string name, object? value); + public void Write(string name, T value) { } + } + public abstract partial class DistributedContextPropagator + { + public static DistributedContextPropagator Current { get { throw null; } set { } } + public abstract Collections.Generic.IReadOnlyCollection Fields { get; } + + public static DistributedContextPropagator CreateDefaultPropagator() { throw null; } + public static DistributedContextPropagator CreateNoOutputPropagator() { throw null; } + public static DistributedContextPropagator CreatePassThroughPropagator() { throw null; } + public abstract Collections.Generic.IEnumerable>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter); + public abstract void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState); + public abstract void Inject(Activity? activity, object? carrier, PropagatorSetterCallback? setter); + public delegate void PropagatorGetterCallback(object? carrier, string fieldName, out string? fieldValue, out Collections.Generic.IEnumerable? fieldValues); + public delegate void PropagatorSetterCallback(object? carrier, string fieldName, string fieldValue); + } + public delegate void ExceptionRecorder(Activity activity, Exception exception, ref TagList tags); + public delegate ActivitySamplingResult SampleActivity(ref ActivityCreationOptions options); + public partial struct TagList : Collections.Generic.IList>, Collections.Generic.ICollection>, Collections.Generic.IEnumerable>, Collections.IEnumerable, Collections.Generic.IReadOnlyList>, Collections.Generic.IReadOnlyCollection> + { + private object _dummy; + private int _dummyPrimitive; + public TagList(params scoped ReadOnlySpan> tagList) { } + public int Count { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Collections.Generic.KeyValuePair this[int index] { get { throw null; } set { } } + + public void Add(Collections.Generic.KeyValuePair tag) { } + public void Add(string key, object? value) { } + public void Clear() { } + public readonly bool Contains(Collections.Generic.KeyValuePair item) { throw null; } + public readonly void CopyTo(Collections.Generic.KeyValuePair[] array, int arrayIndex) { } + public readonly void CopyTo(Span> tags) { } + public readonly Collections.Generic.IEnumerator> GetEnumerator() { throw null; } + public readonly int IndexOf(Collections.Generic.KeyValuePair item) { throw null; } + public void Insert(int index, Collections.Generic.KeyValuePair item) { } + public bool Remove(Collections.Generic.KeyValuePair item) { throw null; } + public void RemoveAt(int index) { } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator>, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public Collections.Generic.KeyValuePair Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + public bool MoveNext() { throw null; } + public void Reset() { } + } + } +} + +namespace System.Diagnostics.Metrics +{ + public sealed partial class Counter : Instrument where T : struct + { + internal Counter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } + + public sealed partial class Gauge : Instrument where T : struct + { + internal Gauge() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public sealed partial class Histogram : Instrument where T : struct + { + internal Histogram() : base(default!, default!) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Record(T value, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Record(T value, Collections.Generic.KeyValuePair tag) { } + public void Record(T value, params Collections.Generic.KeyValuePair[] tags) { } + public void Record(T value, in TagList tagList) { } + public void Record(T value, params scoped ReadOnlySpan> tags) { } + public void Record(T value) { } + } + + public partial interface IMeterFactory : IDisposable + { + Meter Create(MeterOptions options); + } + + public abstract partial class Instrument + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) { } + protected Instrument(Meter meter, string name, string? unit, string? description) { } + protected Instrument(Meter meter, string name) { } + public string? Description { get { throw null; } } + public bool Enabled { get { throw null; } } + public virtual bool IsObservable { get { throw null; } } + public Meter Meter { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Unit { get { throw null; } } + + protected void Publish() { } + } + public sealed partial class InstrumentAdvice where T : struct + { + public Collections.Generic.IReadOnlyList? HistogramBucketBoundaries { get { throw null; } init { } } + } + public abstract partial class Instrument : Instrument where T : struct + { + protected Instrument(Meter meter, string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected Instrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + protected Instrument(Meter meter, string name) : base(default!, default!) { } + public InstrumentAdvice? Advice { get { throw null; } } + + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + protected void RecordMeasurement(T measurement, Collections.Generic.KeyValuePair tag) { } + protected void RecordMeasurement(T measurement, in TagList tagList) { } + protected void RecordMeasurement(T measurement, ReadOnlySpan> tags) { } + protected void RecordMeasurement(T measurement) { } + } + + public delegate void MeasurementCallback(Instrument instrument, T measurement, ReadOnlySpan> tags, object? state) + where T : struct; + public readonly partial struct Measurement + where T : struct + { + private readonly T _Value_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Measurement(T value, Collections.Generic.IEnumerable>? tags) { } + public Measurement(T value, params Collections.Generic.KeyValuePair[]? tags) { } + public Measurement(T value, in TagList tags) { } + public Measurement(T value, params scoped ReadOnlySpan> tags) { } + public Measurement(T value) { } + public ReadOnlySpan> Tags { get { throw null; } } + public T Value { get { throw null; } } + } + + public partial class Meter : IDisposable + { + public Meter(MeterOptions options) { } + public Meter(string name, string? version, Collections.Generic.IEnumerable>? tags, object? scope = null) { } + public Meter(string name, string? version) { } + public Meter(string name) { } + public string Name { get { throw null; } } + public object? Scope { get { throw null; } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } } + public string? Version { get { throw null; } } + + public Counter CreateCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Counter CreateCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public Gauge CreateGauge(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null) where T : struct { throw null; } + public Gauge CreateGauge(string name) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit = null, string? description = null, Collections.Generic.IEnumerable>? tags = null, InstrumentAdvice? advice = null) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public Histogram CreateHistogram(string name, string? unit, string? description) where T : struct { throw null; } + public Histogram CreateHistogram(string name) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableCounter CreateObservableCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableGauge CreateObservableGauge(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func>> observeValues, string? unit = null, string? description = null) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public ObservableUpDownCounter CreateObservableUpDownCounter(string name, Func> observeValue, string? unit = null, string? description = null) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) where T : struct { throw null; } + public UpDownCounter CreateUpDownCounter(string name, string? unit = null, string? description = null) where T : struct { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public static partial class MeterFactoryExtensions + { + public static Meter Create(this IMeterFactory meterFactory, string name, string? version = null, Collections.Generic.IEnumerable>? tags = null) { throw null; } + } + public sealed partial class MeterListener : IDisposable + { + public Action? InstrumentPublished { get { throw null; } set { } } + public Action? MeasurementsCompleted { get { throw null; } set { } } + + public object? DisableMeasurementEvents(Instrument instrument) { throw null; } + public void Dispose() { } + public void EnableMeasurementEvents(Instrument instrument, object? state = null) { } + public void RecordObservableInstruments() { } + public void SetMeasurementEventCallback(MeasurementCallback? measurementCallback) where T : struct { } + public void Start() { } + } + + public partial class MeterOptions + { + public MeterOptions(string name) { } + public string Name { get { throw null; } set { } } + public object? Scope { get { throw null; } set { } } + public Collections.Generic.IEnumerable>? Tags { get { throw null; } set { } } + public string? Version { get { throw null; } set { } } + } + public sealed partial class ObservableCounter : ObservableInstrument where T : struct + { + internal ObservableCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class ObservableGauge : ObservableInstrument where T : struct + { + internal ObservableGauge() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public abstract partial class ObservableInstrument : Instrument where T : struct + { + protected ObservableInstrument(Meter meter, string name, string? unit, string? description, Collections.Generic.IEnumerable>? tags) : base(default!, default!) { } + protected ObservableInstrument(Meter meter, string name, string? unit, string? description) : base(default!, default!) { } + public override bool IsObservable { get { throw null; } } + + protected abstract Collections.Generic.IEnumerable> Observe(); + } + + public sealed partial class ObservableUpDownCounter : ObservableInstrument where T : struct + { + internal ObservableUpDownCounter() : base(default!, default!, default, default) { } + protected override Collections.Generic.IEnumerable> Observe() { throw null; } + } + + public sealed partial class UpDownCounter : Instrument where T : struct + { + internal UpDownCounter() : base(default!, default!) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2, Collections.Generic.KeyValuePair tag3) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag1, Collections.Generic.KeyValuePair tag2) { } + public void Add(T delta, Collections.Generic.KeyValuePair tag) { } + public void Add(T delta, params Collections.Generic.KeyValuePair[] tags) { } + public void Add(T delta, in TagList tagList) { } + public void Add(T delta, params scoped ReadOnlySpan> tags) { } + public void Add(T delta) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.nuspec b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.nuspec new file mode 100644 index 0000000000..c5128ef160 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.nuspec @@ -0,0 +1,34 @@ + + + + System.Diagnostics.DiagnosticSource + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools) + +Commonly Used Types: +System.Diagnostics.DiagnosticListener +System.Diagnostics.DiagnosticSource + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/System.Diagnostics.EventLog.9.0.0.csproj b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/System.Diagnostics.EventLog.9.0.0.csproj new file mode 100644 index 0000000000..65d400ecd7 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/System.Diagnostics.EventLog.9.0.0.csproj @@ -0,0 +1,14 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Diagnostics.EventLog + Open + + + + + + + diff --git a/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net8.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net8.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..8b6eb34662 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net8.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,637 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.EventLog")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the System.Diagnostics.EventLog class, which allows the applications to use the Windows event log service.\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Diagnostics +{ + public partial class EntryWrittenEventArgs : EventArgs + { + public EntryWrittenEventArgs() { } + public EntryWrittenEventArgs(EventLogEntry entry) { } + public EventLogEntry Entry { get { throw null; } } + } + + public delegate void EntryWrittenEventHandler(object sender, EntryWrittenEventArgs e); + public partial class EventInstance + { + public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) { } + public EventInstance(long instanceId, int categoryId) { } + public int CategoryId { get { throw null; } set { } } + public EventLogEntryType EntryType { get { throw null; } set { } } + public long InstanceId { get { throw null; } set { } } + } + [ComponentModel.DefaultEvent("EntryWritten")] + public partial class EventLog : ComponentModel.Component, ComponentModel.ISupportInitialize + { + public EventLog() { } + public EventLog(string logName, string machineName, string source) { } + public EventLog(string logName, string machineName) { } + public EventLog(string logName) { } + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(false)] + public bool EnableRaisingEvents { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public EventLogEntryCollection Entries { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Log { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public string LogDisplayName { get { throw null; } } + + [ComponentModel.DefaultValue(".")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string MachineName { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public long MaximumKilobytes { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public int MinimumRetentionDays { get { throw null; } } + + [ComponentModel.Browsable(false)] + public OverflowAction OverflowAction { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Source { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(null)] + public ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } } + + public event EntryWrittenEventHandler EntryWritten { + add { } + remove { } + } + + public void BeginInit() { } + public void Clear() { } + public void Close() { } + public static void CreateEventSource(EventSourceCreationData sourceData) { } + [Obsolete("EventLog.CreateEventSource has been deprecated. Use System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) instead.")] + public static void CreateEventSource(string source, string logName, string machineName) { } + public static void CreateEventSource(string source, string logName) { } + public static void Delete(string logName, string machineName) { } + public static void Delete(string logName) { } + public static void DeleteEventSource(string source, string machineName) { } + public static void DeleteEventSource(string source) { } + protected override void Dispose(bool disposing) { } + public void EndInit() { } + public static bool Exists(string logName, string machineName) { throw null; } + public static bool Exists(string logName) { throw null; } + public static EventLog[] GetEventLogs() { throw null; } + public static EventLog[] GetEventLogs(string machineName) { throw null; } + public static string LogNameFromSourceName(string source, string machineName) { throw null; } + public void ModifyOverflowPolicy(OverflowAction action, int retentionDays) { } + public void RegisterDisplayName(string resourceFile, long resourceId) { } + public static bool SourceExists(string source, string machineName) { throw null; } + public static bool SourceExists(string source) { throw null; } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID) { } + public void WriteEntry(string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) { } + public static void WriteEntry(string source, string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message) { } + public void WriteEntry(string message) { } + public void WriteEvent(EventInstance instance, byte[] data, params object[] values) { } + public void WriteEvent(EventInstance instance, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, byte[] data, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, params object[] values) { } + } + + [ComponentModel.DesignTimeVisible(false)] + [ComponentModel.ToolboxItem(false)] + public sealed partial class EventLogEntry : ComponentModel.Component, Runtime.Serialization.ISerializable + { + internal EventLogEntry() { } + public string Category { get { throw null; } } + public short CategoryNumber { get { throw null; } } + public byte[] Data { get { throw null; } } + public EventLogEntryType EntryType { get { throw null; } } + + [Obsolete("EventLogEntry.EventID has been deprecated. Use System.Diagnostics.EventLogEntry.InstanceId instead.")] + public int EventID { get { throw null; } } + public int Index { get { throw null; } } + public long InstanceId { get { throw null; } } + public string MachineName { get { throw null; } } + public string Message { get { throw null; } } + public string[] ReplacementStrings { get { throw null; } } + public string Source { get { throw null; } } + public DateTime TimeGenerated { get { throw null; } } + public DateTime TimeWritten { get { throw null; } } + public string UserName { get { throw null; } } + + public bool Equals(EventLogEntry otherEntry) { throw null; } + void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class EventLogEntryCollection : Collections.ICollection, Collections.IEnumerable + { + internal EventLogEntryCollection() { } + public int Count { get { throw null; } } + + public virtual EventLogEntry this[int index] { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + public void CopyTo(EventLogEntry[] entries, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public enum EventLogEntryType + { + Error = 1, + Warning = 2, + Information = 4, + SuccessAudit = 8, + FailureAudit = 16 + } + + public sealed partial class EventLogTraceListener : TraceListener + { + public EventLogTraceListener() { } + public EventLogTraceListener(EventLog eventLog) { } + public EventLogTraceListener(string source) { } + public EventLog EventLog { get { throw null; } set { } } + public override string Name { get { throw null; } set { } } + + public override void Close() { } + protected override void Dispose(bool disposing) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, object data) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, params object[] data) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string format, params object[] args) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string message) { } + public override void Write(string message) { } + public override void WriteLine(string message) { } + } + + public partial class EventSourceCreationData + { + public EventSourceCreationData(string source, string logName) { } + public int CategoryCount { get { throw null; } set { } } + public string CategoryResourceFile { get { throw null; } set { } } + public string LogName { get { throw null; } set { } } + public string MachineName { get { throw null; } set { } } + public string MessageResourceFile { get { throw null; } set { } } + public string ParameterResourceFile { get { throw null; } set { } } + public string Source { get { throw null; } set { } } + } + public enum OverflowAction + { + DoNotOverwrite = -1, + OverwriteAsNeeded = 0, + OverwriteOlder = 1 + } +} + +namespace System.Diagnostics.Eventing.Reader +{ + public sealed partial class EventBookmark + { + public EventBookmark(string bookmarkXml) { } + public string BookmarkXml { get { throw null; } } + } + public sealed partial class EventKeyword + { + internal EventKeyword() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public long Value { get { throw null; } } + } + public sealed partial class EventLevel + { + internal EventLevel() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public partial class EventLogConfiguration : IDisposable + { + public EventLogConfiguration(string logName, EventLogSession session) { } + public EventLogConfiguration(string logName) { } + public bool IsClassicLog { get { throw null; } } + public bool IsEnabled { get { throw null; } set { } } + public string LogFilePath { get { throw null; } set { } } + public EventLogIsolation LogIsolation { get { throw null; } } + public EventLogMode LogMode { get { throw null; } set { } } + public string LogName { get { throw null; } } + public EventLogType LogType { get { throw null; } } + public long MaximumSizeInBytes { get { throw null; } set { } } + public string OwningProviderName { get { throw null; } } + public int? ProviderBufferSize { get { throw null; } } + public Guid? ProviderControlGuid { get { throw null; } } + public long? ProviderKeywords { get { throw null; } set { } } + public int? ProviderLatency { get { throw null; } } + public int? ProviderLevel { get { throw null; } set { } } + public int? ProviderMaximumNumberOfBuffers { get { throw null; } } + public int? ProviderMinimumNumberOfBuffers { get { throw null; } } + public Collections.Generic.IEnumerable ProviderNames { get { throw null; } } + public string SecurityDescriptor { get { throw null; } set { } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void SaveChanges() { } + } + + public partial class EventLogException : Exception + { + public EventLogException() { } + protected EventLogException(int errorCode) { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogException(string message, Exception innerException) { } + public EventLogException(string message) { } + public override string Message { get { throw null; } } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class EventLogInformation + { + internal EventLogInformation() { } + public int? Attributes { get { throw null; } } + public DateTime? CreationTime { get { throw null; } } + public long? FileSize { get { throw null; } } + public bool? IsLogFull { get { throw null; } } + public DateTime? LastAccessTime { get { throw null; } } + public DateTime? LastWriteTime { get { throw null; } } + public long? OldestRecordNumber { get { throw null; } } + public long? RecordCount { get { throw null; } } + } + public partial class EventLogInvalidDataException : EventLogException + { + public EventLogInvalidDataException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogInvalidDataException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogInvalidDataException(string message, Exception innerException) { } + public EventLogInvalidDataException(string message) { } + } + + public enum EventLogIsolation + { + Application = 0, + System = 1, + Custom = 2 + } + + public sealed partial class EventLogLink + { + internal EventLogLink() { } + public string DisplayName { get { throw null; } } + public bool IsImported { get { throw null; } } + public string LogName { get { throw null; } } + } + public enum EventLogMode + { + Circular = 0, + AutoBackup = 1, + Retain = 2 + } + + public partial class EventLogNotFoundException : EventLogException + { + public EventLogNotFoundException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogNotFoundException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogNotFoundException(string message, Exception innerException) { } + public EventLogNotFoundException(string message) { } + } + + public partial class EventLogPropertySelector : IDisposable + { + public EventLogPropertySelector(Collections.Generic.IEnumerable propertyQueries) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public partial class EventLogProviderDisabledException : EventLogException + { + public EventLogProviderDisabledException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogProviderDisabledException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogProviderDisabledException(string message, Exception innerException) { } + public EventLogProviderDisabledException(string message) { } + } + + public partial class EventLogQuery + { + public EventLogQuery(string path, PathType pathType, string query) { } + public EventLogQuery(string path, PathType pathType) { } + public bool ReverseDirection { get { throw null; } set { } } + public EventLogSession Session { get { throw null; } set { } } + public bool TolerateQueryErrors { get { throw null; } set { } } + } + public partial class EventLogReader : IDisposable + { + public EventLogReader(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogReader(EventLogQuery eventQuery) { } + public EventLogReader(string path, PathType pathType) { } + public EventLogReader(string path) { } + public int BatchSize { get { throw null; } set { } } + public Collections.Generic.IList LogStatus { get { throw null; } } + + public void CancelReading() { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public EventRecord ReadEvent() { throw null; } + public EventRecord ReadEvent(TimeSpan timeout) { throw null; } + public void Seek(EventBookmark bookmark, long offset) { } + public void Seek(EventBookmark bookmark) { } + public void Seek(IO.SeekOrigin origin, long offset) { } + } + + public partial class EventLogReadingException : EventLogException + { + public EventLogReadingException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogReadingException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogReadingException(string message, Exception innerException) { } + public EventLogReadingException(string message) { } + } + + public partial class EventLogRecord : EventRecord + { + internal EventLogRecord() { } + public override Guid? ActivityId { get { throw null; } } + public override EventBookmark Bookmark { get { throw null; } } + public string ContainerLog { get { throw null; } } + public override int Id { get { throw null; } } + public override long? Keywords { get { throw null; } } + public override Collections.Generic.IEnumerable KeywordsDisplayNames { get { throw null; } } + public override byte? Level { get { throw null; } } + public override string LevelDisplayName { get { throw null; } } + public override string LogName { get { throw null; } } + public override string MachineName { get { throw null; } } + public Collections.Generic.IEnumerable MatchedQueryIds { get { throw null; } } + public override short? Opcode { get { throw null; } } + public override string OpcodeDisplayName { get { throw null; } } + public override int? ProcessId { get { throw null; } } + public override Collections.Generic.IList Properties { get { throw null; } } + public override Guid? ProviderId { get { throw null; } } + public override string ProviderName { get { throw null; } } + public override int? Qualifiers { get { throw null; } } + public override long? RecordId { get { throw null; } } + public override Guid? RelatedActivityId { get { throw null; } } + public override int? Task { get { throw null; } } + public override string TaskDisplayName { get { throw null; } } + public override int? ThreadId { get { throw null; } } + public override DateTime? TimeCreated { get { throw null; } } + public override Security.Principal.SecurityIdentifier UserId { get { throw null; } } + public override byte? Version { get { throw null; } } + + protected override void Dispose(bool disposing) { } + public override string FormatDescription() { throw null; } + public override string FormatDescription(Collections.Generic.IEnumerable values) { throw null; } + public Collections.Generic.IList GetPropertyValues(EventLogPropertySelector propertySelector) { throw null; } + public override string ToXml() { throw null; } + } + + public partial class EventLogSession : IDisposable + { + public EventLogSession() { } + public EventLogSession(string server, string domain, string user, Security.SecureString password, SessionAuthentication logOnType) { } + public EventLogSession(string server) { } + public static EventLogSession GlobalSession { get { throw null; } } + + public void CancelCurrentOperations() { } + public void ClearLog(string logName, string backupPath) { } + public void ClearLog(string logName) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors, Globalization.CultureInfo targetCultureInfo) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath) { } + public EventLogInformation GetLogInformation(string logName, PathType pathType) { throw null; } + public Collections.Generic.IEnumerable GetLogNames() { throw null; } + public Collections.Generic.IEnumerable GetProviderNames() { throw null; } + } + + public sealed partial class EventLogStatus + { + internal EventLogStatus() { } + public string LogName { get { throw null; } } + public int StatusCode { get { throw null; } } + } + public enum EventLogType + { + Administrative = 0, + Operational = 1, + Analytical = 2, + Debug = 3 + } + + public partial class EventLogWatcher : IDisposable + { + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark, bool readExistingEvents) { } + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogWatcher(EventLogQuery eventQuery) { } + public EventLogWatcher(string path) { } + public bool Enabled { get { throw null; } set { } } + + public event EventHandler EventRecordWritten { + add { } + remove { } + } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public sealed partial class EventMetadata + { + internal EventMetadata() { } + public string Description { get { throw null; } } + public long Id { get { throw null; } } + public Collections.Generic.IEnumerable Keywords { get { throw null; } } + public EventLevel Level { get { throw null; } } + public EventLogLink LogLink { get { throw null; } } + public EventOpcode Opcode { get { throw null; } } + public EventTask Task { get { throw null; } } + public string Template { get { throw null; } } + public byte Version { get { throw null; } } + } + public sealed partial class EventOpcode + { + internal EventOpcode() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public sealed partial class EventProperty + { + internal EventProperty() { } + public object Value { get { throw null; } } + } + public abstract partial class EventRecord : IDisposable + { + public abstract Guid? ActivityId { get; } + public abstract EventBookmark Bookmark { get; } + public abstract int Id { get; } + public abstract long? Keywords { get; } + public abstract Collections.Generic.IEnumerable KeywordsDisplayNames { get; } + public abstract byte? Level { get; } + public abstract string LevelDisplayName { get; } + public abstract string LogName { get; } + public abstract string MachineName { get; } + public abstract short? Opcode { get; } + public abstract string OpcodeDisplayName { get; } + public abstract int? ProcessId { get; } + public abstract Collections.Generic.IList Properties { get; } + public abstract Guid? ProviderId { get; } + public abstract string ProviderName { get; } + public abstract int? Qualifiers { get; } + public abstract long? RecordId { get; } + public abstract Guid? RelatedActivityId { get; } + public abstract int? Task { get; } + public abstract string TaskDisplayName { get; } + public abstract int? ThreadId { get; } + public abstract DateTime? TimeCreated { get; } + public abstract Security.Principal.SecurityIdentifier UserId { get; } + public abstract byte? Version { get; } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public abstract string FormatDescription(); + public abstract string FormatDescription(Collections.Generic.IEnumerable values); + public abstract string ToXml(); + } + + public sealed partial class EventRecordWrittenEventArgs : EventArgs + { + internal EventRecordWrittenEventArgs() { } + public Exception EventException { get { throw null; } } + public EventRecord EventRecord { get { throw null; } } + } + + public sealed partial class EventTask + { + internal EventTask() { } + public string DisplayName { get { throw null; } } + public Guid EventGuid { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public enum PathType + { + LogName = 1, + FilePath = 2 + } + + public partial class ProviderMetadata : IDisposable + { + public ProviderMetadata(string providerName, EventLogSession session, Globalization.CultureInfo targetCultureInfo) { } + public ProviderMetadata(string providerName) { } + public string DisplayName { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public Uri HelpLink { get { throw null; } } + public Guid Id { get { throw null; } } + public Collections.Generic.IList Keywords { get { throw null; } } + public Collections.Generic.IList Levels { get { throw null; } } + public Collections.Generic.IList LogLinks { get { throw null; } } + public string MessageFilePath { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IList Opcodes { get { throw null; } } + public string ParameterFilePath { get { throw null; } } + public string ResourceFilePath { get { throw null; } } + public Collections.Generic.IList Tasks { get { throw null; } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public enum SessionAuthentication + { + Default = 0, + Negotiate = 1, + Kerberos = 2, + Ntlm = 3 + } + + [Flags] + public enum StandardEventKeywords : long + { + AuditFailure = 4503599627370496L, + AuditSuccess = 9007199254740992L, + CorrelationHint = 4503599627370496L, + CorrelationHint2 = 18014398509481984L, + EventLogClassic = 36028797018963968L, + None = 0L, + ResponseTime = 281474976710656L, + Sqm = 2251799813685248L, + WdiContext = 562949953421312L, + WdiDiagnostic = 1125899906842624L + } + + public enum StandardEventLevel + { + LogAlways = 0, + Critical = 1, + Error = 2, + Warning = 3, + Informational = 4, + Verbose = 5 + } + + public enum StandardEventOpcode + { + Info = 0, + Start = 1, + Stop = 2, + DataCollectionStart = 3, + DataCollectionStop = 4, + Extension = 5, + Reply = 6, + Resume = 7, + Suspend = 8, + Send = 9, + Receive = 240 + } + + public enum StandardEventTask + { + None = 0 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net9.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net9.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..caa402abd0 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/net9.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,637 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.EventLog")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the System.Diagnostics.EventLog class, which allows the applications to use the Windows event log service.\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Diagnostics +{ + public partial class EntryWrittenEventArgs : EventArgs + { + public EntryWrittenEventArgs() { } + public EntryWrittenEventArgs(EventLogEntry entry) { } + public EventLogEntry Entry { get { throw null; } } + } + + public delegate void EntryWrittenEventHandler(object sender, EntryWrittenEventArgs e); + public partial class EventInstance + { + public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) { } + public EventInstance(long instanceId, int categoryId) { } + public int CategoryId { get { throw null; } set { } } + public EventLogEntryType EntryType { get { throw null; } set { } } + public long InstanceId { get { throw null; } set { } } + } + [ComponentModel.DefaultEvent("EntryWritten")] + public partial class EventLog : ComponentModel.Component, ComponentModel.ISupportInitialize + { + public EventLog() { } + public EventLog(string logName, string machineName, string source) { } + public EventLog(string logName, string machineName) { } + public EventLog(string logName) { } + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(false)] + public bool EnableRaisingEvents { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public EventLogEntryCollection Entries { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Log { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public string LogDisplayName { get { throw null; } } + + [ComponentModel.DefaultValue(".")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string MachineName { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public long MaximumKilobytes { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public int MinimumRetentionDays { get { throw null; } } + + [ComponentModel.Browsable(false)] + public OverflowAction OverflowAction { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Source { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(null)] + public ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } } + + public event EntryWrittenEventHandler EntryWritten { + add { } + remove { } + } + + public void BeginInit() { } + public void Clear() { } + public void Close() { } + public static void CreateEventSource(EventSourceCreationData sourceData) { } + [Obsolete("EventLog.CreateEventSource has been deprecated. Use System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) instead.")] + public static void CreateEventSource(string source, string logName, string machineName) { } + public static void CreateEventSource(string source, string logName) { } + public static void Delete(string logName, string machineName) { } + public static void Delete(string logName) { } + public static void DeleteEventSource(string source, string machineName) { } + public static void DeleteEventSource(string source) { } + protected override void Dispose(bool disposing) { } + public void EndInit() { } + public static bool Exists(string logName, string machineName) { throw null; } + public static bool Exists(string logName) { throw null; } + public static EventLog[] GetEventLogs() { throw null; } + public static EventLog[] GetEventLogs(string machineName) { throw null; } + public static string LogNameFromSourceName(string source, string machineName) { throw null; } + public void ModifyOverflowPolicy(OverflowAction action, int retentionDays) { } + public void RegisterDisplayName(string resourceFile, long resourceId) { } + public static bool SourceExists(string source, string machineName) { throw null; } + public static bool SourceExists(string source) { throw null; } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID) { } + public void WriteEntry(string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) { } + public static void WriteEntry(string source, string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message) { } + public void WriteEntry(string message) { } + public void WriteEvent(EventInstance instance, byte[] data, params object[] values) { } + public void WriteEvent(EventInstance instance, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, byte[] data, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, params object[] values) { } + } + + [ComponentModel.DesignTimeVisible(false)] + [ComponentModel.ToolboxItem(false)] + public sealed partial class EventLogEntry : ComponentModel.Component, Runtime.Serialization.ISerializable + { + internal EventLogEntry() { } + public string Category { get { throw null; } } + public short CategoryNumber { get { throw null; } } + public byte[] Data { get { throw null; } } + public EventLogEntryType EntryType { get { throw null; } } + + [Obsolete("EventLogEntry.EventID has been deprecated. Use System.Diagnostics.EventLogEntry.InstanceId instead.")] + public int EventID { get { throw null; } } + public int Index { get { throw null; } } + public long InstanceId { get { throw null; } } + public string MachineName { get { throw null; } } + public string Message { get { throw null; } } + public string[] ReplacementStrings { get { throw null; } } + public string Source { get { throw null; } } + public DateTime TimeGenerated { get { throw null; } } + public DateTime TimeWritten { get { throw null; } } + public string UserName { get { throw null; } } + + public bool Equals(EventLogEntry otherEntry) { throw null; } + void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class EventLogEntryCollection : Collections.ICollection, Collections.IEnumerable + { + internal EventLogEntryCollection() { } + public int Count { get { throw null; } } + + public virtual EventLogEntry this[int index] { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + public void CopyTo(EventLogEntry[] entries, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public enum EventLogEntryType + { + Error = 1, + Warning = 2, + Information = 4, + SuccessAudit = 8, + FailureAudit = 16 + } + + public sealed partial class EventLogTraceListener : TraceListener + { + public EventLogTraceListener() { } + public EventLogTraceListener(EventLog eventLog) { } + public EventLogTraceListener(string source) { } + public EventLog EventLog { get { throw null; } set { } } + public override string Name { get { throw null; } set { } } + + public override void Close() { } + protected override void Dispose(bool disposing) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, object data) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, params object[] data) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string format, params object[] args) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string message) { } + public override void Write(string message) { } + public override void WriteLine(string message) { } + } + + public partial class EventSourceCreationData + { + public EventSourceCreationData(string source, string logName) { } + public int CategoryCount { get { throw null; } set { } } + public string CategoryResourceFile { get { throw null; } set { } } + public string LogName { get { throw null; } set { } } + public string MachineName { get { throw null; } set { } } + public string MessageResourceFile { get { throw null; } set { } } + public string ParameterResourceFile { get { throw null; } set { } } + public string Source { get { throw null; } set { } } + } + public enum OverflowAction + { + DoNotOverwrite = -1, + OverwriteAsNeeded = 0, + OverwriteOlder = 1 + } +} + +namespace System.Diagnostics.Eventing.Reader +{ + public sealed partial class EventBookmark + { + public EventBookmark(string bookmarkXml) { } + public string BookmarkXml { get { throw null; } } + } + public sealed partial class EventKeyword + { + internal EventKeyword() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public long Value { get { throw null; } } + } + public sealed partial class EventLevel + { + internal EventLevel() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public partial class EventLogConfiguration : IDisposable + { + public EventLogConfiguration(string logName, EventLogSession session) { } + public EventLogConfiguration(string logName) { } + public bool IsClassicLog { get { throw null; } } + public bool IsEnabled { get { throw null; } set { } } + public string LogFilePath { get { throw null; } set { } } + public EventLogIsolation LogIsolation { get { throw null; } } + public EventLogMode LogMode { get { throw null; } set { } } + public string LogName { get { throw null; } } + public EventLogType LogType { get { throw null; } } + public long MaximumSizeInBytes { get { throw null; } set { } } + public string OwningProviderName { get { throw null; } } + public int? ProviderBufferSize { get { throw null; } } + public Guid? ProviderControlGuid { get { throw null; } } + public long? ProviderKeywords { get { throw null; } set { } } + public int? ProviderLatency { get { throw null; } } + public int? ProviderLevel { get { throw null; } set { } } + public int? ProviderMaximumNumberOfBuffers { get { throw null; } } + public int? ProviderMinimumNumberOfBuffers { get { throw null; } } + public Collections.Generic.IEnumerable ProviderNames { get { throw null; } } + public string SecurityDescriptor { get { throw null; } set { } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void SaveChanges() { } + } + + public partial class EventLogException : Exception + { + public EventLogException() { } + protected EventLogException(int errorCode) { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogException(string message, Exception innerException) { } + public EventLogException(string message) { } + public override string Message { get { throw null; } } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class EventLogInformation + { + internal EventLogInformation() { } + public int? Attributes { get { throw null; } } + public DateTime? CreationTime { get { throw null; } } + public long? FileSize { get { throw null; } } + public bool? IsLogFull { get { throw null; } } + public DateTime? LastAccessTime { get { throw null; } } + public DateTime? LastWriteTime { get { throw null; } } + public long? OldestRecordNumber { get { throw null; } } + public long? RecordCount { get { throw null; } } + } + public partial class EventLogInvalidDataException : EventLogException + { + public EventLogInvalidDataException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogInvalidDataException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogInvalidDataException(string message, Exception innerException) { } + public EventLogInvalidDataException(string message) { } + } + + public enum EventLogIsolation + { + Application = 0, + System = 1, + Custom = 2 + } + + public sealed partial class EventLogLink + { + internal EventLogLink() { } + public string DisplayName { get { throw null; } } + public bool IsImported { get { throw null; } } + public string LogName { get { throw null; } } + } + public enum EventLogMode + { + Circular = 0, + AutoBackup = 1, + Retain = 2 + } + + public partial class EventLogNotFoundException : EventLogException + { + public EventLogNotFoundException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogNotFoundException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogNotFoundException(string message, Exception innerException) { } + public EventLogNotFoundException(string message) { } + } + + public partial class EventLogPropertySelector : IDisposable + { + public EventLogPropertySelector(Collections.Generic.IEnumerable propertyQueries) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public partial class EventLogProviderDisabledException : EventLogException + { + public EventLogProviderDisabledException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogProviderDisabledException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogProviderDisabledException(string message, Exception innerException) { } + public EventLogProviderDisabledException(string message) { } + } + + public partial class EventLogQuery + { + public EventLogQuery(string path, PathType pathType, string query) { } + public EventLogQuery(string path, PathType pathType) { } + public bool ReverseDirection { get { throw null; } set { } } + public EventLogSession Session { get { throw null; } set { } } + public bool TolerateQueryErrors { get { throw null; } set { } } + } + public partial class EventLogReader : IDisposable + { + public EventLogReader(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogReader(EventLogQuery eventQuery) { } + public EventLogReader(string path, PathType pathType) { } + public EventLogReader(string path) { } + public int BatchSize { get { throw null; } set { } } + public Collections.Generic.IList LogStatus { get { throw null; } } + + public void CancelReading() { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public EventRecord ReadEvent() { throw null; } + public EventRecord ReadEvent(TimeSpan timeout) { throw null; } + public void Seek(EventBookmark bookmark, long offset) { } + public void Seek(EventBookmark bookmark) { } + public void Seek(IO.SeekOrigin origin, long offset) { } + } + + public partial class EventLogReadingException : EventLogException + { + public EventLogReadingException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected EventLogReadingException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogReadingException(string message, Exception innerException) { } + public EventLogReadingException(string message) { } + } + + public partial class EventLogRecord : EventRecord + { + internal EventLogRecord() { } + public override Guid? ActivityId { get { throw null; } } + public override EventBookmark Bookmark { get { throw null; } } + public string ContainerLog { get { throw null; } } + public override int Id { get { throw null; } } + public override long? Keywords { get { throw null; } } + public override Collections.Generic.IEnumerable KeywordsDisplayNames { get { throw null; } } + public override byte? Level { get { throw null; } } + public override string LevelDisplayName { get { throw null; } } + public override string LogName { get { throw null; } } + public override string MachineName { get { throw null; } } + public Collections.Generic.IEnumerable MatchedQueryIds { get { throw null; } } + public override short? Opcode { get { throw null; } } + public override string OpcodeDisplayName { get { throw null; } } + public override int? ProcessId { get { throw null; } } + public override Collections.Generic.IList Properties { get { throw null; } } + public override Guid? ProviderId { get { throw null; } } + public override string ProviderName { get { throw null; } } + public override int? Qualifiers { get { throw null; } } + public override long? RecordId { get { throw null; } } + public override Guid? RelatedActivityId { get { throw null; } } + public override int? Task { get { throw null; } } + public override string TaskDisplayName { get { throw null; } } + public override int? ThreadId { get { throw null; } } + public override DateTime? TimeCreated { get { throw null; } } + public override Security.Principal.SecurityIdentifier UserId { get { throw null; } } + public override byte? Version { get { throw null; } } + + protected override void Dispose(bool disposing) { } + public override string FormatDescription() { throw null; } + public override string FormatDescription(Collections.Generic.IEnumerable values) { throw null; } + public Collections.Generic.IList GetPropertyValues(EventLogPropertySelector propertySelector) { throw null; } + public override string ToXml() { throw null; } + } + + public partial class EventLogSession : IDisposable + { + public EventLogSession() { } + public EventLogSession(string server, string domain, string user, Security.SecureString password, SessionAuthentication logOnType) { } + public EventLogSession(string server) { } + public static EventLogSession GlobalSession { get { throw null; } } + + public void CancelCurrentOperations() { } + public void ClearLog(string logName, string backupPath) { } + public void ClearLog(string logName) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors, Globalization.CultureInfo targetCultureInfo) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath) { } + public EventLogInformation GetLogInformation(string logName, PathType pathType) { throw null; } + public Collections.Generic.IEnumerable GetLogNames() { throw null; } + public Collections.Generic.IEnumerable GetProviderNames() { throw null; } + } + + public sealed partial class EventLogStatus + { + internal EventLogStatus() { } + public string LogName { get { throw null; } } + public int StatusCode { get { throw null; } } + } + public enum EventLogType + { + Administrative = 0, + Operational = 1, + Analytical = 2, + Debug = 3 + } + + public partial class EventLogWatcher : IDisposable + { + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark, bool readExistingEvents) { } + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogWatcher(EventLogQuery eventQuery) { } + public EventLogWatcher(string path) { } + public bool Enabled { get { throw null; } set { } } + + public event EventHandler EventRecordWritten { + add { } + remove { } + } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public sealed partial class EventMetadata + { + internal EventMetadata() { } + public string Description { get { throw null; } } + public long Id { get { throw null; } } + public Collections.Generic.IEnumerable Keywords { get { throw null; } } + public EventLevel Level { get { throw null; } } + public EventLogLink LogLink { get { throw null; } } + public EventOpcode Opcode { get { throw null; } } + public EventTask Task { get { throw null; } } + public string Template { get { throw null; } } + public byte Version { get { throw null; } } + } + public sealed partial class EventOpcode + { + internal EventOpcode() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public sealed partial class EventProperty + { + internal EventProperty() { } + public object Value { get { throw null; } } + } + public abstract partial class EventRecord : IDisposable + { + public abstract Guid? ActivityId { get; } + public abstract EventBookmark Bookmark { get; } + public abstract int Id { get; } + public abstract long? Keywords { get; } + public abstract Collections.Generic.IEnumerable KeywordsDisplayNames { get; } + public abstract byte? Level { get; } + public abstract string LevelDisplayName { get; } + public abstract string LogName { get; } + public abstract string MachineName { get; } + public abstract short? Opcode { get; } + public abstract string OpcodeDisplayName { get; } + public abstract int? ProcessId { get; } + public abstract Collections.Generic.IList Properties { get; } + public abstract Guid? ProviderId { get; } + public abstract string ProviderName { get; } + public abstract int? Qualifiers { get; } + public abstract long? RecordId { get; } + public abstract Guid? RelatedActivityId { get; } + public abstract int? Task { get; } + public abstract string TaskDisplayName { get; } + public abstract int? ThreadId { get; } + public abstract DateTime? TimeCreated { get; } + public abstract Security.Principal.SecurityIdentifier UserId { get; } + public abstract byte? Version { get; } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public abstract string FormatDescription(); + public abstract string FormatDescription(Collections.Generic.IEnumerable values); + public abstract string ToXml(); + } + + public sealed partial class EventRecordWrittenEventArgs : EventArgs + { + internal EventRecordWrittenEventArgs() { } + public Exception EventException { get { throw null; } } + public EventRecord EventRecord { get { throw null; } } + } + + public sealed partial class EventTask + { + internal EventTask() { } + public string DisplayName { get { throw null; } } + public Guid EventGuid { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public enum PathType + { + LogName = 1, + FilePath = 2 + } + + public partial class ProviderMetadata : IDisposable + { + public ProviderMetadata(string providerName, EventLogSession session, Globalization.CultureInfo targetCultureInfo) { } + public ProviderMetadata(string providerName) { } + public string DisplayName { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public Uri HelpLink { get { throw null; } } + public Guid Id { get { throw null; } } + public Collections.Generic.IList Keywords { get { throw null; } } + public Collections.Generic.IList Levels { get { throw null; } } + public Collections.Generic.IList LogLinks { get { throw null; } } + public string MessageFilePath { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IList Opcodes { get { throw null; } } + public string ParameterFilePath { get { throw null; } } + public string ResourceFilePath { get { throw null; } } + public Collections.Generic.IList Tasks { get { throw null; } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public enum SessionAuthentication + { + Default = 0, + Negotiate = 1, + Kerberos = 2, + Ntlm = 3 + } + + [Flags] + public enum StandardEventKeywords : long + { + AuditFailure = 4503599627370496L, + AuditSuccess = 9007199254740992L, + CorrelationHint = 4503599627370496L, + CorrelationHint2 = 18014398509481984L, + EventLogClassic = 36028797018963968L, + None = 0L, + ResponseTime = 281474976710656L, + Sqm = 2251799813685248L, + WdiContext = 562949953421312L, + WdiDiagnostic = 1125899906842624L + } + + public enum StandardEventLevel + { + LogAlways = 0, + Critical = 1, + Error = 2, + Warning = 3, + Informational = 4, + Verbose = 5 + } + + public enum StandardEventOpcode + { + Info = 0, + Start = 1, + Stop = 2, + DataCollectionStart = 3, + DataCollectionStop = 4, + Extension = 5, + Reply = 6, + Resume = 7, + Suspend = 8, + Send = 9, + Receive = 240 + } + + public enum StandardEventTask + { + None = 0 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..3da93f2740 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,628 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Diagnostics.EventLog")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the System.Diagnostics.EventLog class, which allows the applications to use the Windows event log service.\r\n\r\nCommonly Used Types:\r\nSystem.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Diagnostics.EventLog")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Diagnostics +{ + public partial class EntryWrittenEventArgs : EventArgs + { + public EntryWrittenEventArgs() { } + public EntryWrittenEventArgs(EventLogEntry entry) { } + public EventLogEntry Entry { get { throw null; } } + } + + public delegate void EntryWrittenEventHandler(object sender, EntryWrittenEventArgs e); + public partial class EventInstance + { + public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) { } + public EventInstance(long instanceId, int categoryId) { } + public int CategoryId { get { throw null; } set { } } + public EventLogEntryType EntryType { get { throw null; } set { } } + public long InstanceId { get { throw null; } set { } } + } + [ComponentModel.DefaultEvent("EntryWritten")] + public partial class EventLog : ComponentModel.Component, ComponentModel.ISupportInitialize + { + public EventLog() { } + public EventLog(string logName, string machineName, string source) { } + public EventLog(string logName, string machineName) { } + public EventLog(string logName) { } + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(false)] + public bool EnableRaisingEvents { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public EventLogEntryCollection Entries { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Log { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public string LogDisplayName { get { throw null; } } + + [ComponentModel.DefaultValue(".")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string MachineName { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)] + public long MaximumKilobytes { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + public int MinimumRetentionDays { get { throw null; } } + + [ComponentModel.Browsable(false)] + public OverflowAction OverflowAction { get { throw null; } } + + [ComponentModel.DefaultValue("")] + [ComponentModel.ReadOnly(true)] + [ComponentModel.SettingsBindable(true)] + public string Source { get { throw null; } set { } } + + [ComponentModel.Browsable(false)] + [ComponentModel.DefaultValue(null)] + public ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } } + + public event EntryWrittenEventHandler EntryWritten { + add { } + remove { } + } + + public void BeginInit() { } + public void Clear() { } + public void Close() { } + public static void CreateEventSource(EventSourceCreationData sourceData) { } + [Obsolete("EventLog.CreateEventSource has been deprecated. Use System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) instead.")] + public static void CreateEventSource(string source, string logName, string machineName) { } + public static void CreateEventSource(string source, string logName) { } + public static void Delete(string logName, string machineName) { } + public static void Delete(string logName) { } + public static void DeleteEventSource(string source, string machineName) { } + public static void DeleteEventSource(string source) { } + protected override void Dispose(bool disposing) { } + public void EndInit() { } + public static bool Exists(string logName, string machineName) { throw null; } + public static bool Exists(string logName) { throw null; } + public static EventLog[] GetEventLogs() { throw null; } + public static EventLog[] GetEventLogs(string machineName) { throw null; } + public static string LogNameFromSourceName(string source, string machineName) { throw null; } + public void ModifyOverflowPolicy(OverflowAction action, int retentionDays) { } + public void RegisterDisplayName(string resourceFile, long resourceId) { } + public static bool SourceExists(string source, string machineName) { throw null; } + public static bool SourceExists(string source) { throw null; } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { } + public void WriteEntry(string message, EventLogEntryType type, int eventID) { } + public void WriteEntry(string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category, byte[] rawData) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category) { } + public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) { } + public static void WriteEntry(string source, string message, EventLogEntryType type) { } + public static void WriteEntry(string source, string message) { } + public void WriteEntry(string message) { } + public void WriteEvent(EventInstance instance, byte[] data, params object[] values) { } + public void WriteEvent(EventInstance instance, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, byte[] data, params object[] values) { } + public static void WriteEvent(string source, EventInstance instance, params object[] values) { } + } + + [ComponentModel.DesignTimeVisible(false)] + [ComponentModel.ToolboxItem(false)] + public sealed partial class EventLogEntry : ComponentModel.Component, Runtime.Serialization.ISerializable + { + internal EventLogEntry() { } + public string Category { get { throw null; } } + public short CategoryNumber { get { throw null; } } + public byte[] Data { get { throw null; } } + public EventLogEntryType EntryType { get { throw null; } } + + [Obsolete("EventLogEntry.EventID has been deprecated. Use System.Diagnostics.EventLogEntry.InstanceId instead.")] + public int EventID { get { throw null; } } + public int Index { get { throw null; } } + public long InstanceId { get { throw null; } } + public string MachineName { get { throw null; } } + public string Message { get { throw null; } } + public string[] ReplacementStrings { get { throw null; } } + public string Source { get { throw null; } } + public DateTime TimeGenerated { get { throw null; } } + public DateTime TimeWritten { get { throw null; } } + public string UserName { get { throw null; } } + + public bool Equals(EventLogEntry otherEntry) { throw null; } + void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public partial class EventLogEntryCollection : Collections.ICollection, Collections.IEnumerable + { + internal EventLogEntryCollection() { } + public int Count { get { throw null; } } + + public virtual EventLogEntry this[int index] { get { throw null; } } + + bool Collections.ICollection.IsSynchronized { get { throw null; } } + + object Collections.ICollection.SyncRoot { get { throw null; } } + + public void CopyTo(EventLogEntry[] entries, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + void Collections.ICollection.CopyTo(Array array, int index) { } + } + + public enum EventLogEntryType + { + Error = 1, + Warning = 2, + Information = 4, + SuccessAudit = 8, + FailureAudit = 16 + } + + public sealed partial class EventLogTraceListener : TraceListener + { + public EventLogTraceListener() { } + public EventLogTraceListener(EventLog eventLog) { } + public EventLogTraceListener(string source) { } + public EventLog EventLog { get { throw null; } set { } } + public override string Name { get { throw null; } set { } } + + public override void Close() { } + protected override void Dispose(bool disposing) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, object data) { } + public override void TraceData(TraceEventCache eventCache, string source, TraceEventType severity, int id, params object[] data) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string format, params object[] args) { } + public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType severity, int id, string message) { } + public override void Write(string message) { } + public override void WriteLine(string message) { } + } + + public partial class EventSourceCreationData + { + public EventSourceCreationData(string source, string logName) { } + public int CategoryCount { get { throw null; } set { } } + public string CategoryResourceFile { get { throw null; } set { } } + public string LogName { get { throw null; } set { } } + public string MachineName { get { throw null; } set { } } + public string MessageResourceFile { get { throw null; } set { } } + public string ParameterResourceFile { get { throw null; } set { } } + public string Source { get { throw null; } set { } } + } + public enum OverflowAction + { + DoNotOverwrite = -1, + OverwriteAsNeeded = 0, + OverwriteOlder = 1 + } +} + +namespace System.Diagnostics.Eventing.Reader +{ + public partial class EventBookmark + { + internal EventBookmark() { } + } + public sealed partial class EventKeyword + { + internal EventKeyword() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public long Value { get { throw null; } } + } + public sealed partial class EventLevel + { + internal EventLevel() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public partial class EventLogConfiguration : IDisposable + { + public EventLogConfiguration(string logName, EventLogSession session) { } + public EventLogConfiguration(string logName) { } + public bool IsClassicLog { get { throw null; } } + public bool IsEnabled { get { throw null; } set { } } + public string LogFilePath { get { throw null; } set { } } + public EventLogIsolation LogIsolation { get { throw null; } } + public EventLogMode LogMode { get { throw null; } set { } } + public string LogName { get { throw null; } } + public EventLogType LogType { get { throw null; } } + public long MaximumSizeInBytes { get { throw null; } set { } } + public string OwningProviderName { get { throw null; } } + public int? ProviderBufferSize { get { throw null; } } + public Guid? ProviderControlGuid { get { throw null; } } + public long? ProviderKeywords { get { throw null; } set { } } + public int? ProviderLatency { get { throw null; } } + public int? ProviderLevel { get { throw null; } set { } } + public int? ProviderMaximumNumberOfBuffers { get { throw null; } } + public int? ProviderMinimumNumberOfBuffers { get { throw null; } } + public Collections.Generic.IEnumerable ProviderNames { get { throw null; } } + public string SecurityDescriptor { get { throw null; } set { } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void SaveChanges() { } + } + + public partial class EventLogException : Exception + { + public EventLogException() { } + protected EventLogException(int errorCode) { } + protected EventLogException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogException(string message, Exception innerException) { } + public EventLogException(string message) { } + public override string Message { get { throw null; } } + + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public sealed partial class EventLogInformation + { + internal EventLogInformation() { } + public int? Attributes { get { throw null; } } + public DateTime? CreationTime { get { throw null; } } + public long? FileSize { get { throw null; } } + public bool? IsLogFull { get { throw null; } } + public DateTime? LastAccessTime { get { throw null; } } + public DateTime? LastWriteTime { get { throw null; } } + public long? OldestRecordNumber { get { throw null; } } + public long? RecordCount { get { throw null; } } + } + public partial class EventLogInvalidDataException : EventLogException + { + public EventLogInvalidDataException() { } + protected EventLogInvalidDataException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogInvalidDataException(string message, Exception innerException) { } + public EventLogInvalidDataException(string message) { } + } + + public enum EventLogIsolation + { + Application = 0, + System = 1, + Custom = 2 + } + + public sealed partial class EventLogLink + { + internal EventLogLink() { } + public string DisplayName { get { throw null; } } + public bool IsImported { get { throw null; } } + public string LogName { get { throw null; } } + } + public enum EventLogMode + { + Circular = 0, + AutoBackup = 1, + Retain = 2 + } + + public partial class EventLogNotFoundException : EventLogException + { + public EventLogNotFoundException() { } + protected EventLogNotFoundException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogNotFoundException(string message, Exception innerException) { } + public EventLogNotFoundException(string message) { } + } + + public partial class EventLogPropertySelector : IDisposable + { + public EventLogPropertySelector(Collections.Generic.IEnumerable propertyQueries) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public partial class EventLogProviderDisabledException : EventLogException + { + public EventLogProviderDisabledException() { } + protected EventLogProviderDisabledException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogProviderDisabledException(string message, Exception innerException) { } + public EventLogProviderDisabledException(string message) { } + } + + public partial class EventLogQuery + { + public EventLogQuery(string path, PathType pathType, string query) { } + public EventLogQuery(string path, PathType pathType) { } + public bool ReverseDirection { get { throw null; } set { } } + public EventLogSession Session { get { throw null; } set { } } + public bool TolerateQueryErrors { get { throw null; } set { } } + } + public partial class EventLogReader : IDisposable + { + public EventLogReader(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogReader(EventLogQuery eventQuery) { } + public EventLogReader(string path, PathType pathType) { } + public EventLogReader(string path) { } + public int BatchSize { get { throw null; } set { } } + public Collections.Generic.IList LogStatus { get { throw null; } } + + public void CancelReading() { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public EventRecord ReadEvent() { throw null; } + public EventRecord ReadEvent(TimeSpan timeout) { throw null; } + public void Seek(EventBookmark bookmark, long offset) { } + public void Seek(EventBookmark bookmark) { } + public void Seek(IO.SeekOrigin origin, long offset) { } + } + + public partial class EventLogReadingException : EventLogException + { + public EventLogReadingException() { } + protected EventLogReadingException(Runtime.Serialization.SerializationInfo serializationInfo, Runtime.Serialization.StreamingContext streamingContext) { } + public EventLogReadingException(string message, Exception innerException) { } + public EventLogReadingException(string message) { } + } + + public partial class EventLogRecord : EventRecord + { + internal EventLogRecord() { } + public override Guid? ActivityId { get { throw null; } } + public override EventBookmark Bookmark { get { throw null; } } + public string ContainerLog { get { throw null; } } + public override int Id { get { throw null; } } + public override long? Keywords { get { throw null; } } + public override Collections.Generic.IEnumerable KeywordsDisplayNames { get { throw null; } } + public override byte? Level { get { throw null; } } + public override string LevelDisplayName { get { throw null; } } + public override string LogName { get { throw null; } } + public override string MachineName { get { throw null; } } + public Collections.Generic.IEnumerable MatchedQueryIds { get { throw null; } } + public override short? Opcode { get { throw null; } } + public override string OpcodeDisplayName { get { throw null; } } + public override int? ProcessId { get { throw null; } } + public override Collections.Generic.IList Properties { get { throw null; } } + public override Guid? ProviderId { get { throw null; } } + public override string ProviderName { get { throw null; } } + public override int? Qualifiers { get { throw null; } } + public override long? RecordId { get { throw null; } } + public override Guid? RelatedActivityId { get { throw null; } } + public override int? Task { get { throw null; } } + public override string TaskDisplayName { get { throw null; } } + public override int? ThreadId { get { throw null; } } + public override DateTime? TimeCreated { get { throw null; } } + public override Security.Principal.SecurityIdentifier UserId { get { throw null; } } + public override byte? Version { get { throw null; } } + + protected override void Dispose(bool disposing) { } + public override string FormatDescription() { throw null; } + public override string FormatDescription(Collections.Generic.IEnumerable values) { throw null; } + public Collections.Generic.IList GetPropertyValues(EventLogPropertySelector propertySelector) { throw null; } + public override string ToXml() { throw null; } + } + + public partial class EventLogSession : IDisposable + { + public EventLogSession() { } + public EventLogSession(string server, string domain, string user, Security.SecureString password, SessionAuthentication logOnType) { } + public EventLogSession(string server) { } + public static EventLogSession GlobalSession { get { throw null; } } + + public void CancelCurrentOperations() { } + public void ClearLog(string logName, string backupPath) { } + public void ClearLog(string logName) { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors) { } + public void ExportLog(string path, PathType pathType, string query, string targetFilePath) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors, Globalization.CultureInfo targetCultureInfo) { } + public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath) { } + public EventLogInformation GetLogInformation(string logName, PathType pathType) { throw null; } + public Collections.Generic.IEnumerable GetLogNames() { throw null; } + public Collections.Generic.IEnumerable GetProviderNames() { throw null; } + } + + public sealed partial class EventLogStatus + { + internal EventLogStatus() { } + public string LogName { get { throw null; } } + public int StatusCode { get { throw null; } } + } + public enum EventLogType + { + Administrative = 0, + Operational = 1, + Analytical = 2, + Debug = 3 + } + + public partial class EventLogWatcher : IDisposable + { + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark, bool readExistingEvents) { } + public EventLogWatcher(EventLogQuery eventQuery, EventBookmark bookmark) { } + public EventLogWatcher(EventLogQuery eventQuery) { } + public EventLogWatcher(string path) { } + public bool Enabled { get { throw null; } set { } } + + public event EventHandler EventRecordWritten { + add { } + remove { } + } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public sealed partial class EventMetadata + { + internal EventMetadata() { } + public string Description { get { throw null; } } + public long Id { get { throw null; } } + public Collections.Generic.IEnumerable Keywords { get { throw null; } } + public EventLevel Level { get { throw null; } } + public EventLogLink LogLink { get { throw null; } } + public EventOpcode Opcode { get { throw null; } } + public EventTask Task { get { throw null; } } + public string Template { get { throw null; } } + public byte Version { get { throw null; } } + } + public sealed partial class EventOpcode + { + internal EventOpcode() { } + public string DisplayName { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public sealed partial class EventProperty + { + internal EventProperty() { } + public object Value { get { throw null; } } + } + public abstract partial class EventRecord : IDisposable + { + public abstract Guid? ActivityId { get; } + public abstract EventBookmark Bookmark { get; } + public abstract int Id { get; } + public abstract long? Keywords { get; } + public abstract Collections.Generic.IEnumerable KeywordsDisplayNames { get; } + public abstract byte? Level { get; } + public abstract string LevelDisplayName { get; } + public abstract string LogName { get; } + public abstract string MachineName { get; } + public abstract short? Opcode { get; } + public abstract string OpcodeDisplayName { get; } + public abstract int? ProcessId { get; } + public abstract Collections.Generic.IList Properties { get; } + public abstract Guid? ProviderId { get; } + public abstract string ProviderName { get; } + public abstract int? Qualifiers { get; } + public abstract long? RecordId { get; } + public abstract Guid? RelatedActivityId { get; } + public abstract int? Task { get; } + public abstract string TaskDisplayName { get; } + public abstract int? ThreadId { get; } + public abstract DateTime? TimeCreated { get; } + public abstract Security.Principal.SecurityIdentifier UserId { get; } + public abstract byte? Version { get; } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public abstract string FormatDescription(); + public abstract string FormatDescription(Collections.Generic.IEnumerable values); + public abstract string ToXml(); + } + + public sealed partial class EventRecordWrittenEventArgs : EventArgs + { + internal EventRecordWrittenEventArgs() { } + public Exception EventException { get { throw null; } } + public EventRecord EventRecord { get { throw null; } } + } + + public sealed partial class EventTask + { + internal EventTask() { } + public string DisplayName { get { throw null; } } + public Guid EventGuid { get { throw null; } } + public string Name { get { throw null; } } + public int Value { get { throw null; } } + } + public enum PathType + { + LogName = 1, + FilePath = 2 + } + + public partial class ProviderMetadata : IDisposable + { + public ProviderMetadata(string providerName, EventLogSession session, Globalization.CultureInfo targetCultureInfo) { } + public ProviderMetadata(string providerName) { } + public string DisplayName { get { throw null; } } + public Collections.Generic.IEnumerable Events { get { throw null; } } + public Uri HelpLink { get { throw null; } } + public Guid Id { get { throw null; } } + public Collections.Generic.IList Keywords { get { throw null; } } + public Collections.Generic.IList Levels { get { throw null; } } + public Collections.Generic.IList LogLinks { get { throw null; } } + public string MessageFilePath { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Generic.IList Opcodes { get { throw null; } } + public string ParameterFilePath { get { throw null; } } + public string ResourceFilePath { get { throw null; } } + public Collections.Generic.IList Tasks { get { throw null; } } + + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } + + public enum SessionAuthentication + { + Default = 0, + Negotiate = 1, + Kerberos = 2, + Ntlm = 3 + } + + [Flags] + public enum StandardEventKeywords : long + { + AuditFailure = 4503599627370496L, + AuditSuccess = 9007199254740992L, + CorrelationHint = 4503599627370496L, + CorrelationHint2 = 18014398509481984L, + EventLogClassic = 36028797018963968L, + None = 0L, + ResponseTime = 281474976710656L, + Sqm = 2251799813685248L, + WdiContext = 562949953421312L, + WdiDiagnostic = 1125899906842624L + } + + public enum StandardEventLevel + { + LogAlways = 0, + Critical = 1, + Error = 2, + Warning = 3, + Informational = 4, + Verbose = 5 + } + + public enum StandardEventOpcode + { + Info = 0, + Start = 1, + Stop = 2, + DataCollectionStart = 3, + DataCollectionStop = 4, + Extension = 5, + Reply = 6, + Resume = 7, + Suspend = 8, + Send = 9, + Receive = 240 + } + + public enum StandardEventTask + { + None = 0 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/system.diagnostics.eventlog.nuspec b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/system.diagnostics.eventlog.nuspec new file mode 100644 index 0000000000..275d8ac518 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/9.0.0/system.diagnostics.eventlog.nuspec @@ -0,0 +1,26 @@ + + + + System.Diagnostics.EventLog + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides the System.Diagnostics.EventLog class, which allows the applications to use the Windows event log service. + +Commonly Used Types: +System.Diagnostics.EventLog + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.asn1/9.0.0/System.Formats.Asn1.9.0.0.csproj b/src/referencePackages/src/system.formats.asn1/9.0.0/System.Formats.Asn1.9.0.0.csproj new file mode 100644 index 0000000000..e4c23ba531 --- /dev/null +++ b/src/referencePackages/src/system.formats.asn1/9.0.0/System.Formats.Asn1.9.0.0.csproj @@ -0,0 +1,15 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Formats.Asn1 + Open + + + + + + + + diff --git a/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net8.0/System.Formats.Asn1.cs b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net8.0/System.Formats.Asn1.cs new file mode 100644 index 0000000000..a43983e537 --- /dev/null +++ b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net8.0/System.Formats.Asn1.cs @@ -0,0 +1,278 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Asn1")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes that can read and write the ASN.1 BER, CER, and DER data formats.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Asn1")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Asn1 +{ + public readonly partial struct Asn1Tag : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly Asn1Tag Boolean; + public static readonly Asn1Tag ConstructedBitString; + public static readonly Asn1Tag ConstructedOctetString; + public static readonly Asn1Tag Enumerated; + public static readonly Asn1Tag GeneralizedTime; + public static readonly Asn1Tag Integer; + public static readonly Asn1Tag Null; + public static readonly Asn1Tag ObjectIdentifier; + public static readonly Asn1Tag PrimitiveBitString; + public static readonly Asn1Tag PrimitiveOctetString; + public static readonly Asn1Tag Sequence; + public static readonly Asn1Tag SetOf; + public static readonly Asn1Tag UtcTime; + public Asn1Tag(TagClass tagClass, int tagValue, bool isConstructed = false) { } + public Asn1Tag(UniversalTagNumber universalTagNumber, bool isConstructed = false) { } + public bool IsConstructed { get { throw null; } } + public TagClass TagClass { get { throw null; } } + public int TagValue { get { throw null; } } + + public readonly Asn1Tag AsConstructed() { throw null; } + public readonly Asn1Tag AsPrimitive() { throw null; } + public readonly int CalculateEncodedSize() { throw null; } + public static Asn1Tag Decode(ReadOnlySpan source, out int bytesConsumed) { throw null; } + public readonly int Encode(Span destination) { throw null; } + public readonly bool Equals(Asn1Tag other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public readonly bool HasSameClassAndValue(Asn1Tag other) { throw null; } + public static bool operator ==(Asn1Tag left, Asn1Tag right) { throw null; } + public static bool operator !=(Asn1Tag left, Asn1Tag right) { throw null; } + public override readonly string ToString() { throw null; } + public static bool TryDecode(ReadOnlySpan source, out Asn1Tag tag, out int bytesConsumed) { throw null; } + public readonly bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + + public partial class AsnContentException : Exception + { + public AsnContentException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected AsnContentException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public AsnContentException(string? message, Exception? inner) { } + public AsnContentException(string? message) { } + } + + public static partial class AsnDecoder + { + public static int? DecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed) { throw null; } + public static byte[] ReadBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool ReadBoolean(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadCharacterString(ReadOnlySpan source, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Asn1Tag ReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static ReadOnlySpan ReadEnumeratedBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type enumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TEnum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public static DateTimeOffset ReadGeneralizedTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Numerics.BigInteger ReadInteger(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static ReadOnlySpan ReadIntegerBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Collections.BitArray ReadNamedBitList(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type flagsEnumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TFlagsEnum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public static void ReadNull(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadObjectIdentifier(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static byte[] ReadOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSequence(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSetOf(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, bool skipSortOrderValidation = false, Asn1Tag? expectedTag = null) { throw null; } + public static DateTimeOffset ReadUtcTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, int twoDigitYearMax = 2049, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryDecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int? decodedLength, out int bytesConsumed) { throw null; } + public static bool TryReadBitString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterStringBytes(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out int bytesConsumed, out int bytesWritten) { throw null; } + public static bool TryReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out Asn1Tag tag, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static bool TryReadInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out int value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out long value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadOctetString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveCharacterStringBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out ReadOnlySpan value, out int bytesConsumed) { throw null; } + public static bool TryReadPrimitiveOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out uint value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out ulong value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + } + public enum AsnEncodingRules + { + BER = 0, + CER = 1, + DER = 2 + } + + public partial class AsnReader + { + public AsnReader(ReadOnlyMemory data, AsnEncodingRules ruleSet, AsnReaderOptions options = default) { } + public bool HasData { get { throw null; } } + public AsnEncodingRules RuleSet { get { throw null; } } + + public AsnReader Clone() { throw null; } + public ReadOnlyMemory PeekContentBytes() { throw null; } + public ReadOnlyMemory PeekEncodedValue() { throw null; } + public Asn1Tag PeekTag() { throw null; } + public byte[] ReadBitString(out int unusedBitCount, Asn1Tag? expectedTag = null) { throw null; } + public bool ReadBoolean(Asn1Tag? expectedTag = null) { throw null; } + public string ReadCharacterString(UniversalTagNumber encodingType, Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadEncodedValue() { throw null; } + public ReadOnlyMemory ReadEnumeratedBytes(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadEnumeratedValue(Type enumType, Asn1Tag? expectedTag = null) { throw null; } + public TEnum ReadEnumeratedValue(Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public DateTimeOffset ReadGeneralizedTime(Asn1Tag? expectedTag = null) { throw null; } + public Numerics.BigInteger ReadInteger(Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadIntegerBytes(Asn1Tag? expectedTag = null) { throw null; } + public Collections.BitArray ReadNamedBitList(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadNamedBitListValue(Type flagsEnumType, Asn1Tag? expectedTag = null) { throw null; } + public TFlagsEnum ReadNamedBitListValue(Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public void ReadNull(Asn1Tag? expectedTag = null) { } + public string ReadObjectIdentifier(Asn1Tag? expectedTag = null) { throw null; } + public byte[] ReadOctetString(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSequence(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(bool skipSortOrderValidation, Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(int twoDigitYearMax, Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(Asn1Tag? expectedTag = null) { throw null; } + public void ThrowIfNotEmpty() { } + public bool TryReadBitString(Span destination, out int unusedBitCount, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterString(Span destination, UniversalTagNumber encodingType, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterStringBytes(Span destination, Asn1Tag expectedTag, out int bytesWritten) { throw null; } + public bool TryReadInt32(out int value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadInt64(out long value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadOctetString(Span destination, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveBitString(out int unusedBitCount, out ReadOnlyMemory value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveCharacterStringBytes(Asn1Tag expectedTag, out ReadOnlyMemory contents) { throw null; } + public bool TryReadPrimitiveOctetString(out ReadOnlyMemory contents, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt32(out uint value, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt64(out ulong value, Asn1Tag? expectedTag = null) { throw null; } + } + public partial struct AsnReaderOptions + { + private int _dummyPrimitive; + public bool SkipSetSortOrderVerification { get { throw null; } set { } } + public int UtcTimeTwoDigitYearMax { get { throw null; } set { } } + } + + public sealed partial class AsnWriter + { + public AsnWriter(AsnEncodingRules ruleSet, int initialCapacity) { } + public AsnWriter(AsnEncodingRules ruleSet) { } + public AsnEncodingRules RuleSet { get { throw null; } } + + public void CopyTo(AsnWriter destination) { } + public byte[] Encode() { throw null; } + public int Encode(Span destination) { throw null; } + public bool EncodedValueEquals(AsnWriter other) { throw null; } + public bool EncodedValueEquals(ReadOnlySpan other) { throw null; } + public int GetEncodedLength() { throw null; } + public void PopOctetString(Asn1Tag? tag = null) { } + public void PopSequence(Asn1Tag? tag = null) { } + public void PopSetOf(Asn1Tag? tag = null) { } + public Scope PushOctetString(Asn1Tag? tag = null) { throw null; } + public Scope PushSequence(Asn1Tag? tag = null) { throw null; } + public Scope PushSetOf(Asn1Tag? tag = null) { throw null; } + public void Reset() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public void WriteBitString(ReadOnlySpan value, int unusedBitCount = 0, Asn1Tag? tag = null) { } + public void WriteBoolean(bool value, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, ReadOnlySpan str, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, string value, Asn1Tag? tag = null) { } + public void WriteEncodedValue(ReadOnlySpan value) { } + public void WriteEnumeratedValue(Enum value, Asn1Tag? tag = null) { } + public void WriteEnumeratedValue(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteGeneralizedTime(DateTimeOffset value, bool omitFractionalSeconds = false, Asn1Tag? tag = null) { } + public void WriteInteger(long value, Asn1Tag? tag = null) { } + public void WriteInteger(Numerics.BigInteger value, Asn1Tag? tag = null) { } + public void WriteInteger(ReadOnlySpan value, Asn1Tag? tag = null) { } + [CLSCompliant(false)] + public void WriteInteger(ulong value, Asn1Tag? tag = null) { } + public void WriteIntegerUnsigned(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Collections.BitArray value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Enum value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteNull(Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(ReadOnlySpan oidValue, Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(string oidValue, Asn1Tag? tag = null) { } + public void WriteOctetString(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, int twoDigitYearMax, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, Asn1Tag? tag = null) { } + public readonly partial struct Scope : IDisposable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void Dispose() { } + } + } + public enum TagClass + { + Universal = 0, + Application = 64, + ContextSpecific = 128, + Private = 192 + } + + public enum UniversalTagNumber + { + EndOfContents = 0, + Boolean = 1, + Integer = 2, + BitString = 3, + OctetString = 4, + Null = 5, + ObjectIdentifier = 6, + ObjectDescriptor = 7, + External = 8, + InstanceOf = 8, + Real = 9, + Enumerated = 10, + Embedded = 11, + UTF8String = 12, + RelativeObjectIdentifier = 13, + Time = 14, + Sequence = 16, + SequenceOf = 16, + Set = 17, + SetOf = 17, + NumericString = 18, + PrintableString = 19, + T61String = 20, + TeletexString = 20, + VideotexString = 21, + IA5String = 22, + UtcTime = 23, + GeneralizedTime = 24, + GraphicString = 25, + ISO646String = 26, + VisibleString = 26, + GeneralString = 27, + UniversalString = 28, + UnrestrictedCharacterString = 29, + BMPString = 30, + Date = 31, + TimeOfDay = 32, + DateTime = 33, + Duration = 34, + ObjectIdentifierIRI = 35, + RelativeObjectIdentifierIRI = 36 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net9.0/System.Formats.Asn1.cs b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net9.0/System.Formats.Asn1.cs new file mode 100644 index 0000000000..379260d3d4 --- /dev/null +++ b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/net9.0/System.Formats.Asn1.cs @@ -0,0 +1,278 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Asn1")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes that can read and write the ASN.1 BER, CER, and DER data formats.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Asn1")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Asn1 +{ + public readonly partial struct Asn1Tag : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly Asn1Tag Boolean; + public static readonly Asn1Tag ConstructedBitString; + public static readonly Asn1Tag ConstructedOctetString; + public static readonly Asn1Tag Enumerated; + public static readonly Asn1Tag GeneralizedTime; + public static readonly Asn1Tag Integer; + public static readonly Asn1Tag Null; + public static readonly Asn1Tag ObjectIdentifier; + public static readonly Asn1Tag PrimitiveBitString; + public static readonly Asn1Tag PrimitiveOctetString; + public static readonly Asn1Tag Sequence; + public static readonly Asn1Tag SetOf; + public static readonly Asn1Tag UtcTime; + public Asn1Tag(TagClass tagClass, int tagValue, bool isConstructed = false) { } + public Asn1Tag(UniversalTagNumber universalTagNumber, bool isConstructed = false) { } + public bool IsConstructed { get { throw null; } } + public TagClass TagClass { get { throw null; } } + public int TagValue { get { throw null; } } + + public readonly Asn1Tag AsConstructed() { throw null; } + public readonly Asn1Tag AsPrimitive() { throw null; } + public readonly int CalculateEncodedSize() { throw null; } + public static Asn1Tag Decode(ReadOnlySpan source, out int bytesConsumed) { throw null; } + public readonly int Encode(Span destination) { throw null; } + public readonly bool Equals(Asn1Tag other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public readonly bool HasSameClassAndValue(Asn1Tag other) { throw null; } + public static bool operator ==(Asn1Tag left, Asn1Tag right) { throw null; } + public static bool operator !=(Asn1Tag left, Asn1Tag right) { throw null; } + public override readonly string ToString() { throw null; } + public static bool TryDecode(ReadOnlySpan source, out Asn1Tag tag, out int bytesConsumed) { throw null; } + public readonly bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + + public partial class AsnContentException : Exception + { + public AsnContentException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected AsnContentException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public AsnContentException(string? message, Exception? inner) { } + public AsnContentException(string? message) { } + } + + public static partial class AsnDecoder + { + public static int? DecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed) { throw null; } + public static byte[] ReadBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool ReadBoolean(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadCharacterString(ReadOnlySpan source, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Asn1Tag ReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static ReadOnlySpan ReadEnumeratedBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type enumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TEnum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public static DateTimeOffset ReadGeneralizedTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Numerics.BigInteger ReadInteger(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static ReadOnlySpan ReadIntegerBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Collections.BitArray ReadNamedBitList(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type flagsEnumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TFlagsEnum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public static void ReadNull(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadObjectIdentifier(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static byte[] ReadOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSequence(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSetOf(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, bool skipSortOrderValidation = false, Asn1Tag? expectedTag = null) { throw null; } + public static DateTimeOffset ReadUtcTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, int twoDigitYearMax = 2049, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryDecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int? decodedLength, out int bytesConsumed) { throw null; } + public static bool TryReadBitString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterStringBytes(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out int bytesConsumed, out int bytesWritten) { throw null; } + public static bool TryReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out Asn1Tag tag, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static bool TryReadInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out int value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out long value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadOctetString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveCharacterStringBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out ReadOnlySpan value, out int bytesConsumed) { throw null; } + public static bool TryReadPrimitiveOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out uint value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out ulong value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + } + public enum AsnEncodingRules + { + BER = 0, + CER = 1, + DER = 2 + } + + public partial class AsnReader + { + public AsnReader(ReadOnlyMemory data, AsnEncodingRules ruleSet, AsnReaderOptions options = default) { } + public bool HasData { get { throw null; } } + public AsnEncodingRules RuleSet { get { throw null; } } + + public AsnReader Clone() { throw null; } + public ReadOnlyMemory PeekContentBytes() { throw null; } + public ReadOnlyMemory PeekEncodedValue() { throw null; } + public Asn1Tag PeekTag() { throw null; } + public byte[] ReadBitString(out int unusedBitCount, Asn1Tag? expectedTag = null) { throw null; } + public bool ReadBoolean(Asn1Tag? expectedTag = null) { throw null; } + public string ReadCharacterString(UniversalTagNumber encodingType, Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadEncodedValue() { throw null; } + public ReadOnlyMemory ReadEnumeratedBytes(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadEnumeratedValue(Type enumType, Asn1Tag? expectedTag = null) { throw null; } + public TEnum ReadEnumeratedValue(Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public DateTimeOffset ReadGeneralizedTime(Asn1Tag? expectedTag = null) { throw null; } + public Numerics.BigInteger ReadInteger(Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadIntegerBytes(Asn1Tag? expectedTag = null) { throw null; } + public Collections.BitArray ReadNamedBitList(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadNamedBitListValue(Type flagsEnumType, Asn1Tag? expectedTag = null) { throw null; } + public TFlagsEnum ReadNamedBitListValue(Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public void ReadNull(Asn1Tag? expectedTag = null) { } + public string ReadObjectIdentifier(Asn1Tag? expectedTag = null) { throw null; } + public byte[] ReadOctetString(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSequence(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(bool skipSortOrderValidation, Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(int twoDigitYearMax, Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(Asn1Tag? expectedTag = null) { throw null; } + public void ThrowIfNotEmpty() { } + public bool TryReadBitString(Span destination, out int unusedBitCount, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterString(Span destination, UniversalTagNumber encodingType, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterStringBytes(Span destination, Asn1Tag expectedTag, out int bytesWritten) { throw null; } + public bool TryReadInt32(out int value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadInt64(out long value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadOctetString(Span destination, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveBitString(out int unusedBitCount, out ReadOnlyMemory value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveCharacterStringBytes(Asn1Tag expectedTag, out ReadOnlyMemory contents) { throw null; } + public bool TryReadPrimitiveOctetString(out ReadOnlyMemory contents, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt32(out uint value, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt64(out ulong value, Asn1Tag? expectedTag = null) { throw null; } + } + public partial struct AsnReaderOptions + { + private int _dummyPrimitive; + public bool SkipSetSortOrderVerification { get { throw null; } set { } } + public int UtcTimeTwoDigitYearMax { get { throw null; } set { } } + } + + public sealed partial class AsnWriter + { + public AsnWriter(AsnEncodingRules ruleSet, int initialCapacity) { } + public AsnWriter(AsnEncodingRules ruleSet) { } + public AsnEncodingRules RuleSet { get { throw null; } } + + public void CopyTo(AsnWriter destination) { } + public byte[] Encode() { throw null; } + public int Encode(Span destination) { throw null; } + public bool EncodedValueEquals(AsnWriter other) { throw null; } + public bool EncodedValueEquals(ReadOnlySpan other) { throw null; } + public int GetEncodedLength() { throw null; } + public void PopOctetString(Asn1Tag? tag = null) { } + public void PopSequence(Asn1Tag? tag = null) { } + public void PopSetOf(Asn1Tag? tag = null) { } + public Scope PushOctetString(Asn1Tag? tag = null) { throw null; } + public Scope PushSequence(Asn1Tag? tag = null) { throw null; } + public Scope PushSetOf(Asn1Tag? tag = null) { throw null; } + public void Reset() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public void WriteBitString(ReadOnlySpan value, int unusedBitCount = 0, Asn1Tag? tag = null) { } + public void WriteBoolean(bool value, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, ReadOnlySpan str, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, string value, Asn1Tag? tag = null) { } + public void WriteEncodedValue(ReadOnlySpan value) { } + public void WriteEnumeratedValue(Enum value, Asn1Tag? tag = null) { } + public void WriteEnumeratedValue(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteGeneralizedTime(DateTimeOffset value, bool omitFractionalSeconds = false, Asn1Tag? tag = null) { } + public void WriteInteger(long value, Asn1Tag? tag = null) { } + public void WriteInteger(Numerics.BigInteger value, Asn1Tag? tag = null) { } + public void WriteInteger(ReadOnlySpan value, Asn1Tag? tag = null) { } + [CLSCompliant(false)] + public void WriteInteger(ulong value, Asn1Tag? tag = null) { } + public void WriteIntegerUnsigned(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Collections.BitArray value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Enum value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteNull(Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(ReadOnlySpan oidValue, Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(string oidValue, Asn1Tag? tag = null) { } + public void WriteOctetString(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, int twoDigitYearMax, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, Asn1Tag? tag = null) { } + public readonly partial struct Scope : IDisposable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void Dispose() { } + } + } + public enum TagClass + { + Universal = 0, + Application = 64, + ContextSpecific = 128, + Private = 192 + } + + public enum UniversalTagNumber + { + EndOfContents = 0, + Boolean = 1, + Integer = 2, + BitString = 3, + OctetString = 4, + Null = 5, + ObjectIdentifier = 6, + ObjectDescriptor = 7, + External = 8, + InstanceOf = 8, + Real = 9, + Enumerated = 10, + Embedded = 11, + UTF8String = 12, + RelativeObjectIdentifier = 13, + Time = 14, + Sequence = 16, + SequenceOf = 16, + Set = 17, + SetOf = 17, + NumericString = 18, + PrintableString = 19, + T61String = 20, + TeletexString = 20, + VideotexString = 21, + IA5String = 22, + UtcTime = 23, + GeneralizedTime = 24, + GraphicString = 25, + ISO646String = 26, + VisibleString = 26, + GeneralString = 27, + UniversalString = 28, + UnrestrictedCharacterString = 29, + BMPString = 30, + Date = 31, + TimeOfDay = 32, + DateTime = 33, + Duration = 34, + ObjectIdentifierIRI = 35, + RelativeObjectIdentifierIRI = 36 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.asn1/9.0.0/lib/netstandard2.0/System.Formats.Asn1.cs b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/netstandard2.0/System.Formats.Asn1.cs new file mode 100644 index 0000000000..b360e1363e --- /dev/null +++ b/src/referencePackages/src/system.formats.asn1/9.0.0/lib/netstandard2.0/System.Formats.Asn1.cs @@ -0,0 +1,277 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Asn1")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes that can read and write the ASN.1 BER, CER, and DER data formats.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Asn1")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Asn1 +{ + public readonly partial struct Asn1Tag : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly Asn1Tag Boolean; + public static readonly Asn1Tag ConstructedBitString; + public static readonly Asn1Tag ConstructedOctetString; + public static readonly Asn1Tag Enumerated; + public static readonly Asn1Tag GeneralizedTime; + public static readonly Asn1Tag Integer; + public static readonly Asn1Tag Null; + public static readonly Asn1Tag ObjectIdentifier; + public static readonly Asn1Tag PrimitiveBitString; + public static readonly Asn1Tag PrimitiveOctetString; + public static readonly Asn1Tag Sequence; + public static readonly Asn1Tag SetOf; + public static readonly Asn1Tag UtcTime; + public Asn1Tag(TagClass tagClass, int tagValue, bool isConstructed = false) { } + public Asn1Tag(UniversalTagNumber universalTagNumber, bool isConstructed = false) { } + public bool IsConstructed { get { throw null; } } + public TagClass TagClass { get { throw null; } } + public int TagValue { get { throw null; } } + + public readonly Asn1Tag AsConstructed() { throw null; } + public readonly Asn1Tag AsPrimitive() { throw null; } + public readonly int CalculateEncodedSize() { throw null; } + public static Asn1Tag Decode(ReadOnlySpan source, out int bytesConsumed) { throw null; } + public readonly int Encode(Span destination) { throw null; } + public readonly bool Equals(Asn1Tag other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public readonly bool HasSameClassAndValue(Asn1Tag other) { throw null; } + public static bool operator ==(Asn1Tag left, Asn1Tag right) { throw null; } + public static bool operator !=(Asn1Tag left, Asn1Tag right) { throw null; } + public override readonly string ToString() { throw null; } + public static bool TryDecode(ReadOnlySpan source, out Asn1Tag tag, out int bytesConsumed) { throw null; } + public readonly bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + + public partial class AsnContentException : Exception + { + public AsnContentException() { } + protected AsnContentException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public AsnContentException(string? message, Exception? inner) { } + public AsnContentException(string? message) { } + } + + public static partial class AsnDecoder + { + public static int? DecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed) { throw null; } + public static byte[] ReadBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool ReadBoolean(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadCharacterString(ReadOnlySpan source, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Asn1Tag ReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static ReadOnlySpan ReadEnumeratedBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type enumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TEnum ReadEnumeratedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public static DateTimeOffset ReadGeneralizedTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Numerics.BigInteger ReadInteger(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static ReadOnlySpan ReadIntegerBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Collections.BitArray ReadNamedBitList(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static Enum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, Type flagsEnumType, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static TFlagsEnum ReadNamedBitListValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public static void ReadNull(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static string ReadObjectIdentifier(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static byte[] ReadOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSequence(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static void ReadSetOf(ReadOnlySpan source, AsnEncodingRules ruleSet, out int contentOffset, out int contentLength, out int bytesConsumed, bool skipSortOrderValidation = false, Asn1Tag? expectedTag = null) { throw null; } + public static DateTimeOffset ReadUtcTime(ReadOnlySpan source, AsnEncodingRules ruleSet, out int bytesConsumed, int twoDigitYearMax = 2049, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryDecodeLength(ReadOnlySpan source, AsnEncodingRules ruleSet, out int? decodedLength, out int bytesConsumed) { throw null; } + public static bool TryReadBitString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int unusedBitCount, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, UniversalTagNumber encodingType, out int bytesConsumed, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadCharacterStringBytes(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out int bytesConsumed, out int bytesWritten) { throw null; } + public static bool TryReadEncodedValue(ReadOnlySpan source, AsnEncodingRules ruleSet, out Asn1Tag tag, out int contentOffset, out int contentLength, out int bytesConsumed) { throw null; } + public static bool TryReadInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out int value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out long value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadOctetString(ReadOnlySpan source, Span destination, AsnEncodingRules ruleSet, out int bytesConsumed, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveBitString(ReadOnlySpan source, AsnEncodingRules ruleSet, out int unusedBitCount, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + public static bool TryReadPrimitiveCharacterStringBytes(ReadOnlySpan source, AsnEncodingRules ruleSet, Asn1Tag expectedTag, out ReadOnlySpan value, out int bytesConsumed) { throw null; } + public static bool TryReadPrimitiveOctetString(ReadOnlySpan source, AsnEncodingRules ruleSet, out ReadOnlySpan value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt32(ReadOnlySpan source, AsnEncodingRules ruleSet, out uint value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt64(ReadOnlySpan source, AsnEncodingRules ruleSet, out ulong value, out int bytesConsumed, Asn1Tag? expectedTag = null) { throw null; } + } + public enum AsnEncodingRules + { + BER = 0, + CER = 1, + DER = 2 + } + + public partial class AsnReader + { + public AsnReader(ReadOnlyMemory data, AsnEncodingRules ruleSet, AsnReaderOptions options = default) { } + public bool HasData { get { throw null; } } + public AsnEncodingRules RuleSet { get { throw null; } } + + public AsnReader Clone() { throw null; } + public ReadOnlyMemory PeekContentBytes() { throw null; } + public ReadOnlyMemory PeekEncodedValue() { throw null; } + public Asn1Tag PeekTag() { throw null; } + public byte[] ReadBitString(out int unusedBitCount, Asn1Tag? expectedTag = null) { throw null; } + public bool ReadBoolean(Asn1Tag? expectedTag = null) { throw null; } + public string ReadCharacterString(UniversalTagNumber encodingType, Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadEncodedValue() { throw null; } + public ReadOnlyMemory ReadEnumeratedBytes(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadEnumeratedValue(Type enumType, Asn1Tag? expectedTag = null) { throw null; } + public TEnum ReadEnumeratedValue(Asn1Tag? expectedTag = null) where TEnum : Enum { throw null; } + public DateTimeOffset ReadGeneralizedTime(Asn1Tag? expectedTag = null) { throw null; } + public Numerics.BigInteger ReadInteger(Asn1Tag? expectedTag = null) { throw null; } + public ReadOnlyMemory ReadIntegerBytes(Asn1Tag? expectedTag = null) { throw null; } + public Collections.BitArray ReadNamedBitList(Asn1Tag? expectedTag = null) { throw null; } + public Enum ReadNamedBitListValue(Type flagsEnumType, Asn1Tag? expectedTag = null) { throw null; } + public TFlagsEnum ReadNamedBitListValue(Asn1Tag? expectedTag = null) where TFlagsEnum : Enum { throw null; } + public void ReadNull(Asn1Tag? expectedTag = null) { } + public string ReadObjectIdentifier(Asn1Tag? expectedTag = null) { throw null; } + public byte[] ReadOctetString(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSequence(Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(bool skipSortOrderValidation, Asn1Tag? expectedTag = null) { throw null; } + public AsnReader ReadSetOf(Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(int twoDigitYearMax, Asn1Tag? expectedTag = null) { throw null; } + public DateTimeOffset ReadUtcTime(Asn1Tag? expectedTag = null) { throw null; } + public void ThrowIfNotEmpty() { } + public bool TryReadBitString(Span destination, out int unusedBitCount, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterString(Span destination, UniversalTagNumber encodingType, out int charsWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadCharacterStringBytes(Span destination, Asn1Tag expectedTag, out int bytesWritten) { throw null; } + public bool TryReadInt32(out int value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadInt64(out long value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadOctetString(Span destination, out int bytesWritten, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveBitString(out int unusedBitCount, out ReadOnlyMemory value, Asn1Tag? expectedTag = null) { throw null; } + public bool TryReadPrimitiveCharacterStringBytes(Asn1Tag expectedTag, out ReadOnlyMemory contents) { throw null; } + public bool TryReadPrimitiveOctetString(out ReadOnlyMemory contents, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt32(out uint value, Asn1Tag? expectedTag = null) { throw null; } + [CLSCompliant(false)] + public bool TryReadUInt64(out ulong value, Asn1Tag? expectedTag = null) { throw null; } + } + public partial struct AsnReaderOptions + { + private int _dummyPrimitive; + public bool SkipSetSortOrderVerification { get { throw null; } set { } } + public int UtcTimeTwoDigitYearMax { get { throw null; } set { } } + } + + public sealed partial class AsnWriter + { + public AsnWriter(AsnEncodingRules ruleSet, int initialCapacity) { } + public AsnWriter(AsnEncodingRules ruleSet) { } + public AsnEncodingRules RuleSet { get { throw null; } } + + public void CopyTo(AsnWriter destination) { } + public byte[] Encode() { throw null; } + public int Encode(Span destination) { throw null; } + public bool EncodedValueEquals(AsnWriter other) { throw null; } + public bool EncodedValueEquals(ReadOnlySpan other) { throw null; } + public int GetEncodedLength() { throw null; } + public void PopOctetString(Asn1Tag? tag = null) { } + public void PopSequence(Asn1Tag? tag = null) { } + public void PopSetOf(Asn1Tag? tag = null) { } + public Scope PushOctetString(Asn1Tag? tag = null) { throw null; } + public Scope PushSequence(Asn1Tag? tag = null) { throw null; } + public Scope PushSetOf(Asn1Tag? tag = null) { throw null; } + public void Reset() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public void WriteBitString(ReadOnlySpan value, int unusedBitCount = 0, Asn1Tag? tag = null) { } + public void WriteBoolean(bool value, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, ReadOnlySpan str, Asn1Tag? tag = null) { } + public void WriteCharacterString(UniversalTagNumber encodingType, string value, Asn1Tag? tag = null) { } + public void WriteEncodedValue(ReadOnlySpan value) { } + public void WriteEnumeratedValue(Enum value, Asn1Tag? tag = null) { } + public void WriteEnumeratedValue(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteGeneralizedTime(DateTimeOffset value, bool omitFractionalSeconds = false, Asn1Tag? tag = null) { } + public void WriteInteger(long value, Asn1Tag? tag = null) { } + public void WriteInteger(Numerics.BigInteger value, Asn1Tag? tag = null) { } + public void WriteInteger(ReadOnlySpan value, Asn1Tag? tag = null) { } + [CLSCompliant(false)] + public void WriteInteger(ulong value, Asn1Tag? tag = null) { } + public void WriteIntegerUnsigned(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Collections.BitArray value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(Enum value, Asn1Tag? tag = null) { } + public void WriteNamedBitList(TEnum value, Asn1Tag? tag = null) where TEnum : Enum { } + public void WriteNull(Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(ReadOnlySpan oidValue, Asn1Tag? tag = null) { } + public void WriteObjectIdentifier(string oidValue, Asn1Tag? tag = null) { } + public void WriteOctetString(ReadOnlySpan value, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, int twoDigitYearMax, Asn1Tag? tag = null) { } + public void WriteUtcTime(DateTimeOffset value, Asn1Tag? tag = null) { } + public readonly partial struct Scope : IDisposable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly void Dispose() { } + } + } + public enum TagClass + { + Universal = 0, + Application = 64, + ContextSpecific = 128, + Private = 192 + } + + public enum UniversalTagNumber + { + EndOfContents = 0, + Boolean = 1, + Integer = 2, + BitString = 3, + OctetString = 4, + Null = 5, + ObjectIdentifier = 6, + ObjectDescriptor = 7, + External = 8, + InstanceOf = 8, + Real = 9, + Enumerated = 10, + Embedded = 11, + UTF8String = 12, + RelativeObjectIdentifier = 13, + Time = 14, + Sequence = 16, + SequenceOf = 16, + Set = 17, + SetOf = 17, + NumericString = 18, + PrintableString = 19, + T61String = 20, + TeletexString = 20, + VideotexString = 21, + IA5String = 22, + UtcTime = 23, + GeneralizedTime = 24, + GraphicString = 25, + ISO646String = 26, + VisibleString = 26, + GeneralString = 27, + UniversalString = 28, + UnrestrictedCharacterString = 29, + BMPString = 30, + Date = 31, + TimeOfDay = 32, + DateTime = 33, + Duration = 34, + ObjectIdentifierIRI = 35, + RelativeObjectIdentifierIRI = 36 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.asn1/9.0.0/system.formats.asn1.nuspec b/src/referencePackages/src/system.formats.asn1/9.0.0/system.formats.asn1.nuspec new file mode 100644 index 0000000000..1c73224db7 --- /dev/null +++ b/src/referencePackages/src/system.formats.asn1/9.0.0/system.formats.asn1.nuspec @@ -0,0 +1,24 @@ + + + + System.Formats.Asn1 + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides classes that can read and write the ASN.1 BER, CER, and DER data formats. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.nrbf/9.0.0/System.Formats.Nrbf.9.0.0.csproj b/src/referencePackages/src/system.formats.nrbf/9.0.0/System.Formats.Nrbf.9.0.0.csproj new file mode 100644 index 0000000000..51819ea5fd --- /dev/null +++ b/src/referencePackages/src/system.formats.nrbf/9.0.0/System.Formats.Nrbf.9.0.0.csproj @@ -0,0 +1,19 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Formats.Nrbf + Open + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net8.0/System.Formats.Nrbf.cs b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net8.0/System.Formats.Nrbf.cs new file mode 100644 index 0000000000..1d818c9043 --- /dev/null +++ b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net8.0/System.Formats.Nrbf.cs @@ -0,0 +1,147 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5005", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Nrbf")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides a safe reader for .NET Remoting Binary Format (NRBF) payloads.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Nrbf")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Nrbf +{ + public abstract partial class ArrayRecord : SerializationRecord + { + internal ArrayRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public abstract ReadOnlySpan Lengths { get; } + public int Rank { get { throw null; } } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + public Array GetArray(Type expectedArrayType, bool allowNulls = true) { throw null; } + } + + public abstract partial class ClassRecord : SerializationRecord + { + internal ClassRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public Collections.Generic.IEnumerable MemberNames { get { throw null; } } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + + public ArrayRecord? GetArrayRecord(string memberName) { throw null; } + public bool GetBoolean(string memberName) { throw null; } + public byte GetByte(string memberName) { throw null; } + public char GetChar(string memberName) { throw null; } + public ClassRecord? GetClassRecord(string memberName) { throw null; } + public DateTime GetDateTime(string memberName) { throw null; } + public decimal GetDecimal(string memberName) { throw null; } + public double GetDouble(string memberName) { throw null; } + public short GetInt16(string memberName) { throw null; } + public int GetInt32(string memberName) { throw null; } + public long GetInt64(string memberName) { throw null; } + public object? GetRawValue(string memberName) { throw null; } + public sbyte GetSByte(string memberName) { throw null; } + public SerializationRecord? GetSerializationRecord(string memberName) { throw null; } + public float GetSingle(string memberName) { throw null; } + public string? GetString(string memberName) { throw null; } + public TimeSpan GetTimeSpan(string memberName) { throw null; } + public ushort GetUInt16(string memberName) { throw null; } + public uint GetUInt32(string memberName) { throw null; } + public ulong GetUInt64(string memberName) { throw null; } + public bool HasMember(string memberName) { throw null; } + } + + public static partial class NrbfDecoder + { + public static SerializationRecord Decode(IO.Stream payload, out Collections.Generic.IReadOnlyDictionary recordMap, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static SerializationRecord Decode(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static ClassRecord DecodeClassRecord(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static bool StartsWithPayloadHeader(IO.Stream stream) { throw null; } + public static bool StartsWithPayloadHeader(ReadOnlySpan bytes) { throw null; } + } + public sealed partial class PayloadOptions + { + public Reflection.Metadata.TypeNameParseOptions? TypeNameParseOptions { get { throw null; } set { } } + public bool UndoTruncatedTypeNames { get { throw null; } set { } } + } + public abstract partial class PrimitiveTypeRecord : SerializationRecord + { + internal PrimitiveTypeRecord() { } + public object Value { get { throw null; } } + } + + public abstract partial class PrimitiveTypeRecord : PrimitiveTypeRecord + { + internal PrimitiveTypeRecord() { } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + public new T Value { get { throw null; } } + } + + public abstract partial class SerializationRecord + { + internal SerializationRecord() { } + public abstract SerializationRecordId Id { get; } + public abstract SerializationRecordType RecordType { get; } + public abstract Reflection.Metadata.TypeName TypeName { get; } + + public bool TypeNameMatches(Type type) { throw null; } + } + public readonly partial struct SerializationRecordId : IEquatable + { + private readonly int _dummyPrimitive; + public readonly bool Equals(SerializationRecordId other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum SerializationRecordType + { + SerializedStreamHeader = 0, + ClassWithId = 1, + SystemClassWithMembers = 2, + ClassWithMembers = 3, + SystemClassWithMembersAndTypes = 4, + ClassWithMembersAndTypes = 5, + BinaryObjectString = 6, + BinaryArray = 7, + MemberPrimitiveTyped = 8, + MemberReference = 9, + ObjectNull = 10, + MessageEnd = 11, + BinaryLibrary = 12, + ObjectNullMultiple256 = 13, + ObjectNullMultiple = 14, + ArraySinglePrimitive = 15, + ArraySingleObject = 16, + ArraySingleString = 17, + MethodCall = 21, + MethodReturn = 22 + } + + public abstract partial class SZArrayRecord : ArrayRecord + { + internal SZArrayRecord() { } + public int Length { get { throw null; } } + public override ReadOnlySpan Lengths { get { throw null; } } + + public abstract T?[] GetArray(bool allowNulls = true); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net9.0/System.Formats.Nrbf.cs b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net9.0/System.Formats.Nrbf.cs new file mode 100644 index 0000000000..73c6892e36 --- /dev/null +++ b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/net9.0/System.Formats.Nrbf.cs @@ -0,0 +1,147 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5005", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Nrbf")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides a safe reader for .NET Remoting Binary Format (NRBF) payloads.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Nrbf")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Nrbf +{ + public abstract partial class ArrayRecord : SerializationRecord + { + internal ArrayRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public abstract ReadOnlySpan Lengths { get; } + public int Rank { get { throw null; } } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + public Array GetArray(Type expectedArrayType, bool allowNulls = true) { throw null; } + } + + public abstract partial class ClassRecord : SerializationRecord + { + internal ClassRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public Collections.Generic.IEnumerable MemberNames { get { throw null; } } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + + public ArrayRecord? GetArrayRecord(string memberName) { throw null; } + public bool GetBoolean(string memberName) { throw null; } + public byte GetByte(string memberName) { throw null; } + public char GetChar(string memberName) { throw null; } + public ClassRecord? GetClassRecord(string memberName) { throw null; } + public DateTime GetDateTime(string memberName) { throw null; } + public decimal GetDecimal(string memberName) { throw null; } + public double GetDouble(string memberName) { throw null; } + public short GetInt16(string memberName) { throw null; } + public int GetInt32(string memberName) { throw null; } + public long GetInt64(string memberName) { throw null; } + public object? GetRawValue(string memberName) { throw null; } + public sbyte GetSByte(string memberName) { throw null; } + public SerializationRecord? GetSerializationRecord(string memberName) { throw null; } + public float GetSingle(string memberName) { throw null; } + public string? GetString(string memberName) { throw null; } + public TimeSpan GetTimeSpan(string memberName) { throw null; } + public ushort GetUInt16(string memberName) { throw null; } + public uint GetUInt32(string memberName) { throw null; } + public ulong GetUInt64(string memberName) { throw null; } + public bool HasMember(string memberName) { throw null; } + } + + public static partial class NrbfDecoder + { + public static SerializationRecord Decode(IO.Stream payload, out Collections.Generic.IReadOnlyDictionary recordMap, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static SerializationRecord Decode(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static ClassRecord DecodeClassRecord(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static bool StartsWithPayloadHeader(IO.Stream stream) { throw null; } + public static bool StartsWithPayloadHeader(ReadOnlySpan bytes) { throw null; } + } + public sealed partial class PayloadOptions + { + public Reflection.Metadata.TypeNameParseOptions? TypeNameParseOptions { get { throw null; } set { } } + public bool UndoTruncatedTypeNames { get { throw null; } set { } } + } + public abstract partial class PrimitiveTypeRecord : SerializationRecord + { + internal PrimitiveTypeRecord() { } + public object Value { get { throw null; } } + } + + public abstract partial class PrimitiveTypeRecord : PrimitiveTypeRecord + { + internal PrimitiveTypeRecord() { } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + public new T Value { get { throw null; } } + } + + public abstract partial class SerializationRecord + { + internal SerializationRecord() { } + public abstract SerializationRecordId Id { get; } + public abstract SerializationRecordType RecordType { get; } + public abstract Reflection.Metadata.TypeName TypeName { get; } + + public bool TypeNameMatches(Type type) { throw null; } + } + public readonly partial struct SerializationRecordId : IEquatable + { + private readonly int _dummyPrimitive; + public readonly bool Equals(SerializationRecordId other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum SerializationRecordType + { + SerializedStreamHeader = 0, + ClassWithId = 1, + SystemClassWithMembers = 2, + ClassWithMembers = 3, + SystemClassWithMembersAndTypes = 4, + ClassWithMembersAndTypes = 5, + BinaryObjectString = 6, + BinaryArray = 7, + MemberPrimitiveTyped = 8, + MemberReference = 9, + ObjectNull = 10, + MessageEnd = 11, + BinaryLibrary = 12, + ObjectNullMultiple256 = 13, + ObjectNullMultiple = 14, + ArraySinglePrimitive = 15, + ArraySingleObject = 16, + ArraySingleString = 17, + MethodCall = 21, + MethodReturn = 22 + } + + public abstract partial class SZArrayRecord : ArrayRecord + { + internal SZArrayRecord() { } + public int Length { get { throw null; } } + public override ReadOnlySpan Lengths { get { throw null; } } + + public abstract T?[] GetArray(bool allowNulls = true); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/netstandard2.0/System.Formats.Nrbf.cs b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/netstandard2.0/System.Formats.Nrbf.cs new file mode 100644 index 0000000000..49a570edd9 --- /dev/null +++ b/src/referencePackages/src/system.formats.nrbf/9.0.0/lib/netstandard2.0/System.Formats.Nrbf.cs @@ -0,0 +1,145 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Formats.Nrbf")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides a safe reader for .NET Remoting Binary Format (NRBF) payloads.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Formats.Nrbf")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Formats.Nrbf +{ + public abstract partial class ArrayRecord : SerializationRecord + { + internal ArrayRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public abstract ReadOnlySpan Lengths { get; } + public int Rank { get { throw null; } } + + public Array GetArray(Type expectedArrayType, bool allowNulls = true) { throw null; } + } + + public abstract partial class ClassRecord : SerializationRecord + { + internal ClassRecord() { } + public override SerializationRecordId Id { get { throw null; } } + public Collections.Generic.IEnumerable MemberNames { get { throw null; } } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + + public ArrayRecord? GetArrayRecord(string memberName) { throw null; } + public bool GetBoolean(string memberName) { throw null; } + public byte GetByte(string memberName) { throw null; } + public char GetChar(string memberName) { throw null; } + public ClassRecord? GetClassRecord(string memberName) { throw null; } + public DateTime GetDateTime(string memberName) { throw null; } + public decimal GetDecimal(string memberName) { throw null; } + public double GetDouble(string memberName) { throw null; } + public short GetInt16(string memberName) { throw null; } + public int GetInt32(string memberName) { throw null; } + public long GetInt64(string memberName) { throw null; } + public object? GetRawValue(string memberName) { throw null; } + public sbyte GetSByte(string memberName) { throw null; } + public SerializationRecord? GetSerializationRecord(string memberName) { throw null; } + public float GetSingle(string memberName) { throw null; } + public string? GetString(string memberName) { throw null; } + public TimeSpan GetTimeSpan(string memberName) { throw null; } + public ushort GetUInt16(string memberName) { throw null; } + public uint GetUInt32(string memberName) { throw null; } + public ulong GetUInt64(string memberName) { throw null; } + public bool HasMember(string memberName) { throw null; } + } + + public static partial class NrbfDecoder + { + public static SerializationRecord Decode(IO.Stream payload, out Collections.Generic.IReadOnlyDictionary recordMap, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static SerializationRecord Decode(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static ClassRecord DecodeClassRecord(IO.Stream payload, PayloadOptions? options = null, bool leaveOpen = false) { throw null; } + public static bool StartsWithPayloadHeader(IO.Stream stream) { throw null; } + public static bool StartsWithPayloadHeader(ReadOnlySpan bytes) { throw null; } + } + public sealed partial class PayloadOptions + { + public Reflection.Metadata.TypeNameParseOptions? TypeNameParseOptions { get { throw null; } set { } } + public bool UndoTruncatedTypeNames { get { throw null; } set { } } + } + public abstract partial class PrimitiveTypeRecord : SerializationRecord + { + internal PrimitiveTypeRecord() { } + public object Value { get { throw null; } } + } + + public abstract partial class PrimitiveTypeRecord : PrimitiveTypeRecord + { + internal PrimitiveTypeRecord() { } + public override Reflection.Metadata.TypeName TypeName { get { throw null; } } + public new T Value { get { throw null; } } + } + + public abstract partial class SerializationRecord + { + internal SerializationRecord() { } + public abstract SerializationRecordId Id { get; } + public abstract SerializationRecordType RecordType { get; } + public abstract Reflection.Metadata.TypeName TypeName { get; } + + public bool TypeNameMatches(Type type) { throw null; } + } + public readonly partial struct SerializationRecordId : IEquatable + { + private readonly int _dummyPrimitive; + public readonly bool Equals(SerializationRecordId other) { throw null; } + public override readonly bool Equals(object? obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum SerializationRecordType + { + SerializedStreamHeader = 0, + ClassWithId = 1, + SystemClassWithMembers = 2, + ClassWithMembers = 3, + SystemClassWithMembersAndTypes = 4, + ClassWithMembersAndTypes = 5, + BinaryObjectString = 6, + BinaryArray = 7, + MemberPrimitiveTyped = 8, + MemberReference = 9, + ObjectNull = 10, + MessageEnd = 11, + BinaryLibrary = 12, + ObjectNullMultiple256 = 13, + ObjectNullMultiple = 14, + ArraySinglePrimitive = 15, + ArraySingleObject = 16, + ArraySingleString = 17, + MethodCall = 21, + MethodReturn = 22 + } + + public abstract partial class SZArrayRecord : ArrayRecord + { + internal SZArrayRecord() { } + public int Length { get { throw null; } } + public override ReadOnlySpan Lengths { get { throw null; } } + + public abstract T?[] GetArray(bool allowNulls = true); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.formats.nrbf/9.0.0/system.formats.nrbf.nuspec b/src/referencePackages/src/system.formats.nrbf/9.0.0/system.formats.nrbf.nuspec new file mode 100644 index 0000000000..1dee64122c --- /dev/null +++ b/src/referencePackages/src/system.formats.nrbf/9.0.0/system.formats.nrbf.nuspec @@ -0,0 +1,26 @@ + + + + System.Formats.Nrbf + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides a safe reader for .NET Remoting Binary Format (NRBF) payloads. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.memory/4.6.0/System.Memory.4.6.0.csproj b/src/referencePackages/src/system.memory/4.6.0/System.Memory.4.6.0.csproj new file mode 100644 index 0000000000..89cc7847cb --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.0/System.Memory.4.6.0.csproj @@ -0,0 +1,16 @@ + + + + netstandard2.0 + 4.6.0 + System.Memory + Open + + + + + + + + + diff --git a/src/referencePackages/src/system.memory/4.6.0/lib/netstandard2.0/System.Memory.cs b/src/referencePackages/src/system.memory/4.6.0/lib/netstandard2.0/System.Memory.cs new file mode 100644 index 0000000000..b2fcbb752e --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.0/lib/netstandard2.0/System.Memory.cs @@ -0,0 +1,581 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Memory")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Memory")] +[assembly: System.Reflection.AssemblyFileVersion("4.600.24.56208")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.0+d0c2a5a83211e271826172a6b0510c25a52dbd53")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Memory")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.2.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public static partial class MemoryExtensions + { + public static ReadOnlyMemory AsMemory(this string text, int start, int length) { throw null; } + public static ReadOnlyMemory AsMemory(this string text, int start) { throw null; } + public static ReadOnlyMemory AsMemory(this string text) { throw null; } + public static Memory AsMemory(this T[] array, int start, int length) { throw null; } + public static Memory AsMemory(this T[] array, int start) { throw null; } + public static Memory AsMemory(this T[] array) { throw null; } + public static Memory AsMemory(this ArraySegment segment, int start, int length) { throw null; } + public static Memory AsMemory(this ArraySegment segment, int start) { throw null; } + public static Memory AsMemory(this ArraySegment segment) { throw null; } + public static ReadOnlySpan AsSpan(this string text, int start, int length) { throw null; } + public static ReadOnlySpan AsSpan(this string text, int start) { throw null; } + public static ReadOnlySpan AsSpan(this string text) { throw null; } + public static Span AsSpan(this T[] array, int start, int length) { throw null; } + public static Span AsSpan(this T[] array, int start) { throw null; } + public static Span AsSpan(this T[] array) { throw null; } + public static Span AsSpan(this ArraySegment segment, int start, int length) { throw null; } + public static Span AsSpan(this ArraySegment segment, int start) { throw null; } + public static Span AsSpan(this ArraySegment segment) { throw null; } + public static int BinarySearch(this ReadOnlySpan span, IComparable comparable) { throw null; } + public static int BinarySearch(this Span span, IComparable comparable) { throw null; } + public static int BinarySearch(this ReadOnlySpan span, T value, TComparer comparer) where TComparer : Collections.Generic.IComparer { throw null; } + public static int BinarySearch(this ReadOnlySpan span, TComparable comparable) where TComparable : IComparable { throw null; } + public static int BinarySearch(this Span span, T value, TComparer comparer) where TComparer : Collections.Generic.IComparer { throw null; } + public static int BinarySearch(this Span span, TComparable comparable) where TComparable : IComparable { throw null; } + public static int CompareTo(this ReadOnlySpan span, ReadOnlySpan other, StringComparison comparisonType) { throw null; } + public static bool Contains(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; } + public static void CopyTo(this T[] source, Memory destination) { } + public static void CopyTo(this T[] source, Span destination) { } + public static bool EndsWith(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; } + public static bool EndsWith(this ReadOnlySpan span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static bool EndsWith(this Span span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static bool Equals(this ReadOnlySpan span, ReadOnlySpan other, StringComparison comparisonType) { throw null; } + public static int IndexOf(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; } + public static int IndexOf(this ReadOnlySpan span, T value) where T : IEquatable { throw null; } + public static int IndexOf(this ReadOnlySpan span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static int IndexOf(this Span span, T value) where T : IEquatable { throw null; } + public static int IndexOf(this Span span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static int IndexOfAny(this ReadOnlySpan span, T value0, T value1, T value2) where T : IEquatable { throw null; } + public static int IndexOfAny(this ReadOnlySpan span, T value0, T value1) where T : IEquatable { throw null; } + public static int IndexOfAny(this ReadOnlySpan span, ReadOnlySpan values) where T : IEquatable { throw null; } + public static int IndexOfAny(this Span span, T value0, T value1, T value2) where T : IEquatable { throw null; } + public static int IndexOfAny(this Span span, T value0, T value1) where T : IEquatable { throw null; } + public static int IndexOfAny(this Span span, ReadOnlySpan values) where T : IEquatable { throw null; } + public static bool IsWhiteSpace(this ReadOnlySpan span) { throw null; } + public static int LastIndexOf(this ReadOnlySpan span, T value) where T : IEquatable { throw null; } + public static int LastIndexOf(this ReadOnlySpan span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static int LastIndexOf(this Span span, T value) where T : IEquatable { throw null; } + public static int LastIndexOf(this Span span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this ReadOnlySpan span, T value0, T value1, T value2) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this ReadOnlySpan span, T value0, T value1) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this ReadOnlySpan span, ReadOnlySpan values) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this Span span, T value0, T value1, T value2) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this Span span, T value0, T value1) where T : IEquatable { throw null; } + public static int LastIndexOfAny(this Span span, ReadOnlySpan values) where T : IEquatable { throw null; } + public static bool Overlaps(this ReadOnlySpan span, ReadOnlySpan other, out int elementOffset) { throw null; } + public static bool Overlaps(this ReadOnlySpan span, ReadOnlySpan other) { throw null; } + public static bool Overlaps(this Span span, ReadOnlySpan other, out int elementOffset) { throw null; } + public static bool Overlaps(this Span span, ReadOnlySpan other) { throw null; } + public static void Reverse(this Span span) { } + public static int SequenceCompareTo(this ReadOnlySpan span, ReadOnlySpan other) where T : IComparable { throw null; } + public static int SequenceCompareTo(this Span span, ReadOnlySpan other) where T : IComparable { throw null; } + public static bool SequenceEqual(this ReadOnlySpan span, ReadOnlySpan other) where T : IEquatable { throw null; } + public static bool SequenceEqual(this Span span, ReadOnlySpan other) where T : IEquatable { throw null; } + public static bool StartsWith(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; } + public static bool StartsWith(this ReadOnlySpan span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static bool StartsWith(this Span span, ReadOnlySpan value) where T : IEquatable { throw null; } + public static int ToLower(this ReadOnlySpan source, Span destination, Globalization.CultureInfo culture) { throw null; } + public static int ToLowerInvariant(this ReadOnlySpan source, Span destination) { throw null; } + public static int ToUpper(this ReadOnlySpan source, Span destination, Globalization.CultureInfo culture) { throw null; } + public static int ToUpperInvariant(this ReadOnlySpan source, Span destination) { throw null; } + public static ReadOnlySpan Trim(this ReadOnlySpan span, char trimChar) { throw null; } + public static ReadOnlySpan Trim(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; } + public static ReadOnlySpan Trim(this ReadOnlySpan span) { throw null; } + public static ReadOnlySpan TrimEnd(this ReadOnlySpan span, char trimChar) { throw null; } + public static ReadOnlySpan TrimEnd(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; } + public static ReadOnlySpan TrimEnd(this ReadOnlySpan span) { throw null; } + public static ReadOnlySpan TrimStart(this ReadOnlySpan span, char trimChar) { throw null; } + public static ReadOnlySpan TrimStart(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; } + public static ReadOnlySpan TrimStart(this ReadOnlySpan span) { throw null; } + } + public readonly partial struct Memory + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Memory(T[] array, int start, int length) { } + public Memory(T[] array) { } + public static Memory Empty { get { throw null; } } + public bool IsEmpty { get { throw null; } } + public int Length { get { throw null; } } + public Span Span { get { throw null; } } + + public readonly void CopyTo(Memory destination) { } + public readonly bool Equals(Memory other) { throw null; } + public override readonly bool Equals(object obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static implicit operator Memory(T[] array) { throw null; } + public static implicit operator Memory(ArraySegment segment) { throw null; } + public static implicit operator ReadOnlyMemory(Memory memory) { throw null; } + public readonly Buffers.MemoryHandle Pin() { throw null; } + public readonly Memory Slice(int start, int length) { throw null; } + public readonly Memory Slice(int start) { throw null; } + public readonly T[] ToArray() { throw null; } + public override readonly string ToString() { throw null; } + public readonly bool TryCopyTo(Memory destination) { throw null; } + } + + public readonly partial struct ReadOnlyMemory + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReadOnlyMemory(T[] array, int start, int length) { } + public ReadOnlyMemory(T[] array) { } + public static ReadOnlyMemory Empty { get { throw null; } } + public bool IsEmpty { get { throw null; } } + public int Length { get { throw null; } } + public ReadOnlySpan Span { get { throw null; } } + + public readonly void CopyTo(Memory destination) { } + public override readonly bool Equals(object obj) { throw null; } + public readonly bool Equals(ReadOnlyMemory other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static implicit operator ReadOnlyMemory(T[] array) { throw null; } + public static implicit operator ReadOnlyMemory(ArraySegment segment) { throw null; } + public readonly Buffers.MemoryHandle Pin() { throw null; } + public readonly ReadOnlyMemory Slice(int start, int length) { throw null; } + public readonly ReadOnlyMemory Slice(int start) { throw null; } + public readonly T[] ToArray() { throw null; } + public override readonly string ToString() { throw null; } + public readonly bool TryCopyTo(Memory destination) { throw null; } + } + + public readonly ref partial struct ReadOnlySpan + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReadOnlySpan(T[] array, int start, int length) { } + public ReadOnlySpan(T[] array) { } + [CLSCompliant(false)] + public unsafe ReadOnlySpan(void* pointer, int length) { } + public static ReadOnlySpan Empty { get { throw null; } } + public bool IsEmpty { get { throw null; } } + + public ref readonly T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly void CopyTo(Span destination) { } + [Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")] + public override readonly bool Equals(object obj) { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } + [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")] + public override readonly int GetHashCode() { throw null; } + public readonly ref readonly T GetPinnableReference() { throw null; } + public static bool operator ==(ReadOnlySpan left, ReadOnlySpan right) { throw null; } + public static implicit operator ReadOnlySpan(T[] array) { throw null; } + public static implicit operator ReadOnlySpan(ArraySegment segment) { throw null; } + public static bool operator !=(ReadOnlySpan left, ReadOnlySpan right) { throw null; } + public readonly ReadOnlySpan Slice(int start, int length) { throw null; } + public readonly ReadOnlySpan Slice(int start) { throw null; } + public readonly T[] ToArray() { throw null; } + public override readonly string ToString() { throw null; } + public readonly bool TryCopyTo(Span destination) { throw null; } + public ref partial struct Enumerator + { + private ReadOnlySpan _span; + private object _dummy; + private int _dummyPrimitive; + public ref readonly T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct SequencePosition : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SequencePosition(object @object, int integer) { } + public override readonly bool Equals(object obj) { throw null; } + public readonly bool Equals(SequencePosition other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public readonly int GetInteger() { throw null; } + public readonly object GetObject() { throw null; } + } + + public readonly ref partial struct Span + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Span(T[] array, int start, int length) { } + public Span(T[] array) { } + [CLSCompliant(false)] + public unsafe Span(void* pointer, int length) { } + public static Span Empty { get { throw null; } } + public bool IsEmpty { get { throw null; } } + + public ref T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly void Clear() { } + public readonly void CopyTo(Span destination) { } + [Obsolete("Equals() on Span will always throw an exception. Use == instead.")] + public override readonly bool Equals(object obj) { throw null; } + public readonly void Fill(T value) { } + public readonly Enumerator GetEnumerator() { throw null; } + [Obsolete("GetHashCode() on Span will always throw an exception.")] + public override readonly int GetHashCode() { throw null; } + public readonly ref T GetPinnableReference() { throw null; } + public static bool operator ==(Span left, Span right) { throw null; } + public static implicit operator Span(T[] array) { throw null; } + public static implicit operator Span(ArraySegment segment) { throw null; } + public static implicit operator ReadOnlySpan(Span span) { throw null; } + public static bool operator !=(Span left, Span right) { throw null; } + public readonly Span Slice(int start, int length) { throw null; } + public readonly Span Slice(int start) { throw null; } + public readonly T[] ToArray() { throw null; } + public override readonly string ToString() { throw null; } + public readonly bool TryCopyTo(Span destination) { throw null; } + public ref partial struct Enumerator + { + private Span _span; + private object _dummy; + private int _dummyPrimitive; + public ref T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } +} + +namespace System.Buffers +{ + public static partial class BuffersExtensions + { + public static void CopyTo(this in ReadOnlySequence source, Span destination) { } + public static SequencePosition? PositionOf(this in ReadOnlySequence source, T value) where T : IEquatable { throw null; } + public static T[] ToArray(this in ReadOnlySequence sequence) { throw null; } + public static void Write(this IBufferWriter writer, ReadOnlySpan value) { } + } + public partial interface IBufferWriter + { + void Advance(int count); + Memory GetMemory(int sizeHint = 0); + Span GetSpan(int sizeHint = 0); + } + + public partial interface IMemoryOwner : IDisposable + { + Memory Memory { get; } + } + + public partial interface IPinnable + { + MemoryHandle Pin(int elementIndex); + void Unpin(); + } + + public partial struct MemoryHandle : IDisposable + { + private object _dummy; + private int _dummyPrimitive; + [CLSCompliant(false)] + public unsafe MemoryHandle(void* pointer, Runtime.InteropServices.GCHandle handle = default, IPinnable pinnable = null) { } + [CLSCompliant(false)] + public unsafe void* Pointer { get { throw null; } } + + public void Dispose() { } + } + + public abstract partial class MemoryManager : IMemoryOwner, IDisposable, IPinnable + { + public virtual Memory Memory { get { throw null; } } + + protected Memory CreateMemory(int start, int length) { throw null; } + protected Memory CreateMemory(int length) { throw null; } + protected abstract void Dispose(bool disposing); + public abstract Span GetSpan(); + public abstract MemoryHandle Pin(int elementIndex = 0); + void IDisposable.Dispose() { } + protected internal virtual bool TryGetArray(out ArraySegment segment) { throw null; } + public abstract void Unpin(); + } + + public abstract partial class MemoryPool : IDisposable + { + public abstract int MaxBufferSize { get; } + public static MemoryPool Shared { get { throw null; } } + + public void Dispose() { } + protected abstract void Dispose(bool disposing); + public abstract IMemoryOwner Rent(int minBufferSize = -1); + } + + public enum OperationStatus + { + Done = 0, + DestinationTooSmall = 1, + NeedMoreData = 2, + InvalidData = 3 + } + + public abstract partial class ReadOnlySequenceSegment + { + public ReadOnlyMemory Memory { get { throw null; } protected set { } } + public ReadOnlySequenceSegment Next { get { throw null; } protected set { } } + public long RunningIndex { get { throw null; } protected set { } } + } + public readonly partial struct ReadOnlySequence + { + public static readonly ReadOnlySequence Empty; + public ReadOnlySequence(T[] array, int start, int length) { } + public ReadOnlySequence(T[] array) { } + public ReadOnlySequence(ReadOnlySequenceSegment startSegment, int startIndex, ReadOnlySequenceSegment endSegment, int endIndex) { } + public ReadOnlySequence(ReadOnlyMemory memory) { } + public SequencePosition End { get { throw null; } } + public ReadOnlyMemory First { get { throw null; } } + public bool IsEmpty { get { throw null; } } + public bool IsSingleSegment { get { throw null; } } + public long Length { get { throw null; } } + public SequencePosition Start { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } + public readonly SequencePosition GetPosition(long offset) { throw null; } + public readonly ReadOnlySequence Slice(int start, int length) { throw null; } + public readonly ReadOnlySequence Slice(int start, SequencePosition end) { throw null; } + public readonly ReadOnlySequence Slice(long start, long length) { throw null; } + public readonly ReadOnlySequence Slice(long start, SequencePosition end) { throw null; } + public readonly ReadOnlySequence Slice(long start) { throw null; } + public readonly ReadOnlySequence Slice(SequencePosition start, int length) { throw null; } + public readonly ReadOnlySequence Slice(SequencePosition start, long length) { throw null; } + public readonly ReadOnlySequence Slice(SequencePosition start, SequencePosition end) { throw null; } + public readonly ReadOnlySequence Slice(SequencePosition start) { throw null; } + public override readonly string ToString() { throw null; } + public readonly bool TryGet(ref SequencePosition position, out ReadOnlyMemory memory, bool advance = true) { throw null; } + public partial struct Enumerator + { + private ReadOnlySequence _sequence; + private ReadOnlyMemory _currentMemory; + private int _dummyPrimitive; + public Enumerator(in ReadOnlySequence sequence) { } + public ReadOnlyMemory Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct StandardFormat : IEquatable + { + private readonly int _dummyPrimitive; + public const byte MaxPrecision = 99; + public const byte NoPrecision = 255; + public StandardFormat(char symbol, byte precision = 255) { } + public bool HasPrecision { get { throw null; } } + public bool IsDefault { get { throw null; } } + public byte Precision { get { throw null; } } + public char Symbol { get { throw null; } } + + public readonly bool Equals(StandardFormat other) { throw null; } + public override readonly bool Equals(object obj) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StandardFormat left, StandardFormat right) { throw null; } + public static implicit operator StandardFormat(char symbol) { throw null; } + public static bool operator !=(StandardFormat left, StandardFormat right) { throw null; } + public static StandardFormat Parse(ReadOnlySpan format) { throw null; } + public static StandardFormat Parse(string format) { throw null; } + public override readonly string ToString() { throw null; } + } +} + +namespace System.Buffers.Binary +{ + public static partial class BinaryPrimitives + { + public static short ReadInt16BigEndian(ReadOnlySpan source) { throw null; } + public static short ReadInt16LittleEndian(ReadOnlySpan source) { throw null; } + public static int ReadInt32BigEndian(ReadOnlySpan source) { throw null; } + public static int ReadInt32LittleEndian(ReadOnlySpan source) { throw null; } + public static long ReadInt64BigEndian(ReadOnlySpan source) { throw null; } + public static long ReadInt64LittleEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static ushort ReadUInt16BigEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static ushort ReadUInt16LittleEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static uint ReadUInt32BigEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static uint ReadUInt32LittleEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static ulong ReadUInt64BigEndian(ReadOnlySpan source) { throw null; } + [CLSCompliant(false)] + public static ulong ReadUInt64LittleEndian(ReadOnlySpan source) { throw null; } + public static byte ReverseEndianness(byte value) { throw null; } + public static short ReverseEndianness(short value) { throw null; } + public static int ReverseEndianness(int value) { throw null; } + public static long ReverseEndianness(long value) { throw null; } + [CLSCompliant(false)] + public static sbyte ReverseEndianness(sbyte value) { throw null; } + [CLSCompliant(false)] + public static ushort ReverseEndianness(ushort value) { throw null; } + [CLSCompliant(false)] + public static uint ReverseEndianness(uint value) { throw null; } + [CLSCompliant(false)] + public static ulong ReverseEndianness(ulong value) { throw null; } + public static bool TryReadInt16BigEndian(ReadOnlySpan source, out short value) { throw null; } + public static bool TryReadInt16LittleEndian(ReadOnlySpan source, out short value) { throw null; } + public static bool TryReadInt32BigEndian(ReadOnlySpan source, out int value) { throw null; } + public static bool TryReadInt32LittleEndian(ReadOnlySpan source, out int value) { throw null; } + public static bool TryReadInt64BigEndian(ReadOnlySpan source, out long value) { throw null; } + public static bool TryReadInt64LittleEndian(ReadOnlySpan source, out long value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt16BigEndian(ReadOnlySpan source, out ushort value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt16LittleEndian(ReadOnlySpan source, out ushort value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt32BigEndian(ReadOnlySpan source, out uint value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt32LittleEndian(ReadOnlySpan source, out uint value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt64BigEndian(ReadOnlySpan source, out ulong value) { throw null; } + [CLSCompliant(false)] + public static bool TryReadUInt64LittleEndian(ReadOnlySpan source, out ulong value) { throw null; } + public static bool TryWriteInt16BigEndian(Span destination, short value) { throw null; } + public static bool TryWriteInt16LittleEndian(Span destination, short value) { throw null; } + public static bool TryWriteInt32BigEndian(Span destination, int value) { throw null; } + public static bool TryWriteInt32LittleEndian(Span destination, int value) { throw null; } + public static bool TryWriteInt64BigEndian(Span destination, long value) { throw null; } + public static bool TryWriteInt64LittleEndian(Span destination, long value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt16BigEndian(Span destination, ushort value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt16LittleEndian(Span destination, ushort value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt32BigEndian(Span destination, uint value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt32LittleEndian(Span destination, uint value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt64BigEndian(Span destination, ulong value) { throw null; } + [CLSCompliant(false)] + public static bool TryWriteUInt64LittleEndian(Span destination, ulong value) { throw null; } + public static void WriteInt16BigEndian(Span destination, short value) { } + public static void WriteInt16LittleEndian(Span destination, short value) { } + public static void WriteInt32BigEndian(Span destination, int value) { } + public static void WriteInt32LittleEndian(Span destination, int value) { } + public static void WriteInt64BigEndian(Span destination, long value) { } + public static void WriteInt64LittleEndian(Span destination, long value) { } + [CLSCompliant(false)] + public static void WriteUInt16BigEndian(Span destination, ushort value) { } + [CLSCompliant(false)] + public static void WriteUInt16LittleEndian(Span destination, ushort value) { } + [CLSCompliant(false)] + public static void WriteUInt32BigEndian(Span destination, uint value) { } + [CLSCompliant(false)] + public static void WriteUInt32LittleEndian(Span destination, uint value) { } + [CLSCompliant(false)] + public static void WriteUInt64BigEndian(Span destination, ulong value) { } + [CLSCompliant(false)] + public static void WriteUInt64LittleEndian(Span destination, ulong value) { } + } +} + +namespace System.Buffers.Text +{ + public static partial class Base64 + { + public static OperationStatus DecodeFromUtf8(ReadOnlySpan utf8, Span bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + public static OperationStatus DecodeFromUtf8InPlace(Span buffer, out int bytesWritten) { throw null; } + public static OperationStatus EncodeToUtf8(ReadOnlySpan bytes, Span utf8, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + public static OperationStatus EncodeToUtf8InPlace(Span buffer, int dataLength, out int bytesWritten) { throw null; } + public static int GetMaxDecodedFromUtf8Length(int length) { throw null; } + public static int GetMaxEncodedToUtf8Length(int length) { throw null; } + } + public static partial class Utf8Formatter + { + public static bool TryFormat(bool value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(byte value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(DateTime value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(DateTimeOffset value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(decimal value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(double value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(Guid value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(short value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(int value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(long value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + [CLSCompliant(false)] + public static bool TryFormat(sbyte value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(float value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + public static bool TryFormat(TimeSpan value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + [CLSCompliant(false)] + public static bool TryFormat(ushort value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + [CLSCompliant(false)] + public static bool TryFormat(uint value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + [CLSCompliant(false)] + public static bool TryFormat(ulong value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + } + public static partial class Utf8Parser + { + public static bool TryParse(ReadOnlySpan source, out bool value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out byte value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out DateTime value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out DateTimeOffset value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out decimal value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out double value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out Guid value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out short value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out int value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out long value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out sbyte value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out float value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + public static bool TryParse(ReadOnlySpan source, out TimeSpan value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out ushort value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out uint value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out ulong value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + } +} + +namespace System.Runtime.InteropServices +{ + public static partial class MemoryMarshal + { + public static ReadOnlySpan AsBytes(ReadOnlySpan span) where T : struct { throw null; } + public static Span AsBytes(Span span) where T : struct { throw null; } + public static Memory AsMemory(ReadOnlyMemory memory) { throw null; } + public static ReadOnlySpan Cast(ReadOnlySpan span) where TFrom : struct where TTo : struct { throw null; } + public static Span Cast(Span span) where TFrom : struct where TTo : struct { throw null; } + public static Memory CreateFromPinnedArray(T[] array, int start, int length) { throw null; } + public static ref T GetReference(ReadOnlySpan span) { throw null; } + public static ref T GetReference(Span span) { throw null; } + public static T Read(ReadOnlySpan source) where T : struct { throw null; } + public static Collections.Generic.IEnumerable ToEnumerable(ReadOnlyMemory memory) { throw null; } + public static bool TryGetArray(ReadOnlyMemory memory, out ArraySegment segment) { throw null; } + public static bool TryGetMemoryManager(ReadOnlyMemory memory, out TManager manager, out int start, out int length) where TManager : Buffers.MemoryManager { throw null; } + public static bool TryGetMemoryManager(ReadOnlyMemory memory, out TManager manager) where TManager : Buffers.MemoryManager { throw null; } + public static bool TryGetString(ReadOnlyMemory memory, out string text, out int start, out int length) { throw null; } + public static bool TryRead(ReadOnlySpan source, out T value) where T : struct { throw null; } + public static bool TryWrite(Span destination, ref T value) where T : struct { throw null; } + public static void Write(Span destination, ref T value) where T : struct { } + } + public static partial class SequenceMarshal + { + public static bool TryGetArray(Buffers.ReadOnlySequence sequence, out ArraySegment segment) { throw null; } + public static bool TryGetReadOnlyMemory(Buffers.ReadOnlySequence sequence, out ReadOnlyMemory memory) { throw null; } + public static bool TryGetReadOnlySequenceSegment(Buffers.ReadOnlySequence sequence, out Buffers.ReadOnlySequenceSegment startSegment, out int startIndex, out Buffers.ReadOnlySequenceSegment endSegment, out int endIndex) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.memory/4.6.0/system.memory.nuspec b/src/referencePackages/src/system.memory/4.6.0/system.memory.nuspec new file mode 100644 index 0000000000..35afdd34ef --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.0/system.memory.nuspec @@ -0,0 +1,23 @@ + + + + System.Memory + 4.6.0 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Memory + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.numerics.vectors/4.6.0/System.Numerics.Vectors.4.6.0.csproj b/src/referencePackages/src/system.numerics.vectors/4.6.0/System.Numerics.Vectors.4.6.0.csproj new file mode 100644 index 0000000000..54604c3930 --- /dev/null +++ b/src/referencePackages/src/system.numerics.vectors/4.6.0/System.Numerics.Vectors.4.6.0.csproj @@ -0,0 +1,9 @@ + + + + netstandard2.0 + 4.6.0 + System.Numerics.Vectors + + + diff --git a/src/referencePackages/src/system.numerics.vectors/4.6.0/lib/netstandard2.0/System.Numerics.Vectors.cs b/src/referencePackages/src/system.numerics.vectors/4.6.0/lib/netstandard2.0/System.Numerics.Vectors.cs new file mode 100644 index 0000000000..1d42d5ddf0 --- /dev/null +++ b/src/referencePackages/src/system.numerics.vectors/4.6.0/lib/netstandard2.0/System.Numerics.Vectors.cs @@ -0,0 +1,553 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Numerics.Vectors")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Numerics.Vectors")] +[assembly: System.Reflection.AssemblyFileVersion("4.600.24.56208")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.0+d0c2a5a83211e271826172a6b0510c25a52dbd53")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Numerics.Vectors")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyVersionAttribute("4.1.3.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Numerics +{ + public partial struct Matrix3x2 : IEquatable + { + public float M11; + public float M12; + public float M21; + public float M22; + public float M31; + public float M32; + public Matrix3x2(float m11, float m12, float m21, float m22, float m31, float m32) { } + public static Matrix3x2 Identity { get { throw null; } } + public bool IsIdentity { get { throw null; } } + public Vector2 Translation { get { throw null; } set { } } + + public static Matrix3x2 Add(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static Matrix3x2 CreateRotation(float radians, Vector2 centerPoint) { throw null; } + public static Matrix3x2 CreateRotation(float radians) { throw null; } + public static Matrix3x2 CreateScale(Vector2 scales, Vector2 centerPoint) { throw null; } + public static Matrix3x2 CreateScale(Vector2 scales) { throw null; } + public static Matrix3x2 CreateScale(float scale, Vector2 centerPoint) { throw null; } + public static Matrix3x2 CreateScale(float xScale, float yScale, Vector2 centerPoint) { throw null; } + public static Matrix3x2 CreateScale(float xScale, float yScale) { throw null; } + public static Matrix3x2 CreateScale(float scale) { throw null; } + public static Matrix3x2 CreateSkew(float radiansX, float radiansY, Vector2 centerPoint) { throw null; } + public static Matrix3x2 CreateSkew(float radiansX, float radiansY) { throw null; } + public static Matrix3x2 CreateTranslation(Vector2 position) { throw null; } + public static Matrix3x2 CreateTranslation(float xPosition, float yPosition) { throw null; } + public bool Equals(Matrix3x2 other) { throw null; } + public override bool Equals(object obj) { throw null; } + public float GetDeterminant() { throw null; } + public override int GetHashCode() { throw null; } + public static bool Invert(Matrix3x2 matrix, out Matrix3x2 result) { throw null; } + public static Matrix3x2 Lerp(Matrix3x2 matrix1, Matrix3x2 matrix2, float amount) { throw null; } + public static Matrix3x2 Multiply(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static Matrix3x2 Multiply(Matrix3x2 value1, float value2) { throw null; } + public static Matrix3x2 Negate(Matrix3x2 value) { throw null; } + public static Matrix3x2 operator +(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static bool operator ==(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static bool operator !=(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static Matrix3x2 operator *(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static Matrix3x2 operator *(Matrix3x2 value1, float value2) { throw null; } + public static Matrix3x2 operator -(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public static Matrix3x2 operator -(Matrix3x2 value) { throw null; } + public static Matrix3x2 Subtract(Matrix3x2 value1, Matrix3x2 value2) { throw null; } + public override string ToString() { throw null; } + } + + public partial struct Matrix4x4 : IEquatable + { + public float M11; + public float M12; + public float M13; + public float M14; + public float M21; + public float M22; + public float M23; + public float M24; + public float M31; + public float M32; + public float M33; + public float M34; + public float M41; + public float M42; + public float M43; + public float M44; + public Matrix4x4(Matrix3x2 value) { } + public Matrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) { } + public static Matrix4x4 Identity { get { throw null; } } + public bool IsIdentity { get { throw null; } } + public Vector3 Translation { get { throw null; } set { } } + + public static Matrix4x4 Add(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static Matrix4x4 CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector) { throw null; } + public static Matrix4x4 CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector) { throw null; } + public static Matrix4x4 CreateFromAxisAngle(Vector3 axis, float angle) { throw null; } + public static Matrix4x4 CreateFromQuaternion(Quaternion quaternion) { throw null; } + public static Matrix4x4 CreateFromYawPitchRoll(float yaw, float pitch, float roll) { throw null; } + public static Matrix4x4 CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector) { throw null; } + public static Matrix4x4 CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane) { throw null; } + public static Matrix4x4 CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane) { throw null; } + public static Matrix4x4 CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance) { throw null; } + public static Matrix4x4 CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance) { throw null; } + public static Matrix4x4 CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance) { throw null; } + public static Matrix4x4 CreateReflection(Plane value) { throw null; } + public static Matrix4x4 CreateRotationX(float radians, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateRotationX(float radians) { throw null; } + public static Matrix4x4 CreateRotationY(float radians, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateRotationY(float radians) { throw null; } + public static Matrix4x4 CreateRotationZ(float radians, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateRotationZ(float radians) { throw null; } + public static Matrix4x4 CreateScale(Vector3 scales, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateScale(Vector3 scales) { throw null; } + public static Matrix4x4 CreateScale(float scale, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateScale(float xScale, float yScale, float zScale, Vector3 centerPoint) { throw null; } + public static Matrix4x4 CreateScale(float xScale, float yScale, float zScale) { throw null; } + public static Matrix4x4 CreateScale(float scale) { throw null; } + public static Matrix4x4 CreateShadow(Vector3 lightDirection, Plane plane) { throw null; } + public static Matrix4x4 CreateTranslation(Vector3 position) { throw null; } + public static Matrix4x4 CreateTranslation(float xPosition, float yPosition, float zPosition) { throw null; } + public static Matrix4x4 CreateWorld(Vector3 position, Vector3 forward, Vector3 up) { throw null; } + public static bool Decompose(Matrix4x4 matrix, out Vector3 scale, out Quaternion rotation, out Vector3 translation) { throw null; } + public bool Equals(Matrix4x4 other) { throw null; } + public override bool Equals(object obj) { throw null; } + public float GetDeterminant() { throw null; } + public override int GetHashCode() { throw null; } + public static bool Invert(Matrix4x4 matrix, out Matrix4x4 result) { throw null; } + public static Matrix4x4 Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, float amount) { throw null; } + public static Matrix4x4 Multiply(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static Matrix4x4 Multiply(Matrix4x4 value1, float value2) { throw null; } + public static Matrix4x4 Negate(Matrix4x4 value) { throw null; } + public static Matrix4x4 operator +(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static bool operator ==(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static bool operator !=(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static Matrix4x4 operator *(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static Matrix4x4 operator *(Matrix4x4 value1, float value2) { throw null; } + public static Matrix4x4 operator -(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public static Matrix4x4 operator -(Matrix4x4 value) { throw null; } + public static Matrix4x4 Subtract(Matrix4x4 value1, Matrix4x4 value2) { throw null; } + public override string ToString() { throw null; } + public static Matrix4x4 Transform(Matrix4x4 value, Quaternion rotation) { throw null; } + public static Matrix4x4 Transpose(Matrix4x4 matrix) { throw null; } + } + + public partial struct Plane : IEquatable + { + public float D; + public Vector3 Normal; + public Plane(Vector3 normal, float d) { } + public Plane(Vector4 value) { } + public Plane(float x, float y, float z, float d) { } + public static Plane CreateFromVertices(Vector3 point1, Vector3 point2, Vector3 point3) { throw null; } + public static float Dot(Plane plane, Vector4 value) { throw null; } + public static float DotCoordinate(Plane plane, Vector3 value) { throw null; } + public static float DotNormal(Plane plane, Vector3 value) { throw null; } + public bool Equals(Plane other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static Plane Normalize(Plane value) { throw null; } + public static bool operator ==(Plane value1, Plane value2) { throw null; } + public static bool operator !=(Plane value1, Plane value2) { throw null; } + public override string ToString() { throw null; } + public static Plane Transform(Plane plane, Matrix4x4 matrix) { throw null; } + public static Plane Transform(Plane plane, Quaternion rotation) { throw null; } + } + + public partial struct Quaternion : IEquatable + { + public float W; + public float X; + public float Y; + public float Z; + public Quaternion(Vector3 vectorPart, float scalarPart) { } + public Quaternion(float x, float y, float z, float w) { } + public static Quaternion Identity { get { throw null; } } + public bool IsIdentity { get { throw null; } } + + public static Quaternion Add(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion Concatenate(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion Conjugate(Quaternion value) { throw null; } + public static Quaternion CreateFromAxisAngle(Vector3 axis, float angle) { throw null; } + public static Quaternion CreateFromRotationMatrix(Matrix4x4 matrix) { throw null; } + public static Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll) { throw null; } + public static Quaternion Divide(Quaternion value1, Quaternion value2) { throw null; } + public static float Dot(Quaternion quaternion1, Quaternion quaternion2) { throw null; } + public bool Equals(Quaternion other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static Quaternion Inverse(Quaternion value) { throw null; } + public float Length() { throw null; } + public float LengthSquared() { throw null; } + public static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount) { throw null; } + public static Quaternion Multiply(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion Multiply(Quaternion value1, float value2) { throw null; } + public static Quaternion Negate(Quaternion value) { throw null; } + public static Quaternion Normalize(Quaternion value) { throw null; } + public static Quaternion operator +(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion operator /(Quaternion value1, Quaternion value2) { throw null; } + public static bool operator ==(Quaternion value1, Quaternion value2) { throw null; } + public static bool operator !=(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion operator *(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion operator *(Quaternion value1, float value2) { throw null; } + public static Quaternion operator -(Quaternion value1, Quaternion value2) { throw null; } + public static Quaternion operator -(Quaternion value) { throw null; } + public static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount) { throw null; } + public static Quaternion Subtract(Quaternion value1, Quaternion value2) { throw null; } + public override string ToString() { throw null; } + } + + public static partial class Vector + { + public static bool IsHardwareAccelerated { get { throw null; } } + + public static Vector Abs(Vector value) where T : struct { throw null; } + public static Vector Add(Vector left, Vector right) where T : struct { throw null; } + public static Vector AndNot(Vector left, Vector right) where T : struct { throw null; } + public static Vector AsVectorByte(Vector value) where T : struct { throw null; } + public static Vector AsVectorDouble(Vector value) where T : struct { throw null; } + public static Vector AsVectorInt16(Vector value) where T : struct { throw null; } + public static Vector AsVectorInt32(Vector value) where T : struct { throw null; } + public static Vector AsVectorInt64(Vector value) where T : struct { throw null; } + [CLSCompliant(false)] + public static Vector AsVectorSByte(Vector value) where T : struct { throw null; } + public static Vector AsVectorSingle(Vector value) where T : struct { throw null; } + [CLSCompliant(false)] + public static Vector AsVectorUInt16(Vector value) where T : struct { throw null; } + [CLSCompliant(false)] + public static Vector AsVectorUInt32(Vector value) where T : struct { throw null; } + [CLSCompliant(false)] + public static Vector AsVectorUInt64(Vector value) where T : struct { throw null; } + public static Vector BitwiseAnd(Vector left, Vector right) where T : struct { throw null; } + public static Vector BitwiseOr(Vector left, Vector right) where T : struct { throw null; } + public static Vector ConditionalSelect(Vector condition, Vector left, Vector right) { throw null; } + public static Vector ConditionalSelect(Vector condition, Vector left, Vector right) { throw null; } + public static Vector ConditionalSelect(Vector condition, Vector left, Vector right) where T : struct { throw null; } + public static Vector ConvertToDouble(Vector value) { throw null; } + [CLSCompliant(false)] + public static Vector ConvertToDouble(Vector value) { throw null; } + public static Vector ConvertToInt32(Vector value) { throw null; } + public static Vector ConvertToInt64(Vector value) { throw null; } + public static Vector ConvertToSingle(Vector value) { throw null; } + [CLSCompliant(false)] + public static Vector ConvertToSingle(Vector value) { throw null; } + [CLSCompliant(false)] + public static Vector ConvertToUInt32(Vector value) { throw null; } + [CLSCompliant(false)] + public static Vector ConvertToUInt64(Vector value) { throw null; } + public static Vector Divide(Vector left, Vector right) where T : struct { throw null; } + public static T Dot(Vector left, Vector right) where T : struct { throw null; } + public static Vector Equals(Vector left, Vector right) { throw null; } + public static Vector Equals(Vector left, Vector right) { throw null; } + public static Vector Equals(Vector left, Vector right) { throw null; } + public static Vector Equals(Vector left, Vector right) { throw null; } + public static Vector Equals(Vector left, Vector right) where T : struct { throw null; } + public static bool EqualsAll(Vector left, Vector right) where T : struct { throw null; } + public static bool EqualsAny(Vector left, Vector right) where T : struct { throw null; } + public static Vector GreaterThan(Vector left, Vector right) { throw null; } + public static Vector GreaterThan(Vector left, Vector right) { throw null; } + public static Vector GreaterThan(Vector left, Vector right) { throw null; } + public static Vector GreaterThan(Vector left, Vector right) { throw null; } + public static Vector GreaterThan(Vector left, Vector right) where T : struct { throw null; } + public static bool GreaterThanAll(Vector left, Vector right) where T : struct { throw null; } + public static bool GreaterThanAny(Vector left, Vector right) where T : struct { throw null; } + public static Vector GreaterThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector GreaterThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector GreaterThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector GreaterThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector GreaterThanOrEqual(Vector left, Vector right) where T : struct { throw null; } + public static bool GreaterThanOrEqualAll(Vector left, Vector right) where T : struct { throw null; } + public static bool GreaterThanOrEqualAny(Vector left, Vector right) where T : struct { throw null; } + public static Vector LessThan(Vector left, Vector right) { throw null; } + public static Vector LessThan(Vector left, Vector right) { throw null; } + public static Vector LessThan(Vector left, Vector right) { throw null; } + public static Vector LessThan(Vector left, Vector right) { throw null; } + public static Vector LessThan(Vector left, Vector right) where T : struct { throw null; } + public static bool LessThanAll(Vector left, Vector right) where T : struct { throw null; } + public static bool LessThanAny(Vector left, Vector right) where T : struct { throw null; } + public static Vector LessThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector LessThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector LessThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector LessThanOrEqual(Vector left, Vector right) { throw null; } + public static Vector LessThanOrEqual(Vector left, Vector right) where T : struct { throw null; } + public static bool LessThanOrEqualAll(Vector left, Vector right) where T : struct { throw null; } + public static bool LessThanOrEqualAny(Vector left, Vector right) where T : struct { throw null; } + public static Vector Max(Vector left, Vector right) where T : struct { throw null; } + public static Vector Min(Vector left, Vector right) where T : struct { throw null; } + public static Vector Multiply(T left, Vector right) where T : struct { throw null; } + public static Vector Multiply(Vector left, T right) where T : struct { throw null; } + public static Vector Multiply(Vector left, Vector right) where T : struct { throw null; } + public static Vector Narrow(Vector low, Vector high) { throw null; } + [CLSCompliant(false)] + public static Vector Narrow(Vector low, Vector high) { throw null; } + public static Vector Narrow(Vector low, Vector high) { throw null; } + public static Vector Narrow(Vector low, Vector high) { throw null; } + [CLSCompliant(false)] + public static Vector Narrow(Vector low, Vector high) { throw null; } + [CLSCompliant(false)] + public static Vector Narrow(Vector low, Vector high) { throw null; } + [CLSCompliant(false)] + public static Vector Narrow(Vector low, Vector high) { throw null; } + public static Vector Negate(Vector value) where T : struct { throw null; } + public static Vector OnesComplement(Vector value) where T : struct { throw null; } + public static Vector SquareRoot(Vector value) where T : struct { throw null; } + public static Vector Subtract(Vector left, Vector right) where T : struct { throw null; } + [CLSCompliant(false)] + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + [CLSCompliant(false)] + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + [CLSCompliant(false)] + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + [CLSCompliant(false)] + public static void Widen(Vector source, out Vector low, out Vector high) { throw null; } + public static Vector Xor(Vector left, Vector right) where T : struct { throw null; } + } + public partial struct Vector2 : IEquatable, IFormattable + { + public float X; + public float Y; + public Vector2(float x, float y) { } + public Vector2(float value) { } + public static Vector2 One { get { throw null; } } + public static Vector2 UnitX { get { throw null; } } + public static Vector2 UnitY { get { throw null; } } + public static Vector2 Zero { get { throw null; } } + + public static Vector2 Abs(Vector2 value) { throw null; } + public static Vector2 Add(Vector2 left, Vector2 right) { throw null; } + public static Vector2 Clamp(Vector2 value1, Vector2 min, Vector2 max) { throw null; } + public void CopyTo(float[] array, int index) { } + public void CopyTo(float[] array) { } + public static float Distance(Vector2 value1, Vector2 value2) { throw null; } + public static float DistanceSquared(Vector2 value1, Vector2 value2) { throw null; } + public static Vector2 Divide(Vector2 left, Vector2 right) { throw null; } + public static Vector2 Divide(Vector2 left, float divisor) { throw null; } + public static float Dot(Vector2 value1, Vector2 value2) { throw null; } + public bool Equals(Vector2 other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public float Length() { throw null; } + public float LengthSquared() { throw null; } + public static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount) { throw null; } + public static Vector2 Max(Vector2 value1, Vector2 value2) { throw null; } + public static Vector2 Min(Vector2 value1, Vector2 value2) { throw null; } + public static Vector2 Multiply(Vector2 left, Vector2 right) { throw null; } + public static Vector2 Multiply(Vector2 left, float right) { throw null; } + public static Vector2 Multiply(float left, Vector2 right) { throw null; } + public static Vector2 Negate(Vector2 value) { throw null; } + public static Vector2 Normalize(Vector2 value) { throw null; } + public static Vector2 operator +(Vector2 left, Vector2 right) { throw null; } + public static Vector2 operator /(Vector2 left, Vector2 right) { throw null; } + public static Vector2 operator /(Vector2 value1, float value2) { throw null; } + public static bool operator ==(Vector2 left, Vector2 right) { throw null; } + public static bool operator !=(Vector2 left, Vector2 right) { throw null; } + public static Vector2 operator *(Vector2 left, Vector2 right) { throw null; } + public static Vector2 operator *(Vector2 left, float right) { throw null; } + public static Vector2 operator *(float left, Vector2 right) { throw null; } + public static Vector2 operator -(Vector2 left, Vector2 right) { throw null; } + public static Vector2 operator -(Vector2 value) { throw null; } + public static Vector2 Reflect(Vector2 vector, Vector2 normal) { throw null; } + public static Vector2 SquareRoot(Vector2 value) { throw null; } + public static Vector2 Subtract(Vector2 left, Vector2 right) { throw null; } + public override string ToString() { throw null; } + public string ToString(string format, IFormatProvider formatProvider) { throw null; } + public string ToString(string format) { throw null; } + public static Vector2 Transform(Vector2 position, Matrix3x2 matrix) { throw null; } + public static Vector2 Transform(Vector2 position, Matrix4x4 matrix) { throw null; } + public static Vector2 Transform(Vector2 value, Quaternion rotation) { throw null; } + public static Vector2 TransformNormal(Vector2 normal, Matrix3x2 matrix) { throw null; } + public static Vector2 TransformNormal(Vector2 normal, Matrix4x4 matrix) { throw null; } + } + + public partial struct Vector3 : IEquatable, IFormattable + { + public float X; + public float Y; + public float Z; + public Vector3(Vector2 value, float z) { } + public Vector3(float x, float y, float z) { } + public Vector3(float value) { } + public static Vector3 One { get { throw null; } } + public static Vector3 UnitX { get { throw null; } } + public static Vector3 UnitY { get { throw null; } } + public static Vector3 UnitZ { get { throw null; } } + public static Vector3 Zero { get { throw null; } } + + public static Vector3 Abs(Vector3 value) { throw null; } + public static Vector3 Add(Vector3 left, Vector3 right) { throw null; } + public static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max) { throw null; } + public void CopyTo(float[] array, int index) { } + public void CopyTo(float[] array) { } + public static Vector3 Cross(Vector3 vector1, Vector3 vector2) { throw null; } + public static float Distance(Vector3 value1, Vector3 value2) { throw null; } + public static float DistanceSquared(Vector3 value1, Vector3 value2) { throw null; } + public static Vector3 Divide(Vector3 left, Vector3 right) { throw null; } + public static Vector3 Divide(Vector3 left, float divisor) { throw null; } + public static float Dot(Vector3 vector1, Vector3 vector2) { throw null; } + public bool Equals(Vector3 other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public float Length() { throw null; } + public float LengthSquared() { throw null; } + public static Vector3 Lerp(Vector3 value1, Vector3 value2, float amount) { throw null; } + public static Vector3 Max(Vector3 value1, Vector3 value2) { throw null; } + public static Vector3 Min(Vector3 value1, Vector3 value2) { throw null; } + public static Vector3 Multiply(Vector3 left, Vector3 right) { throw null; } + public static Vector3 Multiply(Vector3 left, float right) { throw null; } + public static Vector3 Multiply(float left, Vector3 right) { throw null; } + public static Vector3 Negate(Vector3 value) { throw null; } + public static Vector3 Normalize(Vector3 value) { throw null; } + public static Vector3 operator +(Vector3 left, Vector3 right) { throw null; } + public static Vector3 operator /(Vector3 left, Vector3 right) { throw null; } + public static Vector3 operator /(Vector3 value1, float value2) { throw null; } + public static bool operator ==(Vector3 left, Vector3 right) { throw null; } + public static bool operator !=(Vector3 left, Vector3 right) { throw null; } + public static Vector3 operator *(Vector3 left, Vector3 right) { throw null; } + public static Vector3 operator *(Vector3 left, float right) { throw null; } + public static Vector3 operator *(float left, Vector3 right) { throw null; } + public static Vector3 operator -(Vector3 left, Vector3 right) { throw null; } + public static Vector3 operator -(Vector3 value) { throw null; } + public static Vector3 Reflect(Vector3 vector, Vector3 normal) { throw null; } + public static Vector3 SquareRoot(Vector3 value) { throw null; } + public static Vector3 Subtract(Vector3 left, Vector3 right) { throw null; } + public override string ToString() { throw null; } + public string ToString(string format, IFormatProvider formatProvider) { throw null; } + public string ToString(string format) { throw null; } + public static Vector3 Transform(Vector3 position, Matrix4x4 matrix) { throw null; } + public static Vector3 Transform(Vector3 value, Quaternion rotation) { throw null; } + public static Vector3 TransformNormal(Vector3 normal, Matrix4x4 matrix) { throw null; } + } + + public partial struct Vector4 : IEquatable, IFormattable + { + public float W; + public float X; + public float Y; + public float Z; + public Vector4(Vector2 value, float z, float w) { } + public Vector4(Vector3 value, float w) { } + public Vector4(float x, float y, float z, float w) { } + public Vector4(float value) { } + public static Vector4 One { get { throw null; } } + public static Vector4 UnitW { get { throw null; } } + public static Vector4 UnitX { get { throw null; } } + public static Vector4 UnitY { get { throw null; } } + public static Vector4 UnitZ { get { throw null; } } + public static Vector4 Zero { get { throw null; } } + + public static Vector4 Abs(Vector4 value) { throw null; } + public static Vector4 Add(Vector4 left, Vector4 right) { throw null; } + public static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max) { throw null; } + public void CopyTo(float[] array, int index) { } + public void CopyTo(float[] array) { } + public static float Distance(Vector4 value1, Vector4 value2) { throw null; } + public static float DistanceSquared(Vector4 value1, Vector4 value2) { throw null; } + public static Vector4 Divide(Vector4 left, Vector4 right) { throw null; } + public static Vector4 Divide(Vector4 left, float divisor) { throw null; } + public static float Dot(Vector4 vector1, Vector4 vector2) { throw null; } + public bool Equals(Vector4 other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public float Length() { throw null; } + public float LengthSquared() { throw null; } + public static Vector4 Lerp(Vector4 value1, Vector4 value2, float amount) { throw null; } + public static Vector4 Max(Vector4 value1, Vector4 value2) { throw null; } + public static Vector4 Min(Vector4 value1, Vector4 value2) { throw null; } + public static Vector4 Multiply(Vector4 left, Vector4 right) { throw null; } + public static Vector4 Multiply(Vector4 left, float right) { throw null; } + public static Vector4 Multiply(float left, Vector4 right) { throw null; } + public static Vector4 Negate(Vector4 value) { throw null; } + public static Vector4 Normalize(Vector4 vector) { throw null; } + public static Vector4 operator +(Vector4 left, Vector4 right) { throw null; } + public static Vector4 operator /(Vector4 left, Vector4 right) { throw null; } + public static Vector4 operator /(Vector4 value1, float value2) { throw null; } + public static bool operator ==(Vector4 left, Vector4 right) { throw null; } + public static bool operator !=(Vector4 left, Vector4 right) { throw null; } + public static Vector4 operator *(Vector4 left, Vector4 right) { throw null; } + public static Vector4 operator *(Vector4 left, float right) { throw null; } + public static Vector4 operator *(float left, Vector4 right) { throw null; } + public static Vector4 operator -(Vector4 left, Vector4 right) { throw null; } + public static Vector4 operator -(Vector4 value) { throw null; } + public static Vector4 SquareRoot(Vector4 value) { throw null; } + public static Vector4 Subtract(Vector4 left, Vector4 right) { throw null; } + public override string ToString() { throw null; } + public string ToString(string format, IFormatProvider formatProvider) { throw null; } + public string ToString(string format) { throw null; } + public static Vector4 Transform(Vector2 position, Matrix4x4 matrix) { throw null; } + public static Vector4 Transform(Vector2 value, Quaternion rotation) { throw null; } + public static Vector4 Transform(Vector3 position, Matrix4x4 matrix) { throw null; } + public static Vector4 Transform(Vector3 value, Quaternion rotation) { throw null; } + public static Vector4 Transform(Vector4 vector, Matrix4x4 matrix) { throw null; } + public static Vector4 Transform(Vector4 value, Quaternion rotation) { throw null; } + } + + public partial struct Vector : IEquatable>, IFormattable where T : struct + { + private int _dummyPrimitive; + public Vector(T value) { } + public Vector(T[] values, int index) { } + public Vector(T[] values) { } + public static int Count { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public static Vector One { get { throw null; } } + public static Vector Zero { get { throw null; } } + + public void CopyTo(T[] destination, int startIndex) { } + public void CopyTo(T[] destination) { } + public bool Equals(Vector other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static Vector operator +(Vector left, Vector right) { throw null; } + public static Vector operator &(Vector left, Vector right) { throw null; } + public static Vector operator |(Vector left, Vector right) { throw null; } + public static Vector operator /(Vector left, Vector right) { throw null; } + public static bool operator ==(Vector left, Vector right) { throw null; } + public static Vector operator ^(Vector left, Vector right) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + [CLSCompliant(false)] + public static explicit operator Vector(Vector value) { throw null; } + public static explicit operator Vector(Vector value) { throw null; } + [CLSCompliant(false)] + public static explicit operator Vector(Vector value) { throw null; } + [CLSCompliant(false)] + public static explicit operator Vector(Vector value) { throw null; } + [CLSCompliant(false)] + public static explicit operator Vector(Vector value) { throw null; } + public static bool operator !=(Vector left, Vector right) { throw null; } + public static Vector operator *(T factor, Vector value) { throw null; } + public static Vector operator *(Vector value, T factor) { throw null; } + public static Vector operator *(Vector left, Vector right) { throw null; } + public static Vector operator ~(Vector value) { throw null; } + public static Vector operator -(Vector left, Vector right) { throw null; } + public static Vector operator -(Vector value) { throw null; } + public override string ToString() { throw null; } + public string ToString(string format, IFormatProvider formatProvider) { throw null; } + public string ToString(string format) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.numerics.vectors/4.6.0/system.numerics.vectors.nuspec b/src/referencePackages/src/system.numerics.vectors/4.6.0/system.numerics.vectors.nuspec new file mode 100644 index 0000000000..247a82a44a --- /dev/null +++ b/src/referencePackages/src/system.numerics.vectors/4.6.0/system.numerics.vectors.nuspec @@ -0,0 +1,19 @@ + + + + System.Numerics.Vectors + 4.6.0 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Numerics.Vectors + © Microsoft Corporation. All rights reserved. + true + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj b/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj new file mode 100644 index 0000000000..646640b229 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj @@ -0,0 +1,18 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Reflection.Metadata + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..0137d77ae4 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs @@ -0,0 +1,4069 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + public int Rank { get { throw null; } } + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKey { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + public string? CultureName { get { throw null; } } + public AssemblyNameFlags Flags { get { throw null; } } + public string FullName { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + public AssemblyName ToAssemblyName() { throw null; } + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKeyOrToken { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + protected internal int ChunkCapacity { get { throw null; } } + public int Count { get { throw null; } } + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + public void Clear() { } + public bool ContentEquals(BlobBuilder other) { throw null; } + protected void Free() { } + protected virtual void FreeChunk() { } + public Blobs GetBlobs() { throw null; } + public void LinkPrefix(BlobBuilder prefix) { } + public void LinkSuffix(BlobBuilder suffix) { } + public void PadTo(int position) { } + public Blob ReserveBytes(int byteCount) { throw null; } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteContentTo(IO.Stream destination) { } + public void WriteContentTo(BlobBuilder destination) { } + public void WriteContentTo(ref BlobWriter destination) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? value) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + public void Reset() { } + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } + } + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + public BlobContentId(Guid guid, uint stamp) { } + public Guid Guid { get { throw null; } } + public bool IsDefault { get { throw null; } } + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobContentId other) { throw null; } + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + public static explicit operator BlobHandle(Handle handle) { throw null; } + public static implicit operator Handle(BlobHandle handle) { throw null; } + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + public unsafe byte* CurrentPointer { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + public int IndexOf(byte value) { throw null; } + public BlobHandle ReadBlobHandle() { throw null; } + public bool ReadBoolean() { throw null; } + public byte ReadByte() { throw null; } + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + public byte[] ReadBytes(int byteCount) { throw null; } + public char ReadChar() { throw null; } + public int ReadCompressedInteger() { throw null; } + public int ReadCompressedSignedInteger() { throw null; } + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + public DateTime ReadDateTime() { throw null; } + public decimal ReadDecimal() { throw null; } + public double ReadDouble() { throw null; } + public Guid ReadGuid() { throw null; } + public short ReadInt16() { throw null; } + public int ReadInt32() { throw null; } + public long ReadInt64() { throw null; } + public sbyte ReadSByte() { throw null; } + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + public string? ReadSerializedString() { throw null; } + public SignatureHeader ReadSignatureHeader() { throw null; } + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + public float ReadSingle() { throw null; } + public EntityHandle ReadTypeHandle() { throw null; } + public ushort ReadUInt16() { throw null; } + public uint ReadUInt32() { throw null; } + public ulong ReadUInt64() { throw null; } + public string ReadUTF16(int byteCount) { throw null; } + public string ReadUTF8(int byteCount) { throw null; } + public void Reset() { } + public bool TryReadCompressedInteger(out int value) { throw null; } + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + public BlobWriter(byte[] buffer) { } + public BlobWriter(int size) { } + public BlobWriter(Blob blob) { } + public Blob Blob { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + public void Clear() { } + public bool ContentEquals(BlobWriter other) { throw null; } + public void PadTo(int offset) { } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBytes(BlobBuilder source) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? str) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + public ConstantTypeCode TypeCode { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator ConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + public static implicit operator Handle(ConstantHandle handle) { throw null; } + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + public string? Name { get { throw null; } } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + public MethodDefinitionHandle EntryPoint { get { throw null; } } + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + public int IdStartOffset { get { throw null; } } + } + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + public GuidHandle HashAlgorithm { get { throw null; } } + public GuidHandle Language { get { throw null; } } + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + public static explicit operator DocumentHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + public static implicit operator Handle(DocumentHandle handle) { throw null; } + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EntityHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + public static explicit operator EntityHandle(Handle handle) { throw null; } + public static implicit operator Handle(EntityHandle handle) { throw null; } + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Raiser { get { throw null; } } + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + public int FilterOffset { get { throw null; } } + public int HandlerLength { get { throw null; } } + public int HandlerOffset { get { throw null; } } + public ExceptionRegionKind Kind { get { throw null; } } + public int TryLength { get { throw null; } } + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public bool IsForwarder { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + public readonly int GetOffset() { throw null; } + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GuidHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + public static explicit operator GuidHandle(Handle handle) { throw null; } + public static implicit operator Handle(GuidHandle handle) { throw null; } + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(Handle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(Handle left, Handle right) { throw null; } + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + public int Compare(Handle x, Handle y) { throw null; } + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + public bool Equals(Handle x, Handle y) { throw null; } + public int GetHashCode(EntityHandle obj) { throw null; } + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ImageFormatLimitationException(string? message, Exception? innerException) { } + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + public ImportDefinitionKind Kind { get { throw null; } } + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + public BlobHandle TargetNamespace { get { throw null; } } + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ImportScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + public ImportScopeHandle ImportScope { get { throw null; } } + public int Length { get { throw null; } } + public MethodDefinitionHandle Method { get { throw null; } } + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalVariableHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public StringHandle Name { get { throw null; } } + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + public unsafe MetadataReader(byte* metadata, int length) { } + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + public DocumentHandleCollection Documents { get { throw null; } } + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + public ImportScopeCollection ImportScopes { get { throw null; } } + public bool IsAssembly { get { throw null; } } + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + public MetadataKind MetadataKind { get { throw null; } } + public int MetadataLength { get { throw null; } } + public unsafe byte* MetadataPointer { get { throw null; } } + public string MetadataVersion { get { throw null; } } + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + public MetadataReaderOptions Options { get { throw null; } } + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + public MetadataStringComparer StringComparer { get { throw null; } } + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + public Constant GetConstant(ConstantHandle handle) { throw null; } + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + public Document GetDocument(DocumentHandle handle) { throw null; } + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + public Guid GetGuid(GuidHandle handle) { throw null; } + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + public ModuleDefinition GetModuleDefinition() { throw null; } + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + public Parameter GetParameter(ParameterHandle handle) { throw null; } + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + public string GetString(DocumentNameBlobHandle handle) { throw null; } + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + public string GetString(StringHandle handle) { throw null; } + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + public string GetUserString(UserStringHandle handle) { throw null; } + } + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + public void Dispose() { } + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(StringHandle handle, string value) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public bool LocalVariablesInitialized { get { throw null; } } + public int MaxStack { get { throw null; } } + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + public byte[]? GetILBytes() { throw null; } + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + public BlobReader GetILReader() { throw null; } + } + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + public MethodImplAttributes ImplAttributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly MethodImport GetImport() { throw null; } + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + public EntityHandle MethodDeclaration { get { throw null; } } + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + public ModuleReferenceHandle Module { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + public int GenericParameterCount { get { throw null; } } + public SignatureHeader Header { get { throw null; } } + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + public int RequiredParameterCount { get { throw null; } } + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + public int Generation { get { throw null; } } + public GuidHandle GenerationId { get { throw null; } } + public GuidHandle Mvid { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + public NamespaceDefinitionHandle Parent { get { throw null; } } + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator ParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + public static implicit operator Handle(ParameterHandle handle) { throw null; } + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly PropertyAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + public int EndColumn { get { throw null; } } + public int EndLine { get { throw null; } } + public bool IsHidden { get { throw null; } } + public int Offset { get { throw null; } } + public int StartColumn { get { throw null; } } + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(SequencePoint other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + public SignatureAttributes Attributes { get { throw null; } } + public SignatureCallingConvention CallingConvention { get { throw null; } } + public bool HasExplicitThis { get { throw null; } } + public bool IsGeneric { get { throw null; } } + public bool IsInstance { get { throw null; } } + public SignatureKind Kind { get { throw null; } } + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public bool Equals(SignatureHeader other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + public static explicit operator StringHandle(Handle handle) { throw null; } + public static implicit operator Handle(StringHandle handle) { throw null; } + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle BaseType { get { throw null; } } + public bool IsNested { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + public readonly TypeLayout GetLayout() { throw null; } + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + public bool IsDefault { get { throw null; } } + public int PackingSize { get { throw null; } } + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + public AssemblyNameInfo? AssemblyName { get { throw null; } } + public string AssemblyQualifiedName { get { throw null; } } + public TypeName DeclaringType { get { throw null; } } + public string FullName { get { throw null; } } + public bool IsArray { get { throw null; } } + public bool IsByRef { get { throw null; } } + public bool IsConstructedGenericType { get { throw null; } } + public bool IsNested { get { throw null; } } + public bool IsPointer { get { throw null; } } + public bool IsSimple { get { throw null; } } + public bool IsSZArray { get { throw null; } } + public bool IsVariableBoundArrayType { get { throw null; } } + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + public TypeName GetElementType() { throw null; } + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + public TypeName GetGenericTypeDefinition() { throw null; } + public int GetNodeCount() { throw null; } + public TypeName MakeArrayTypeName(int rank) { throw null; } + public TypeName MakeByRefTypeName() { throw null; } + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + public TypeName MakePointerTypeName() { throw null; } + public TypeName MakeSZArrayTypeName() { throw null; } + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(UserStringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + public static explicit operator UserStringHandle(Handle handle) { throw null; } + public static implicit operator Handle(UserStringHandle handle) { throw null; } + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + public readonly FieldTypeEncoder Field() { throw null; } + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + public static int HasConstant(EntityHandle handle) { throw null; } + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + public static int HasSemantics(EntityHandle handle) { throw null; } + public static int Implementation(EntityHandle handle) { throw null; } + public static int MemberForwarded(EntityHandle handle) { throw null; } + public static int MemberRefParent(EntityHandle handle) { throw null; } + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + public static int ResolutionScope(EntityHandle handle) { throw null; } + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void Clear() { } + } + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly void Double() { } + public readonly void Enum(string enumTypeName) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly void SystemType() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + public EntityHandle Handle { get { throw null; } } + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + public BlobBuilder CodeBuilder { get { throw null; } } + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + public readonly void Call(EntityHandle methodHandle) { } + public readonly void Call(MemberReferenceHandle methodHandle) { } + public readonly void Call(MethodDefinitionHandle methodHandle) { } + public readonly void Call(MethodSpecificationHandle methodHandle) { } + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + public readonly LabelHandle DefineLabel() { throw null; } + public readonly void LoadArgument(int argumentIndex) { } + public readonly void LoadArgumentAddress(int argumentIndex) { } + public readonly void LoadConstantI4(int value) { } + public readonly void LoadConstantI8(long value) { } + public readonly void LoadConstantR4(float value) { } + public readonly void LoadConstantR8(double value) { } + public readonly void LoadLocal(int slotIndex) { } + public readonly void LoadLocalAddress(int slotIndex) { } + public readonly void LoadString(UserStringHandle handle) { } + public readonly void MarkLabel(LabelHandle label) { } + public readonly void OpCode(ILOpCode code) { } + public readonly void StoreArgument(int argumentIndex) { } + public readonly void StoreLocal(int slotIndex) { } + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + public readonly void Token(int token) { } + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LabelHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + public readonly void TaggedScalar(Action type, Action scalar) { } + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + public readonly void TaggedVector(Action arrayType, Action vector) { } + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + public void AddEncMapEntry(EntityHandle entity) { } + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + public StringHandle GetOrAddString(string value) { throw null; } + public UserStringHandle GetOrAddUserString(string value) { throw null; } + public int GetRowCount(TableIndex table) { throw null; } + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + public ReservedBlob ReserveGuid() { throw null; } + public ReservedBlob ReserveUserString(int length) { throw null; } + public void SetCapacity(HeapIndex heap, int byteCount) { } + public void SetCapacity(TableIndex table, int rowCount) { } + } + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + public string MetadataVersion { get { throw null; } } + public MetadataSizes Sizes { get { throw null; } } + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + public static BlobHandle BlobHandle(int offset) { throw null; } + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + public static EntityHandle EntityHandle(int token) { throw null; } + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + public static int GetHeapOffset(BlobHandle handle) { throw null; } + public static int GetHeapOffset(GuidHandle handle) { throw null; } + public static int GetHeapOffset(Handle handle) { throw null; } + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + public static int GetHeapOffset(StringHandle handle) { throw null; } + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + public static int GetRowNumber(EntityHandle handle) { throw null; } + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(EntityHandle handle) { throw null; } + public static int GetToken(Handle handle) { throw null; } + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + public static GuidHandle GuidHandle(int offset) { throw null; } + public static Handle Handle(int token) { throw null; } + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + public static StringHandle StringHandle(int offset) { throw null; } + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + public Blob Instructions { get { throw null; } } + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + public ushort FormatVersion { get { throw null; } } + public Func, BlobContentId> IdProvider { get { throw null; } } + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + public readonly void NullArray() { } + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly void Double() { } + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + public readonly void GenericTypeParameter(int parameterIndex) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void IntPtr() { } + public readonly void Object() { } + public readonly SignatureTypeEncoder Pointer() { throw null; } + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly SignatureTypeEncoder SZArray() { throw null; } + public readonly void Type(EntityHandle type, bool isValueType) { } + public readonly void TypedReference() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + public readonly void UIntPtr() { } + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + public Guid Guid { get { throw null; } } + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + public Characteristics Characteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public short NumberOfSections { get { throw null; } } + public int NumberOfSymbols { get { throw null; } } + public int PointerToSymbolTable { get { throw null; } } + public short SizeOfOptionalHeader { get { throw null; } } + public int TimeDateStamp { get { throw null; } } + } + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + public CorFlags Flags { get { throw null; } } + public ushort MajorRuntimeVersion { get { throw null; } } + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + public DirectoryEntry MetadataDirectory { get { throw null; } } + public ushort MinorRuntimeVersion { get { throw null; } } + public DirectoryEntry ResourcesDirectory { get { throw null; } } + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + public void AddReproducibleEntry() { } + } + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + public int DataPointer { get { throw null; } } + public int DataRelativeVirtualAddress { get { throw null; } } + public int DataSize { get { throw null; } } + public bool IsPortableCodeView { get { throw null; } } + public ushort MajorVersion { get { throw null; } } + public ushort MinorVersion { get { throw null; } } + public uint Stamp { get { throw null; } } + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + public PEHeaderBuilder Header { get { throw null; } } + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + public DirectoryEntry DebugTable { get { throw null; } set { } } + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + public DirectoryEntry ExportTable { get { throw null; } set { } } + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + public DirectoryEntry ImportTable { get { throw null; } set { } } + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + public DirectoryEntry ResourceTable { get { throw null; } set { } } + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + public sealed partial class PEHeader + { + internal PEHeader() { } + public int AddressOfEntryPoint { get { throw null; } } + public int BaseOfCode { get { throw null; } } + public int BaseOfData { get { throw null; } } + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + public uint CheckSum { get { throw null; } } + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + public DirectoryEntry DebugTableDirectory { get { throw null; } } + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + public DirectoryEntry ExportTableDirectory { get { throw null; } } + public int FileAlignment { get { throw null; } } + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + public DirectoryEntry ImportTableDirectory { get { throw null; } } + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + public PEMagic Magic { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int NumberOfRvaAndSizes { get { throw null; } } + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public int SizeOfCode { get { throw null; } } + public int SizeOfHeaders { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public int SizeOfImage { get { throw null; } } + public int SizeOfInitializedData { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public int SizeOfUninitializedData { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public int FileAlignment { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public Characteristics ImageCharacteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + public PEHeaders(IO.Stream peStream, int size) { } + public PEHeaders(IO.Stream peStream) { } + public CoffHeader CoffHeader { get { throw null; } } + public int CoffHeaderStartOffset { get { throw null; } } + public CorHeader? CorHeader { get { throw null; } } + public int CorHeaderStartOffset { get { throw null; } } + public bool IsCoffOnly { get { throw null; } } + public bool IsConsoleApplication { get { throw null; } } + public bool IsDll { get { throw null; } } + public bool IsExe { get { throw null; } } + public int MetadataSize { get { throw null; } } + public int MetadataStartOffset { get { throw null; } } + public PEHeader? PEHeader { get { throw null; } } + public int PEHeaderStartOffset { get { throw null; } } + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + public readonly Metadata.BlobReader GetReader() { throw null; } + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + public unsafe PEReader(byte* peImage, int size) { } + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + public PEReader(IO.Stream peStream) { } + public bool HasMetadata { get { throw null; } } + public bool IsEntireImageAvailable { get { throw null; } } + public bool IsLoadedImage { get { throw null; } } + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + public PEMemoryBlock GetEntireImage() { throw null; } + public PEMemoryBlock GetMetadata() { throw null; } + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + public ushort NumberOfLineNumbers { get { throw null; } } + public ushort NumberOfRelocations { get { throw null; } } + public int PointerToLineNumbers { get { throw null; } } + public int PointerToRawData { get { throw null; } } + public int PointerToRelocations { get { throw null; } } + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + public int SizeOfRawData { get { throw null; } } + public int VirtualAddress { get { throw null; } } + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + public int PointerToRawData { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..4f4ddb1226 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs @@ -0,0 +1,4069 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + public int Rank { get { throw null; } } + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKey { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + public string? CultureName { get { throw null; } } + public AssemblyNameFlags Flags { get { throw null; } } + public string FullName { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + public AssemblyName ToAssemblyName() { throw null; } + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKeyOrToken { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + protected internal int ChunkCapacity { get { throw null; } } + public int Count { get { throw null; } } + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + public void Clear() { } + public bool ContentEquals(BlobBuilder other) { throw null; } + protected void Free() { } + protected virtual void FreeChunk() { } + public Blobs GetBlobs() { throw null; } + public void LinkPrefix(BlobBuilder prefix) { } + public void LinkSuffix(BlobBuilder suffix) { } + public void PadTo(int position) { } + public Blob ReserveBytes(int byteCount) { throw null; } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteContentTo(IO.Stream destination) { } + public void WriteContentTo(BlobBuilder destination) { } + public void WriteContentTo(ref BlobWriter destination) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? value) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + public void Reset() { } + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } + } + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + public BlobContentId(Guid guid, uint stamp) { } + public Guid Guid { get { throw null; } } + public bool IsDefault { get { throw null; } } + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobContentId other) { throw null; } + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + public static explicit operator BlobHandle(Handle handle) { throw null; } + public static implicit operator Handle(BlobHandle handle) { throw null; } + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + public unsafe byte* CurrentPointer { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + public int IndexOf(byte value) { throw null; } + public BlobHandle ReadBlobHandle() { throw null; } + public bool ReadBoolean() { throw null; } + public byte ReadByte() { throw null; } + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + public byte[] ReadBytes(int byteCount) { throw null; } + public char ReadChar() { throw null; } + public int ReadCompressedInteger() { throw null; } + public int ReadCompressedSignedInteger() { throw null; } + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + public DateTime ReadDateTime() { throw null; } + public decimal ReadDecimal() { throw null; } + public double ReadDouble() { throw null; } + public Guid ReadGuid() { throw null; } + public short ReadInt16() { throw null; } + public int ReadInt32() { throw null; } + public long ReadInt64() { throw null; } + public sbyte ReadSByte() { throw null; } + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + public string? ReadSerializedString() { throw null; } + public SignatureHeader ReadSignatureHeader() { throw null; } + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + public float ReadSingle() { throw null; } + public EntityHandle ReadTypeHandle() { throw null; } + public ushort ReadUInt16() { throw null; } + public uint ReadUInt32() { throw null; } + public ulong ReadUInt64() { throw null; } + public string ReadUTF16(int byteCount) { throw null; } + public string ReadUTF8(int byteCount) { throw null; } + public void Reset() { } + public bool TryReadCompressedInteger(out int value) { throw null; } + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + public BlobWriter(byte[] buffer) { } + public BlobWriter(int size) { } + public BlobWriter(Blob blob) { } + public Blob Blob { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + public void Clear() { } + public bool ContentEquals(BlobWriter other) { throw null; } + public void PadTo(int offset) { } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBytes(BlobBuilder source) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? str) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + public ConstantTypeCode TypeCode { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator ConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + public static implicit operator Handle(ConstantHandle handle) { throw null; } + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + public string? Name { get { throw null; } } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + public MethodDefinitionHandle EntryPoint { get { throw null; } } + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + public int IdStartOffset { get { throw null; } } + } + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + public GuidHandle HashAlgorithm { get { throw null; } } + public GuidHandle Language { get { throw null; } } + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + public static explicit operator DocumentHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + public static implicit operator Handle(DocumentHandle handle) { throw null; } + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EntityHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + public static explicit operator EntityHandle(Handle handle) { throw null; } + public static implicit operator Handle(EntityHandle handle) { throw null; } + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Raiser { get { throw null; } } + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + public int FilterOffset { get { throw null; } } + public int HandlerLength { get { throw null; } } + public int HandlerOffset { get { throw null; } } + public ExceptionRegionKind Kind { get { throw null; } } + public int TryLength { get { throw null; } } + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public bool IsForwarder { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + public readonly int GetOffset() { throw null; } + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GuidHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + public static explicit operator GuidHandle(Handle handle) { throw null; } + public static implicit operator Handle(GuidHandle handle) { throw null; } + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(Handle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(Handle left, Handle right) { throw null; } + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + public int Compare(Handle x, Handle y) { throw null; } + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + public bool Equals(Handle x, Handle y) { throw null; } + public int GetHashCode(EntityHandle obj) { throw null; } + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ImageFormatLimitationException(string? message, Exception? innerException) { } + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + public ImportDefinitionKind Kind { get { throw null; } } + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + public BlobHandle TargetNamespace { get { throw null; } } + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ImportScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + public ImportScopeHandle ImportScope { get { throw null; } } + public int Length { get { throw null; } } + public MethodDefinitionHandle Method { get { throw null; } } + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalVariableHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public StringHandle Name { get { throw null; } } + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + public unsafe MetadataReader(byte* metadata, int length) { } + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + public DocumentHandleCollection Documents { get { throw null; } } + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + public ImportScopeCollection ImportScopes { get { throw null; } } + public bool IsAssembly { get { throw null; } } + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + public MetadataKind MetadataKind { get { throw null; } } + public int MetadataLength { get { throw null; } } + public unsafe byte* MetadataPointer { get { throw null; } } + public string MetadataVersion { get { throw null; } } + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + public MetadataReaderOptions Options { get { throw null; } } + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + public MetadataStringComparer StringComparer { get { throw null; } } + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + public Constant GetConstant(ConstantHandle handle) { throw null; } + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + public Document GetDocument(DocumentHandle handle) { throw null; } + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + public Guid GetGuid(GuidHandle handle) { throw null; } + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + public ModuleDefinition GetModuleDefinition() { throw null; } + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + public Parameter GetParameter(ParameterHandle handle) { throw null; } + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + public string GetString(DocumentNameBlobHandle handle) { throw null; } + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + public string GetString(StringHandle handle) { throw null; } + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + public string GetUserString(UserStringHandle handle) { throw null; } + } + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + public void Dispose() { } + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(StringHandle handle, string value) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public bool LocalVariablesInitialized { get { throw null; } } + public int MaxStack { get { throw null; } } + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + public byte[]? GetILBytes() { throw null; } + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + public BlobReader GetILReader() { throw null; } + } + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + public MethodImplAttributes ImplAttributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly MethodImport GetImport() { throw null; } + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + public EntityHandle MethodDeclaration { get { throw null; } } + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + public ModuleReferenceHandle Module { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + public int GenericParameterCount { get { throw null; } } + public SignatureHeader Header { get { throw null; } } + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + public int RequiredParameterCount { get { throw null; } } + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + public int Generation { get { throw null; } } + public GuidHandle GenerationId { get { throw null; } } + public GuidHandle Mvid { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + public NamespaceDefinitionHandle Parent { get { throw null; } } + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator ParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + public static implicit operator Handle(ParameterHandle handle) { throw null; } + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly PropertyAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + public int EndColumn { get { throw null; } } + public int EndLine { get { throw null; } } + public bool IsHidden { get { throw null; } } + public int Offset { get { throw null; } } + public int StartColumn { get { throw null; } } + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(SequencePoint other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + public SignatureAttributes Attributes { get { throw null; } } + public SignatureCallingConvention CallingConvention { get { throw null; } } + public bool HasExplicitThis { get { throw null; } } + public bool IsGeneric { get { throw null; } } + public bool IsInstance { get { throw null; } } + public SignatureKind Kind { get { throw null; } } + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public bool Equals(SignatureHeader other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + public static explicit operator StringHandle(Handle handle) { throw null; } + public static implicit operator Handle(StringHandle handle) { throw null; } + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle BaseType { get { throw null; } } + public bool IsNested { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + public readonly TypeLayout GetLayout() { throw null; } + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + public bool IsDefault { get { throw null; } } + public int PackingSize { get { throw null; } } + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + public AssemblyNameInfo? AssemblyName { get { throw null; } } + public string AssemblyQualifiedName { get { throw null; } } + public TypeName DeclaringType { get { throw null; } } + public string FullName { get { throw null; } } + public bool IsArray { get { throw null; } } + public bool IsByRef { get { throw null; } } + public bool IsConstructedGenericType { get { throw null; } } + public bool IsNested { get { throw null; } } + public bool IsPointer { get { throw null; } } + public bool IsSimple { get { throw null; } } + public bool IsSZArray { get { throw null; } } + public bool IsVariableBoundArrayType { get { throw null; } } + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + public TypeName GetElementType() { throw null; } + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + public TypeName GetGenericTypeDefinition() { throw null; } + public int GetNodeCount() { throw null; } + public TypeName MakeArrayTypeName(int rank) { throw null; } + public TypeName MakeByRefTypeName() { throw null; } + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + public TypeName MakePointerTypeName() { throw null; } + public TypeName MakeSZArrayTypeName() { throw null; } + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(UserStringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + public static explicit operator UserStringHandle(Handle handle) { throw null; } + public static implicit operator Handle(UserStringHandle handle) { throw null; } + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + public readonly FieldTypeEncoder Field() { throw null; } + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + public static int HasConstant(EntityHandle handle) { throw null; } + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + public static int HasSemantics(EntityHandle handle) { throw null; } + public static int Implementation(EntityHandle handle) { throw null; } + public static int MemberForwarded(EntityHandle handle) { throw null; } + public static int MemberRefParent(EntityHandle handle) { throw null; } + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + public static int ResolutionScope(EntityHandle handle) { throw null; } + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void Clear() { } + } + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly void Double() { } + public readonly void Enum(string enumTypeName) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly void SystemType() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + public EntityHandle Handle { get { throw null; } } + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + public BlobBuilder CodeBuilder { get { throw null; } } + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + public readonly void Call(EntityHandle methodHandle) { } + public readonly void Call(MemberReferenceHandle methodHandle) { } + public readonly void Call(MethodDefinitionHandle methodHandle) { } + public readonly void Call(MethodSpecificationHandle methodHandle) { } + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + public readonly LabelHandle DefineLabel() { throw null; } + public readonly void LoadArgument(int argumentIndex) { } + public readonly void LoadArgumentAddress(int argumentIndex) { } + public readonly void LoadConstantI4(int value) { } + public readonly void LoadConstantI8(long value) { } + public readonly void LoadConstantR4(float value) { } + public readonly void LoadConstantR8(double value) { } + public readonly void LoadLocal(int slotIndex) { } + public readonly void LoadLocalAddress(int slotIndex) { } + public readonly void LoadString(UserStringHandle handle) { } + public readonly void MarkLabel(LabelHandle label) { } + public readonly void OpCode(ILOpCode code) { } + public readonly void StoreArgument(int argumentIndex) { } + public readonly void StoreLocal(int slotIndex) { } + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + public readonly void Token(int token) { } + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LabelHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + public readonly void TaggedScalar(Action type, Action scalar) { } + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + public readonly void TaggedVector(Action arrayType, Action vector) { } + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + public void AddEncMapEntry(EntityHandle entity) { } + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + public StringHandle GetOrAddString(string value) { throw null; } + public UserStringHandle GetOrAddUserString(string value) { throw null; } + public int GetRowCount(TableIndex table) { throw null; } + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + public ReservedBlob ReserveGuid() { throw null; } + public ReservedBlob ReserveUserString(int length) { throw null; } + public void SetCapacity(HeapIndex heap, int byteCount) { } + public void SetCapacity(TableIndex table, int rowCount) { } + } + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + public string MetadataVersion { get { throw null; } } + public MetadataSizes Sizes { get { throw null; } } + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + public static BlobHandle BlobHandle(int offset) { throw null; } + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + public static EntityHandle EntityHandle(int token) { throw null; } + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + public static int GetHeapOffset(BlobHandle handle) { throw null; } + public static int GetHeapOffset(GuidHandle handle) { throw null; } + public static int GetHeapOffset(Handle handle) { throw null; } + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + public static int GetHeapOffset(StringHandle handle) { throw null; } + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + public static int GetRowNumber(EntityHandle handle) { throw null; } + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(EntityHandle handle) { throw null; } + public static int GetToken(Handle handle) { throw null; } + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + public static GuidHandle GuidHandle(int offset) { throw null; } + public static Handle Handle(int token) { throw null; } + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + public static StringHandle StringHandle(int offset) { throw null; } + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + public Blob Instructions { get { throw null; } } + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + public ushort FormatVersion { get { throw null; } } + public Func, BlobContentId> IdProvider { get { throw null; } } + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + public readonly void NullArray() { } + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly void Double() { } + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + public readonly void GenericTypeParameter(int parameterIndex) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void IntPtr() { } + public readonly void Object() { } + public readonly SignatureTypeEncoder Pointer() { throw null; } + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly SignatureTypeEncoder SZArray() { throw null; } + public readonly void Type(EntityHandle type, bool isValueType) { } + public readonly void TypedReference() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + public readonly void UIntPtr() { } + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + public Guid Guid { get { throw null; } } + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + public Characteristics Characteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public short NumberOfSections { get { throw null; } } + public int NumberOfSymbols { get { throw null; } } + public int PointerToSymbolTable { get { throw null; } } + public short SizeOfOptionalHeader { get { throw null; } } + public int TimeDateStamp { get { throw null; } } + } + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + public CorFlags Flags { get { throw null; } } + public ushort MajorRuntimeVersion { get { throw null; } } + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + public DirectoryEntry MetadataDirectory { get { throw null; } } + public ushort MinorRuntimeVersion { get { throw null; } } + public DirectoryEntry ResourcesDirectory { get { throw null; } } + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + public void AddReproducibleEntry() { } + } + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + public int DataPointer { get { throw null; } } + public int DataRelativeVirtualAddress { get { throw null; } } + public int DataSize { get { throw null; } } + public bool IsPortableCodeView { get { throw null; } } + public ushort MajorVersion { get { throw null; } } + public ushort MinorVersion { get { throw null; } } + public uint Stamp { get { throw null; } } + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + public PEHeaderBuilder Header { get { throw null; } } + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + public DirectoryEntry DebugTable { get { throw null; } set { } } + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + public DirectoryEntry ExportTable { get { throw null; } set { } } + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + public DirectoryEntry ImportTable { get { throw null; } set { } } + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + public DirectoryEntry ResourceTable { get { throw null; } set { } } + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + public sealed partial class PEHeader + { + internal PEHeader() { } + public int AddressOfEntryPoint { get { throw null; } } + public int BaseOfCode { get { throw null; } } + public int BaseOfData { get { throw null; } } + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + public uint CheckSum { get { throw null; } } + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + public DirectoryEntry DebugTableDirectory { get { throw null; } } + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + public DirectoryEntry ExportTableDirectory { get { throw null; } } + public int FileAlignment { get { throw null; } } + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + public DirectoryEntry ImportTableDirectory { get { throw null; } } + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + public PEMagic Magic { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int NumberOfRvaAndSizes { get { throw null; } } + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public int SizeOfCode { get { throw null; } } + public int SizeOfHeaders { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public int SizeOfImage { get { throw null; } } + public int SizeOfInitializedData { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public int SizeOfUninitializedData { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public int FileAlignment { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public Characteristics ImageCharacteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + public PEHeaders(IO.Stream peStream, int size) { } + public PEHeaders(IO.Stream peStream) { } + public CoffHeader CoffHeader { get { throw null; } } + public int CoffHeaderStartOffset { get { throw null; } } + public CorHeader? CorHeader { get { throw null; } } + public int CorHeaderStartOffset { get { throw null; } } + public bool IsCoffOnly { get { throw null; } } + public bool IsConsoleApplication { get { throw null; } } + public bool IsDll { get { throw null; } } + public bool IsExe { get { throw null; } } + public int MetadataSize { get { throw null; } } + public int MetadataStartOffset { get { throw null; } } + public PEHeader? PEHeader { get { throw null; } } + public int PEHeaderStartOffset { get { throw null; } } + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + public readonly Metadata.BlobReader GetReader() { throw null; } + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + public unsafe PEReader(byte* peImage, int size) { } + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + public PEReader(IO.Stream peStream) { } + public bool HasMetadata { get { throw null; } } + public bool IsEntireImageAvailable { get { throw null; } } + public bool IsLoadedImage { get { throw null; } } + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + public PEMemoryBlock GetEntireImage() { throw null; } + public PEMemoryBlock GetMetadata() { throw null; } + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + public ushort NumberOfLineNumbers { get { throw null; } } + public ushort NumberOfRelocations { get { throw null; } } + public int PointerToLineNumbers { get { throw null; } } + public int PointerToRawData { get { throw null; } } + public int PointerToRelocations { get { throw null; } } + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + public int SizeOfRawData { get { throw null; } } + public int VirtualAddress { get { throw null; } } + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + public int PointerToRawData { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..464a2739d7 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs @@ -0,0 +1,4068 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + public int Rank { get { throw null; } } + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKey { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + public string? CultureName { get { throw null; } } + public AssemblyNameFlags Flags { get { throw null; } } + public string FullName { get { throw null; } } + public string Name { get { throw null; } } + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + public AssemblyName ToAssemblyName() { throw null; } + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + public AssemblyFlags Flags { get { throw null; } } + public BlobHandle HashValue { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle PublicKeyOrToken { get { throw null; } } + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + protected internal int ChunkCapacity { get { throw null; } } + public int Count { get { throw null; } } + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + public void Clear() { } + public bool ContentEquals(BlobBuilder other) { throw null; } + protected void Free() { } + protected virtual void FreeChunk() { } + public Blobs GetBlobs() { throw null; } + public void LinkPrefix(BlobBuilder prefix) { } + public void LinkSuffix(BlobBuilder suffix) { } + public void PadTo(int position) { } + public Blob ReserveBytes(int byteCount) { throw null; } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteContentTo(IO.Stream destination) { } + public void WriteContentTo(BlobBuilder destination) { } + public void WriteContentTo(ref BlobWriter destination) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? value) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + public bool MoveNext() { throw null; } + public void Reset() { } + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + void IDisposable.Dispose() { } + } + } + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + public BlobContentId(Guid guid, uint stamp) { } + public Guid Guid { get { throw null; } } + public bool IsDefault { get { throw null; } } + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobContentId other) { throw null; } + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(BlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + public static explicit operator BlobHandle(Handle handle) { throw null; } + public static implicit operator Handle(BlobHandle handle) { throw null; } + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + public unsafe byte* CurrentPointer { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + public int IndexOf(byte value) { throw null; } + public BlobHandle ReadBlobHandle() { throw null; } + public bool ReadBoolean() { throw null; } + public byte ReadByte() { throw null; } + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + public byte[] ReadBytes(int byteCount) { throw null; } + public char ReadChar() { throw null; } + public int ReadCompressedInteger() { throw null; } + public int ReadCompressedSignedInteger() { throw null; } + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + public DateTime ReadDateTime() { throw null; } + public decimal ReadDecimal() { throw null; } + public double ReadDouble() { throw null; } + public Guid ReadGuid() { throw null; } + public short ReadInt16() { throw null; } + public int ReadInt32() { throw null; } + public long ReadInt64() { throw null; } + public sbyte ReadSByte() { throw null; } + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + public string? ReadSerializedString() { throw null; } + public SignatureHeader ReadSignatureHeader() { throw null; } + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + public float ReadSingle() { throw null; } + public EntityHandle ReadTypeHandle() { throw null; } + public ushort ReadUInt16() { throw null; } + public uint ReadUInt32() { throw null; } + public ulong ReadUInt64() { throw null; } + public string ReadUTF16(int byteCount) { throw null; } + public string ReadUTF8(int byteCount) { throw null; } + public void Reset() { } + public bool TryReadCompressedInteger(out int value) { throw null; } + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + public BlobWriter(byte[] buffer) { } + public BlobWriter(int size) { } + public BlobWriter(Blob blob) { } + public Blob Blob { get { throw null; } } + public int Length { get { throw null; } } + public int Offset { get { throw null; } set { } } + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + public void Clear() { } + public bool ContentEquals(BlobWriter other) { throw null; } + public void PadTo(int offset) { } + public byte[] ToArray() { throw null; } + public byte[] ToArray(int start, int byteCount) { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + public void WriteBoolean(bool value) { } + public void WriteByte(byte value) { } + public void WriteBytes(byte value, int byteCount) { } + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + public void WriteBytes(byte[] buffer) { } + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + public void WriteBytes(BlobBuilder source) { } + public void WriteCompressedInteger(int value) { } + public void WriteCompressedSignedInteger(int value) { } + public void WriteConstant(object? value) { } + public void WriteDateTime(DateTime value) { } + public void WriteDecimal(decimal value) { } + public void WriteDouble(double value) { } + public void WriteGuid(Guid value) { } + public void WriteInt16(short value) { } + public void WriteInt16BE(short value) { } + public void WriteInt32(int value) { } + public void WriteInt32BE(int value) { } + public void WriteInt64(long value) { } + public void WriteReference(int reference, bool isSmall) { } + public void WriteSByte(sbyte value) { } + public void WriteSerializedString(string? str) { } + public void WriteSingle(float value) { } + public void WriteUInt16(ushort value) { } + public void WriteUInt16BE(ushort value) { } + public void WriteUInt32(uint value) { } + public void WriteUInt32BE(uint value) { } + public void WriteUInt64(ulong value) { } + public void WriteUserString(string value) { } + public void WriteUTF16(char[] value) { } + public void WriteUTF16(string value) { } + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + public ConstantTypeCode TypeCode { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator ConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + public static implicit operator Handle(ConstantHandle handle) { throw null; } + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + public string? Name { get { throw null; } } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + public TType Type { get { throw null; } } + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + public MethodDefinitionHandle EntryPoint { get { throw null; } } + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + public int IdStartOffset { get { throw null; } } + } + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + public GuidHandle HashAlgorithm { get { throw null; } } + public GuidHandle Language { get { throw null; } } + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + public static explicit operator DocumentHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + public static implicit operator Handle(DocumentHandle handle) { throw null; } + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EntityHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + public static explicit operator EntityHandle(Handle handle) { throw null; } + public static implicit operator Handle(EntityHandle handle) { throw null; } + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Raiser { get { throw null; } } + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + public int FilterOffset { get { throw null; } } + public int HandlerLength { get { throw null; } } + public int HandlerOffset { get { throw null; } } + public ExceptionRegionKind Kind { get { throw null; } } + public int TryLength { get { throw null; } } + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public bool IsForwarder { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + public readonly int GetOffset() { throw null; } + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GenericParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(GuidHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + public static explicit operator GuidHandle(Handle handle) { throw null; } + public static implicit operator Handle(GuidHandle handle) { throw null; } + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(Handle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(Handle left, Handle right) { throw null; } + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + public int Compare(Handle x, Handle y) { throw null; } + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + public bool Equals(Handle x, Handle y) { throw null; } + public int GetHashCode(EntityHandle obj) { throw null; } + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public ImageFormatLimitationException(string? message, Exception? innerException) { } + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + public ImportDefinitionKind Kind { get { throw null; } } + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + public BlobHandle TargetNamespace { get { throw null; } } + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ImportScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalConstantHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + public ImportScopeHandle ImportScope { get { throw null; } } + public int Length { get { throw null; } } + public MethodDefinitionHandle Method { get { throw null; } } + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalScopeHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + public int Index { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LocalVariableHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + public EntityHandle Implementation { get { throw null; } } + public StringHandle Name { get { throw null; } } + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public EntityHandle Parent { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + public unsafe MetadataReader(byte* metadata, int length) { } + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + public DocumentHandleCollection Documents { get { throw null; } } + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + public ImportScopeCollection ImportScopes { get { throw null; } } + public bool IsAssembly { get { throw null; } } + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + public MetadataKind MetadataKind { get { throw null; } } + public int MetadataLength { get { throw null; } } + public unsafe byte* MetadataPointer { get { throw null; } } + public string MetadataVersion { get { throw null; } } + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + public MetadataReaderOptions Options { get { throw null; } } + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + public MetadataStringComparer StringComparer { get { throw null; } } + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + public Constant GetConstant(ConstantHandle handle) { throw null; } + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + public Document GetDocument(DocumentHandle handle) { throw null; } + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + public Guid GetGuid(GuidHandle handle) { throw null; } + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + public ModuleDefinition GetModuleDefinition() { throw null; } + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + public Parameter GetParameter(ParameterHandle handle) { throw null; } + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + public string GetString(DocumentNameBlobHandle handle) { throw null; } + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + public string GetString(StringHandle handle) { throw null; } + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + public string GetUserString(UserStringHandle handle) { throw null; } + } + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + public void Dispose() { } + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool Equals(StringHandle handle, string value) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public bool LocalVariablesInitialized { get { throw null; } } + public int MaxStack { get { throw null; } } + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + public byte[]? GetILBytes() { throw null; } + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + public BlobReader GetILReader() { throw null; } + } + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + public MethodImplAttributes ImplAttributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly MethodImport GetImport() { throw null; } + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + public EntityHandle MethodDeclaration { get { throw null; } } + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + public ModuleReferenceHandle Module { get { throw null; } } + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + public int GenericParameterCount { get { throw null; } } + public SignatureHeader Header { get { throw null; } } + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + public int RequiredParameterCount { get { throw null; } } + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + public int Generation { get { throw null; } } + public GuidHandle GenerationId { get { throw null; } } + public GuidHandle Mvid { get { throw null; } } + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + public NamespaceDefinitionHandle Parent { get { throw null; } } + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(ParameterHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + public static explicit operator ParameterHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + public static implicit operator Handle(ParameterHandle handle) { throw null; } + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + public StringHandle Name { get { throw null; } } + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly PropertyAccessors GetAccessors() { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + public int EndColumn { get { throw null; } } + public int EndLine { get { throw null; } } + public bool IsHidden { get { throw null; } } + public int Offset { get { throw null; } } + public int StartColumn { get { throw null; } } + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(SequencePoint other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + public SignatureAttributes Attributes { get { throw null; } } + public SignatureCallingConvention CallingConvention { get { throw null; } } + public bool HasExplicitThis { get { throw null; } } + public bool IsGeneric { get { throw null; } } + public bool IsInstance { get { throw null; } } + public SignatureKind Kind { get { throw null; } } + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + public bool Equals(SignatureHeader other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(StringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + public static explicit operator StringHandle(Handle handle) { throw null; } + public static implicit operator Handle(StringHandle handle) { throw null; } + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + public EntityHandle BaseType { get { throw null; } } + public bool IsNested { get { throw null; } } + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + public readonly TypeLayout GetLayout() { throw null; } + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + public bool IsDefault { get { throw null; } } + public int PackingSize { get { throw null; } } + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + public AssemblyNameInfo? AssemblyName { get { throw null; } } + public string AssemblyQualifiedName { get { throw null; } } + public TypeName DeclaringType { get { throw null; } } + public string FullName { get { throw null; } } + public bool IsArray { get { throw null; } } + public bool IsByRef { get { throw null; } } + public bool IsConstructedGenericType { get { throw null; } } + public bool IsNested { get { throw null; } } + public bool IsPointer { get { throw null; } } + public bool IsSimple { get { throw null; } } + public bool IsSZArray { get { throw null; } } + public bool IsVariableBoundArrayType { get { throw null; } } + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + public TypeName GetElementType() { throw null; } + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + public TypeName GetGenericTypeDefinition() { throw null; } + public int GetNodeCount() { throw null; } + public TypeName MakeArrayTypeName(int rank) { throw null; } + public TypeName MakeByRefTypeName() { throw null; } + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + public TypeName MakePointerTypeName() { throw null; } + public TypeName MakeSZArrayTypeName() { throw null; } + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + public StringHandle Namespace { get { throw null; } } + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + void Collections.IEnumerator.Reset() { } + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(UserStringHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + public static explicit operator UserStringHandle(Handle handle) { throw null; } + public static implicit operator Handle(UserStringHandle handle) { throw null; } + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + public readonly FieldTypeEncoder Field() { throw null; } + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + public static int HasConstant(EntityHandle handle) { throw null; } + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + public static int HasSemantics(EntityHandle handle) { throw null; } + public static int Implementation(EntityHandle handle) { throw null; } + public static int MemberForwarded(EntityHandle handle) { throw null; } + public static int MemberRefParent(EntityHandle handle) { throw null; } + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + public static int ResolutionScope(EntityHandle handle) { throw null; } + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + public void Clear() { } + } + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly void Double() { } + public readonly void Enum(string enumTypeName) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly void SystemType() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + public EntityHandle Handle { get { throw null; } } + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + public BlobBuilder CodeBuilder { get { throw null; } } + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + public readonly void Call(EntityHandle methodHandle) { } + public readonly void Call(MemberReferenceHandle methodHandle) { } + public readonly void Call(MethodDefinitionHandle methodHandle) { } + public readonly void Call(MethodSpecificationHandle methodHandle) { } + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + public readonly LabelHandle DefineLabel() { throw null; } + public readonly void LoadArgument(int argumentIndex) { } + public readonly void LoadArgumentAddress(int argumentIndex) { } + public readonly void LoadConstantI4(int value) { } + public readonly void LoadConstantI8(long value) { } + public readonly void LoadConstantR4(float value) { } + public readonly void LoadConstantR8(double value) { } + public readonly void LoadLocal(int slotIndex) { } + public readonly void LoadLocalAddress(int slotIndex) { } + public readonly void LoadString(UserStringHandle handle) { } + public readonly void MarkLabel(LabelHandle label) { } + public readonly void OpCode(ILOpCode code) { } + public readonly void StoreArgument(int argumentIndex) { } + public readonly void StoreLocal(int slotIndex) { } + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + public readonly void Token(int token) { } + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(LabelHandle other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + public readonly void TaggedScalar(Action type, Action scalar) { } + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + public readonly void TaggedVector(Action arrayType, Action vector) { } + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + public void AddEncMapEntry(EntityHandle entity) { } + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + public StringHandle GetOrAddString(string value) { throw null; } + public UserStringHandle GetOrAddUserString(string value) { throw null; } + public int GetRowCount(TableIndex table) { throw null; } + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + public ReservedBlob ReserveGuid() { throw null; } + public ReservedBlob ReserveUserString(int length) { throw null; } + public void SetCapacity(HeapIndex heap, int byteCount) { } + public void SetCapacity(TableIndex table, int rowCount) { } + } + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + public string MetadataVersion { get { throw null; } } + public MetadataSizes Sizes { get { throw null; } } + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + public static BlobHandle BlobHandle(int offset) { throw null; } + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + public static EntityHandle EntityHandle(int token) { throw null; } + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + public static int GetHeapOffset(BlobHandle handle) { throw null; } + public static int GetHeapOffset(GuidHandle handle) { throw null; } + public static int GetHeapOffset(Handle handle) { throw null; } + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + public static int GetHeapOffset(StringHandle handle) { throw null; } + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + public static int GetRowNumber(EntityHandle handle) { throw null; } + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(EntityHandle handle) { throw null; } + public static int GetToken(Handle handle) { throw null; } + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + public static GuidHandle GuidHandle(int offset) { throw null; } + public static Handle Handle(int token) { throw null; } + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + public static StringHandle StringHandle(int offset) { throw null; } + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + public Blob Instructions { get { throw null; } } + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + public BlobBuilder Builder { get { throw null; } } + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + public ushort FormatVersion { get { throw null; } } + public Func, BlobContentId> IdProvider { get { throw null; } } + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + public readonly void TypedReference() { } + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + public readonly void NullArray() { } + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + public readonly void Boolean() { } + public readonly void Byte() { } + public readonly void Char() { } + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + public readonly void Double() { } + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + public readonly void GenericTypeParameter(int parameterIndex) { } + public readonly void Int16() { } + public readonly void Int32() { } + public readonly void Int64() { } + public readonly void IntPtr() { } + public readonly void Object() { } + public readonly SignatureTypeEncoder Pointer() { throw null; } + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + public readonly void SByte() { } + public readonly void Single() { } + public readonly void String() { } + public readonly SignatureTypeEncoder SZArray() { throw null; } + public readonly void Type(EntityHandle type, bool isValueType) { } + public readonly void TypedReference() { } + public readonly void UInt16() { } + public readonly void UInt32() { } + public readonly void UInt64() { } + public readonly void UIntPtr() { } + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + public Guid Guid { get { throw null; } } + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + public Characteristics Characteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public short NumberOfSections { get { throw null; } } + public int NumberOfSymbols { get { throw null; } } + public int PointerToSymbolTable { get { throw null; } } + public short SizeOfOptionalHeader { get { throw null; } } + public int TimeDateStamp { get { throw null; } } + } + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + public CorFlags Flags { get { throw null; } } + public ushort MajorRuntimeVersion { get { throw null; } } + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + public DirectoryEntry MetadataDirectory { get { throw null; } } + public ushort MinorRuntimeVersion { get { throw null; } } + public DirectoryEntry ResourcesDirectory { get { throw null; } } + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + public void AddReproducibleEntry() { } + } + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + public int DataPointer { get { throw null; } } + public int DataRelativeVirtualAddress { get { throw null; } } + public int DataSize { get { throw null; } } + public bool IsPortableCodeView { get { throw null; } } + public ushort MajorVersion { get { throw null; } } + public ushort MinorVersion { get { throw null; } } + public uint Stamp { get { throw null; } } + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + public PEHeaderBuilder Header { get { throw null; } } + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + public DirectoryEntry DebugTable { get { throw null; } set { } } + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + public DirectoryEntry ExportTable { get { throw null; } set { } } + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + public DirectoryEntry ImportTable { get { throw null; } set { } } + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + public DirectoryEntry ResourceTable { get { throw null; } set { } } + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + public sealed partial class PEHeader + { + internal PEHeader() { } + public int AddressOfEntryPoint { get { throw null; } } + public int BaseOfCode { get { throw null; } } + public int BaseOfData { get { throw null; } } + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + public uint CheckSum { get { throw null; } } + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + public DirectoryEntry DebugTableDirectory { get { throw null; } } + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + public DirectoryEntry ExportTableDirectory { get { throw null; } } + public int FileAlignment { get { throw null; } } + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + public DirectoryEntry ImportTableDirectory { get { throw null; } } + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + public PEMagic Magic { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int NumberOfRvaAndSizes { get { throw null; } } + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public int SizeOfCode { get { throw null; } } + public int SizeOfHeaders { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public int SizeOfImage { get { throw null; } } + public int SizeOfInitializedData { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public int SizeOfUninitializedData { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + public DllCharacteristics DllCharacteristics { get { throw null; } } + public int FileAlignment { get { throw null; } } + public ulong ImageBase { get { throw null; } } + public Characteristics ImageCharacteristics { get { throw null; } } + public Machine Machine { get { throw null; } } + public ushort MajorImageVersion { get { throw null; } } + public byte MajorLinkerVersion { get { throw null; } } + public ushort MajorOperatingSystemVersion { get { throw null; } } + public ushort MajorSubsystemVersion { get { throw null; } } + public ushort MinorImageVersion { get { throw null; } } + public byte MinorLinkerVersion { get { throw null; } } + public ushort MinorOperatingSystemVersion { get { throw null; } } + public ushort MinorSubsystemVersion { get { throw null; } } + public int SectionAlignment { get { throw null; } } + public ulong SizeOfHeapCommit { get { throw null; } } + public ulong SizeOfHeapReserve { get { throw null; } } + public ulong SizeOfStackCommit { get { throw null; } } + public ulong SizeOfStackReserve { get { throw null; } } + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + public PEHeaders(IO.Stream peStream, int size) { } + public PEHeaders(IO.Stream peStream) { } + public CoffHeader CoffHeader { get { throw null; } } + public int CoffHeaderStartOffset { get { throw null; } } + public CorHeader? CorHeader { get { throw null; } } + public int CorHeaderStartOffset { get { throw null; } } + public bool IsCoffOnly { get { throw null; } } + public bool IsConsoleApplication { get { throw null; } } + public bool IsDll { get { throw null; } } + public bool IsExe { get { throw null; } } + public int MetadataSize { get { throw null; } } + public int MetadataStartOffset { get { throw null; } } + public PEHeader? PEHeader { get { throw null; } } + public int PEHeaderStartOffset { get { throw null; } } + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + public readonly Metadata.BlobReader GetReader() { throw null; } + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + public unsafe PEReader(byte* peImage, int size) { } + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + public PEReader(IO.Stream peStream) { } + public bool HasMetadata { get { throw null; } } + public bool IsEntireImageAvailable { get { throw null; } } + public bool IsLoadedImage { get { throw null; } } + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + public PEMemoryBlock GetEntireImage() { throw null; } + public PEMemoryBlock GetMetadata() { throw null; } + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + public ushort NumberOfLineNumbers { get { throw null; } } + public ushort NumberOfRelocations { get { throw null; } } + public int PointerToLineNumbers { get { throw null; } } + public int PointerToRawData { get { throw null; } } + public int PointerToRelocations { get { throw null; } } + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + public int SizeOfRawData { get { throw null; } } + public int VirtualAddress { get { throw null; } } + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + public int PointerToRawData { get { throw null; } } + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec b/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec new file mode 100644 index 0000000000..1d1b892592 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec @@ -0,0 +1,28 @@ + + + + System.Reflection.Metadata + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification. + +The System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/System.Reflection.MetadataLoadContext.9.0.0.csproj b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/System.Reflection.MetadataLoadContext.9.0.0.csproj new file mode 100644 index 0000000000..90149ec78b --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/System.Reflection.MetadataLoadContext.9.0.0.csproj @@ -0,0 +1,21 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Reflection.MetadataLoadContext + Open + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net8.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net8.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..a439529368 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net8.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.MetadataLoadContext")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides read-only reflection on assemblies in an isolated context with support for assemblies that target different processor architectures and runtimes. Using MetadataLoadContext enables you to inspect assemblies without loading them into the main execution context. Assemblies in MetadataLoadContext are treated only as metadata, that is, you can read information about their members, but cannot execute any code contained in them.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.MetadataLoadContext")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + public abstract partial class MetadataAssemblyResolver + { + public abstract Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName); + } + public sealed partial class MetadataLoadContext : IDisposable + { + public MetadataLoadContext(MetadataAssemblyResolver resolver, string? coreAssemblyName = null) { } + public Assembly? CoreAssembly { get { throw null; } } + + public void Dispose() { } + public Collections.Generic.IEnumerable GetAssemblies() { throw null; } + public Assembly LoadFromAssemblyName(AssemblyName assemblyName) { throw null; } + public Assembly LoadFromAssemblyName(string assemblyName) { throw null; } + public Assembly LoadFromAssemblyPath(string assemblyPath) { throw null; } + public Assembly LoadFromByteArray(byte[] assembly) { throw null; } + public Assembly LoadFromStream(IO.Stream assembly) { throw null; } + } + + public partial class PathAssemblyResolver : MetadataAssemblyResolver + { + public PathAssemblyResolver(Collections.Generic.IEnumerable assemblyPaths) { } + public override Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net9.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net9.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..6b1e8f5336 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/net9.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.MetadataLoadContext")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides read-only reflection on assemblies in an isolated context with support for assemblies that target different processor architectures and runtimes. Using MetadataLoadContext enables you to inspect assemblies without loading them into the main execution context. Assemblies in MetadataLoadContext are treated only as metadata, that is, you can read information about their members, but cannot execute any code contained in them.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.MetadataLoadContext")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + public abstract partial class MetadataAssemblyResolver + { + public abstract Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName); + } + public sealed partial class MetadataLoadContext : IDisposable + { + public MetadataLoadContext(MetadataAssemblyResolver resolver, string? coreAssemblyName = null) { } + public Assembly? CoreAssembly { get { throw null; } } + + public void Dispose() { } + public Collections.Generic.IEnumerable GetAssemblies() { throw null; } + public Assembly LoadFromAssemblyName(AssemblyName assemblyName) { throw null; } + public Assembly LoadFromAssemblyName(string assemblyName) { throw null; } + public Assembly LoadFromAssemblyPath(string assemblyPath) { throw null; } + public Assembly LoadFromByteArray(byte[] assembly) { throw null; } + public Assembly LoadFromStream(IO.Stream assembly) { throw null; } + } + + public partial class PathAssemblyResolver : MetadataAssemblyResolver + { + public PathAssemblyResolver(Collections.Generic.IEnumerable assemblyPaths) { } + public override Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..d34a0e050c --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.MetadataLoadContext")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides read-only reflection on assemblies in an isolated context with support for assemblies that target different processor architectures and runtimes. Using MetadataLoadContext enables you to inspect assemblies without loading them into the main execution context. Assemblies in MetadataLoadContext are treated only as metadata, that is, you can read information about their members, but cannot execute any code contained in them.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.MetadataLoadContext")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + public abstract partial class MetadataAssemblyResolver + { + public abstract Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName); + } + public sealed partial class MetadataLoadContext : IDisposable + { + public MetadataLoadContext(MetadataAssemblyResolver resolver, string? coreAssemblyName = null) { } + public Assembly? CoreAssembly { get { throw null; } } + + public void Dispose() { } + public Collections.Generic.IEnumerable GetAssemblies() { throw null; } + public Assembly LoadFromAssemblyName(AssemblyName assemblyName) { throw null; } + public Assembly LoadFromAssemblyName(string assemblyName) { throw null; } + public Assembly LoadFromAssemblyPath(string assemblyPath) { throw null; } + public Assembly LoadFromByteArray(byte[] assembly) { throw null; } + public Assembly LoadFromStream(IO.Stream assembly) { throw null; } + } + + public partial class PathAssemblyResolver : MetadataAssemblyResolver + { + public PathAssemblyResolver(Collections.Generic.IEnumerable assemblyPaths) { } + public override Assembly? Resolve(MetadataLoadContext context, AssemblyName assemblyName) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/system.reflection.metadataloadcontext.nuspec b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/system.reflection.metadataloadcontext.nuspec new file mode 100644 index 0000000000..ab03051d2c --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/9.0.0/system.reflection.metadataloadcontext.nuspec @@ -0,0 +1,28 @@ + + + + System.Reflection.MetadataLoadContext + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides read-only reflection on assemblies in an isolated context with support for assemblies that target different processor architectures and runtimes. Using MetadataLoadContext enables you to inspect assemblies without loading them into the main execution context. Assemblies in MetadataLoadContext are treated only as metadata, that is, you can read information about their members, but cannot execute any code contained in them. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.resources.extensions/9.0.0/System.Resources.Extensions.9.0.0.csproj b/src/referencePackages/src/system.resources.extensions/9.0.0/System.Resources.Extensions.9.0.0.csproj new file mode 100644 index 0000000000..771c9a4697 --- /dev/null +++ b/src/referencePackages/src/system.resources.extensions/9.0.0/System.Resources.Extensions.9.0.0.csproj @@ -0,0 +1,23 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Resources.Extensions + Open + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net8.0/System.Resources.Extensions.cs b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net8.0/System.Resources.Extensions.cs new file mode 100644 index 0000000000..25b29ed2d5 --- /dev/null +++ b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net8.0/System.Resources.Extensions.cs @@ -0,0 +1,58 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Resources.Extensions")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes which read and write resources in a format that supports non-primitive objects.\r\n\r\nCommonly Used Types:\r\nSystem.Resources.Extensions.DeserializingResourceReader\r\nSystem.Resources.Extensions.PreserializedResourceWriter")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Resources.Extensions")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Resources.Extensions +{ + public sealed partial class DeserializingResourceReader : IResourceReader, Collections.IEnumerable, IDisposable + { + public DeserializingResourceReader(IO.Stream stream) { } + public DeserializingResourceReader(string fileName) { } + public void Close() { } + public void Dispose() { } + public Collections.IDictionaryEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class PreserializedResourceWriter : IResourceWriter, IDisposable + { + public PreserializedResourceWriter(IO.Stream stream) { } + public PreserializedResourceWriter(string fileName) { } + public void AddActivatorResource(string name, IO.Stream value, string typeName, bool closeAfterWrite = false) { } + [Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void AddBinaryFormattedResource(string name, byte[] value, string? typeName = null) { } + public void AddResource(string name, byte[]? value) { } + public void AddResource(string name, IO.Stream? value, bool closeAfterWrite = false) { } + public void AddResource(string name, object? value) { } + public void AddResource(string name, string value, string typeName) { } + public void AddResource(string name, string? value) { } + public void AddTypeConverterResource(string name, byte[] value, string typeName) { } + public void Close() { } + public void Dispose() { } + public void Generate() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net9.0/System.Resources.Extensions.cs b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net9.0/System.Resources.Extensions.cs new file mode 100644 index 0000000000..479c2a6a45 --- /dev/null +++ b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/net9.0/System.Resources.Extensions.cs @@ -0,0 +1,58 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Resources.Extensions")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes which read and write resources in a format that supports non-primitive objects.\r\n\r\nCommonly Used Types:\r\nSystem.Resources.Extensions.DeserializingResourceReader\r\nSystem.Resources.Extensions.PreserializedResourceWriter")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Resources.Extensions")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Resources.Extensions +{ + public sealed partial class DeserializingResourceReader : IResourceReader, Collections.IEnumerable, IDisposable + { + public DeserializingResourceReader(IO.Stream stream) { } + public DeserializingResourceReader(string fileName) { } + public void Close() { } + public void Dispose() { } + public Collections.IDictionaryEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class PreserializedResourceWriter : IResourceWriter, IDisposable + { + public PreserializedResourceWriter(IO.Stream stream) { } + public PreserializedResourceWriter(string fileName) { } + public void AddActivatorResource(string name, IO.Stream value, string typeName, bool closeAfterWrite = false) { } + [Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void AddBinaryFormattedResource(string name, byte[] value, string? typeName = null) { } + public void AddResource(string name, byte[]? value) { } + public void AddResource(string name, IO.Stream? value, bool closeAfterWrite = false) { } + public void AddResource(string name, object? value) { } + public void AddResource(string name, string value, string typeName) { } + public void AddResource(string name, string? value) { } + public void AddTypeConverterResource(string name, byte[] value, string typeName) { } + public void Close() { } + public void Dispose() { } + public void Generate() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.resources.extensions/9.0.0/lib/netstandard2.0/System.Resources.Extensions.cs b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/netstandard2.0/System.Resources.Extensions.cs new file mode 100644 index 0000000000..e18f20fbdf --- /dev/null +++ b/src/referencePackages/src/system.resources.extensions/9.0.0/lib/netstandard2.0/System.Resources.Extensions.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Resources.Extensions")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes which read and write resources in a format that supports non-primitive objects.\r\n\r\nCommonly Used Types:\r\nSystem.Resources.Extensions.DeserializingResourceReader\r\nSystem.Resources.Extensions.PreserializedResourceWriter")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Resources.Extensions")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Resources.Extensions +{ + public sealed partial class DeserializingResourceReader : IResourceReader, Collections.IEnumerable, IDisposable + { + public DeserializingResourceReader(IO.Stream stream) { } + public DeserializingResourceReader(string fileName) { } + public void Close() { } + public void Dispose() { } + public Collections.IDictionaryEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class PreserializedResourceWriter : IResourceWriter, IDisposable + { + public PreserializedResourceWriter(IO.Stream stream) { } + public PreserializedResourceWriter(string fileName) { } + public void AddActivatorResource(string name, IO.Stream value, string typeName, bool closeAfterWrite = false) { } + public void AddBinaryFormattedResource(string name, byte[] value, string? typeName = null) { } + public void AddResource(string name, byte[]? value) { } + public void AddResource(string name, IO.Stream? value, bool closeAfterWrite = false) { } + public void AddResource(string name, object? value) { } + public void AddResource(string name, string value, string typeName) { } + public void AddResource(string name, string? value) { } + public void AddTypeConverterResource(string name, byte[] value, string typeName) { } + public void Close() { } + public void Dispose() { } + public void Generate() { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.resources.extensions/9.0.0/system.resources.extensions.nuspec b/src/referencePackages/src/system.resources.extensions/9.0.0/system.resources.extensions.nuspec new file mode 100644 index 0000000000..fae7e1387d --- /dev/null +++ b/src/referencePackages/src/system.resources.extensions/9.0.0/system.resources.extensions.nuspec @@ -0,0 +1,32 @@ + + + + System.Resources.Extensions + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides classes which read and write resources in a format that supports non-primitive objects. + +Commonly Used Types: +System.Resources.Extensions.DeserializingResourceReader +System.Resources.Extensions.PreserializedResourceWriter + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/System.Runtime.CompilerServices.Unsafe.6.1.0.csproj b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/System.Runtime.CompilerServices.Unsafe.6.1.0.csproj new file mode 100644 index 0000000000..0207a6711e --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/System.Runtime.CompilerServices.Unsafe.6.1.0.csproj @@ -0,0 +1,9 @@ + + + + netstandard2.0 + 6.1.0 + System.Runtime.CompilerServices.Unsafe + + + diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/net7.0/_._ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/net7.0/_._ new file mode 100755 index 0000000000..e69de29bb2 diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs new file mode 100644 index 0000000000..c317108002 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs @@ -0,0 +1,71 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] +[assembly: System.CLSCompliant(false)] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyFileVersion("6.100.24.56208")] +[assembly: System.Reflection.AssemblyInformationalVersion("6.1.0")] +[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + public static partial class Unsafe + { + public static ref T Add(ref T source, int elementOffset) { throw null; } + public static ref T Add(ref T source, IntPtr elementOffset) { throw null; } + public static ref T Add(ref T source, nuint elementOffset) { throw null; } + public static unsafe void* Add(void* source, int elementOffset) { throw null; } + public static ref T AddByteOffset(ref T source, IntPtr byteOffset) { throw null; } + public static ref T AddByteOffset(ref T source, nuint byteOffset) { throw null; } + public static bool AreSame(ref T left, ref T right) { throw null; } + public static T As(object o) where T : class { throw null; } + public static ref TTo As(ref TFrom source) { throw null; } + public static unsafe void* AsPointer(ref T value) { throw null; } + public static ref T AsRef(in T source) { throw null; } + public static unsafe ref T AsRef(void* source) { throw null; } + public static IntPtr ByteOffset(ref T origin, ref T target) { throw null; } + public static unsafe void Copy(ref T destination, void* source) { } + public static unsafe void Copy(void* destination, ref T source) { } + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } + public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } + public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } + public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } + public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } + public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } + public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } + public static bool IsNullRef(ref T source) { throw null; } + public static ref T NullRef() { throw null; } + public static unsafe T Read(void* source) { throw null; } + public static T ReadUnaligned(ref byte source) { throw null; } + public static unsafe T ReadUnaligned(void* source) { throw null; } + public static int SizeOf() { throw null; } + public static void SkipInit(out T value) { throw null; } + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + public static ref T Subtract(ref T source, IntPtr elementOffset) { throw null; } + public static ref T Subtract(ref T source, nuint elementOffset) { throw null; } + public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + public static ref T SubtractByteOffset(ref T source, IntPtr byteOffset) { throw null; } + public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } + public static ref T Unbox(object box) where T : struct { throw null; } + public static unsafe void Write(void* destination, T value) { } + public static void WriteUnaligned(ref byte destination, T value) { } + public static unsafe void WriteUnaligned(void* destination, T value) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/system.runtime.compilerservices.unsafe.nuspec b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/system.runtime.compilerservices.unsafe.nuspec new file mode 100644 index 0000000000..e9f812850a --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.0/system.runtime.compilerservices.unsafe.nuspec @@ -0,0 +1,23 @@ + + + + System.Runtime.CompilerServices.Unsafe + 6.1.0 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe + © Microsoft Corporation. All rights reserved. + true + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/System.Security.Cryptography.Pkcs.9.0.0.csproj b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/System.Security.Cryptography.Pkcs.9.0.0.csproj new file mode 100644 index 0000000000..8960c81715 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/System.Security.Cryptography.Pkcs.9.0.0.csproj @@ -0,0 +1,30 @@ + + + + net8.0;net9.0;netstandard2.0;netstandard2.1 + 9.0.0 + System.Security.Cryptography.Pkcs + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net8.0/System.Security.Cryptography.Pkcs.cs b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net8.0/System.Security.Cryptography.Pkcs.cs new file mode 100644 index 0000000000..833622ab2a --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net8.0/System.Security.Cryptography.Pkcs.cs @@ -0,0 +1,610 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Pkcs")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for PKCS and CMS algorithms.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Pkcs.EnvelopedCms")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Pkcs")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public sealed partial class CryptographicAttributeObject + { + public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection? values) { } + public CryptographicAttributeObject(Oid oid) { } + public Oid Oid { get { throw null; } } + public AsnEncodedDataCollection Values { get { throw null; } } + } + public sealed partial class CryptographicAttributeObjectCollection : Collections.ICollection, Collections.IEnumerable + { + public CryptographicAttributeObjectCollection() { } + public CryptographicAttributeObjectCollection(CryptographicAttributeObject attribute) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CryptographicAttributeObject this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(AsnEncodedData asnEncodedData) { throw null; } + public int Add(CryptographicAttributeObject attribute) { throw null; } + public void CopyTo(CryptographicAttributeObject[] array, int index) { } + public CryptographicAttributeObjectEnumerator GetEnumerator() { throw null; } + public void Remove(CryptographicAttributeObject attribute) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CryptographicAttributeObjectEnumerator : Collections.IEnumerator + { + internal CryptographicAttributeObjectEnumerator() { } + public CryptographicAttributeObject Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } +} + +namespace System.Security.Cryptography.Pkcs +{ + public sealed partial class AlgorithmIdentifier + { + public AlgorithmIdentifier() { } + public AlgorithmIdentifier(Oid oid, int keyLength) { } + public AlgorithmIdentifier(Oid oid) { } + public int KeyLength { get { throw null; } set { } } + public Oid Oid { get { throw null; } set { } } + public byte[] Parameters { get { throw null; } set { } } + } + public sealed partial class CmsRecipient + { + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate) { } + public X509Certificates.X509Certificate2 Certificate { get { throw null; } } + public SubjectIdentifierType RecipientIdentifierType { get { throw null; } } + public RSAEncryptionPadding? RSAEncryptionPadding { get { throw null; } } + } + public sealed partial class CmsRecipientCollection : Collections.ICollection, Collections.IEnumerable + { + public CmsRecipientCollection() { } + public CmsRecipientCollection(CmsRecipient recipient) { } + public CmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2Collection certificates) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CmsRecipient this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(CmsRecipient recipient) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(CmsRecipient[] array, int index) { } + public CmsRecipientEnumerator GetEnumerator() { throw null; } + public void Remove(CmsRecipient recipient) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CmsRecipientEnumerator : Collections.IEnumerator + { + internal CmsRecipientEnumerator() { } + public CmsRecipient Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class CmsSigner + { + public CmsSigner() { } + [Obsolete("CmsSigner(CspParameters) is obsolete and is not supported. Use an alternative constructor instead.", DiagnosticId = "SYSLIB0034", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public CmsSigner(CspParameters parameters) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, AsymmetricAlgorithm? privateKey) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, RSA? privateKey, RSASignaturePadding? signaturePadding) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType) { } + public CmsSigner(X509Certificates.X509Certificate2? certificate) { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } set { } } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } set { } } + public X509Certificates.X509IncludeOption IncludeOption { get { throw null; } set { } } + public AsymmetricAlgorithm? PrivateKey { get { throw null; } set { } } + public RSASignaturePadding? SignaturePadding { get { throw null; } set { } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifierType SignerIdentifierType { get { throw null; } set { } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + } + public sealed partial class ContentInfo + { + public ContentInfo(byte[] content) { } + public ContentInfo(Oid contentType, byte[] content) { } + public byte[] Content { get { throw null; } } + public Oid ContentType { get { throw null; } } + + public static Oid GetContentType(byte[] encodedMessage) { throw null; } + public static Oid GetContentType(ReadOnlySpan encodedMessage) { throw null; } + } + public sealed partial class EnvelopedCms + { + public EnvelopedCms() { } + public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) { } + public EnvelopedCms(ContentInfo contentInfo) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public AlgorithmIdentifier ContentEncryptionAlgorithm { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public RecipientInfoCollection RecipientInfos { get { throw null; } } + public CryptographicAttributeObjectCollection UnprotectedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public void Decrypt() { } + public void Decrypt(RecipientInfo recipientInfo, AsymmetricAlgorithm? privateKey) { } + public void Decrypt(RecipientInfo recipientInfo, X509Certificates.X509Certificate2Collection extraStore) { } + public void Decrypt(RecipientInfo recipientInfo) { } + public void Decrypt(X509Certificates.X509Certificate2Collection extraStore) { } + public byte[] Encode() { throw null; } + public void Encrypt(CmsRecipient recipient) { } + public void Encrypt(CmsRecipientCollection recipients) { } + } + public sealed partial class KeyAgreeRecipientInfo : RecipientInfo + { + internal KeyAgreeRecipientInfo() { } + public DateTime Date { get { throw null; } } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public SubjectIdentifierOrKey OriginatorIdentifierOrKey { get { throw null; } } + public CryptographicAttributeObject? OtherKeyAttribute { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class KeyTransRecipientInfo : RecipientInfo + { + internal KeyTransRecipientInfo() { } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class Pkcs12Builder + { + public bool IsSealed { get { throw null; } } + + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, byte[]? passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan password, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, string? password, PbeParameters pbeParameters) { } + public void AddSafeContentsUnencrypted(Pkcs12SafeContents safeContents) { } + public byte[] Encode() { throw null; } + public void SealWithMac(ReadOnlySpan password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithMac(string? password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithoutIntegrity() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12CertBag : Pkcs12SafeBag + { + public Pkcs12CertBag(Oid certificateType, ReadOnlyMemory encodedCertificate) : base(default!, default, default) { } + public ReadOnlyMemory EncodedCertificate { get { throw null; } } + public bool IsX509Certificate { get { throw null; } } + + public X509Certificates.X509Certificate2 GetCertificate() { throw null; } + public Oid GetCertificateType() { throw null; } + } + + public enum Pkcs12ConfidentialityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12Info + { + internal Pkcs12Info() { } + public Collections.ObjectModel.ReadOnlyCollection AuthenticatedSafe { get { throw null; } } + public Pkcs12IntegrityMode IntegrityMode { get { throw null; } } + + public static Pkcs12Info Decode(ReadOnlyMemory encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; } + public bool VerifyMac(ReadOnlySpan password) { throw null; } + public bool VerifyMac(string? password) { throw null; } + } + public enum Pkcs12IntegrityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12KeyBag : Pkcs12SafeBag + { + public Pkcs12KeyBag(ReadOnlyMemory pkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory Pkcs8PrivateKey { get { throw null; } } + } + + public abstract partial class Pkcs12SafeBag + { + protected Pkcs12SafeBag(string bagIdValue, ReadOnlyMemory encodedBagValue, bool skipCopy = false) { } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory EncodedBagValue { get { throw null; } } + + public byte[] Encode() { throw null; } + public Oid GetBagId() { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12SafeContents + { + public Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Pkcs12CertBag AddCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + public Pkcs12KeyBag AddKeyUnencrypted(AsymmetricAlgorithm key) { throw null; } + public Pkcs12SafeContentsBag AddNestedContents(Pkcs12SafeContents safeContents) { throw null; } + public void AddSafeBag(Pkcs12SafeBag safeBag) { } + public Pkcs12SecretBag AddSecret(Oid secretType, ReadOnlyMemory secretValue) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, byte[]? passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, string? password, PbeParameters pbeParameters) { throw null; } + public void Decrypt(byte[]? passwordBytes) { } + public void Decrypt(ReadOnlySpan passwordBytes) { } + public void Decrypt(ReadOnlySpan password) { } + public void Decrypt(string? password) { } + public Collections.Generic.IEnumerable GetBags() { throw null; } + } + public sealed partial class Pkcs12SafeContentsBag : Pkcs12SafeBag + { + internal Pkcs12SafeContentsBag() : base(default!, default, default) { } + public Pkcs12SafeContents? SafeContents { get { throw null; } } + } + + public sealed partial class Pkcs12SecretBag : Pkcs12SafeBag + { + internal Pkcs12SecretBag() : base(default!, default, default) { } + public ReadOnlyMemory SecretValue { get { throw null; } } + + public Oid GetSecretType() { throw null; } + } + + public sealed partial class Pkcs12ShroudedKeyBag : Pkcs12SafeBag + { + public Pkcs12ShroudedKeyBag(ReadOnlyMemory encryptedPkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory EncryptedPkcs8PrivateKey { get { throw null; } } + } + + public sealed partial class Pkcs8PrivateKeyInfo + { + public Pkcs8PrivateKeyInfo(Oid algorithmId, ReadOnlyMemory? algorithmParameters, ReadOnlyMemory privateKey, bool skipCopies = false) { } + public Oid AlgorithmId { get { throw null; } } + public ReadOnlyMemory? AlgorithmParameters { get { throw null; } } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory PrivateKeyBytes { get { throw null; } } + + public static Pkcs8PrivateKeyInfo Create(AsymmetricAlgorithm privateKey) { throw null; } + public static Pkcs8PrivateKeyInfo Decode(ReadOnlyMemory source, out int bytesRead, bool skipCopy = false) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan passwordBytes, ReadOnlyMemory source, out int bytesRead) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan password, ReadOnlyMemory source, out int bytesRead) { throw null; } + public byte[] Encode() { throw null; } + public byte[] Encrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public byte[] Encrypt(ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan password, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + } + public partial class Pkcs9AttributeObject : AsnEncodedData + { + public Pkcs9AttributeObject() { } + public Pkcs9AttributeObject(AsnEncodedData asnEncodedData) { } + public Pkcs9AttributeObject(Oid oid, byte[] encodedData) { } + public Pkcs9AttributeObject(string oid, byte[] encodedData) { } + public new Oid? Oid { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9ContentType : Pkcs9AttributeObject + { + public Oid ContentType { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentDescription : Pkcs9AttributeObject + { + public Pkcs9DocumentDescription() { } + public Pkcs9DocumentDescription(byte[] encodedDocumentDescription) { } + public Pkcs9DocumentDescription(string documentDescription) { } + public string DocumentDescription { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentName : Pkcs9AttributeObject + { + public Pkcs9DocumentName() { } + public Pkcs9DocumentName(byte[] encodedDocumentName) { } + public Pkcs9DocumentName(string documentName) { } + public string DocumentName { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9LocalKeyId : Pkcs9AttributeObject + { + public Pkcs9LocalKeyId() { } + public Pkcs9LocalKeyId(byte[] keyId) { } + public Pkcs9LocalKeyId(ReadOnlySpan keyId) { } + public ReadOnlyMemory KeyId { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9MessageDigest : Pkcs9AttributeObject + { + public byte[] MessageDigest { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9SigningTime : Pkcs9AttributeObject + { + public Pkcs9SigningTime() { } + public Pkcs9SigningTime(byte[] encodedSigningTime) { } + public Pkcs9SigningTime(DateTime signingTime) { } + public DateTime SigningTime { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class PublicKeyInfo + { + internal PublicKeyInfo() { } + public AlgorithmIdentifier Algorithm { get { throw null; } } + public byte[] KeyValue { get { throw null; } } + } + public abstract partial class RecipientInfo + { + internal RecipientInfo() { } + public abstract byte[] EncryptedKey { get; } + public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; } + public abstract SubjectIdentifier RecipientIdentifier { get; } + public RecipientInfoType Type { get { throw null; } } + public abstract int Version { get; } + } + public sealed partial class RecipientInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal RecipientInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public RecipientInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(RecipientInfo[] array, int index) { } + public RecipientInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class RecipientInfoEnumerator : Collections.IEnumerator + { + internal RecipientInfoEnumerator() { } + public RecipientInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public enum RecipientInfoType + { + Unknown = 0, + KeyTransport = 1, + KeyAgreement = 2 + } + + public sealed partial class Rfc3161TimestampRequest + { + internal Rfc3161TimestampRequest() { } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public Oid? RequestedPolicyId { get { throw null; } } + public bool RequestSignerCertificate { get { throw null; } } + public int Version { get { throw null; } } + + public static Rfc3161TimestampRequest CreateFromData(ReadOnlySpan data, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, Oid hashAlgorithmId, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromSignerInfo(SignerInfo signerInfo, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public Rfc3161TimestampToken ProcessResponse(ReadOnlyMemory responseBytes, out int bytesConsumed) { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampRequest? request, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Rfc3161TimestampToken + { + internal Rfc3161TimestampToken() { } + public Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } } + + public SignedCms AsSignedCms() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampToken? token, out int bytesConsumed) { throw null; } + public bool VerifySignatureForData(ReadOnlySpan data, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, HashAlgorithmName hashAlgorithm, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, Oid hashAlgorithmId, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForSignerInfo(SignerInfo signerInfo, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + } + public sealed partial class Rfc3161TimestampTokenInfo + { + public Rfc3161TimestampTokenInfo(Oid policyId, Oid hashAlgorithmId, ReadOnlyMemory messageHash, ReadOnlyMemory serialNumber, DateTimeOffset timestamp, long? accuracyInMicroseconds = null, bool isOrdering = false, ReadOnlyMemory? nonce = null, ReadOnlyMemory? timestampAuthorityName = null, X509Certificates.X509ExtensionCollection? extensions = null) { } + public long? AccuracyInMicroseconds { get { throw null; } } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public bool IsOrdering { get { throw null; } } + public Oid PolicyId { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + public int Version { get { throw null; } } + + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public ReadOnlyMemory GetSerialNumber() { throw null; } + public ReadOnlyMemory? GetTimestampAuthorityName() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampTokenInfo? timestampTokenInfo, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class SignedCms + { + public SignedCms() { } + public SignedCms(ContentInfo contentInfo, bool detached) { } + public SignedCms(ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public bool Detached { get { throw null; } } + public SignerInfoCollection SignerInfos { get { throw null; } } + public int Version { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate2 certificate) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeSignature() { } + public void ComputeSignature(CmsSigner signer, bool silent) { } + public void ComputeSignature(CmsSigner signer) { } + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public byte[] Encode() { throw null; } + public void RemoveCertificate(X509Certificates.X509Certificate2 certificate) { } + public void RemoveSignature(int index) { } + public void RemoveSignature(SignerInfo signerInfo) { } + } + public sealed partial class SignerInfo + { + internal SignerInfo() { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } } + public SignerInfoCollection CounterSignerInfos { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } } + public Oid SignatureAlgorithm { get { throw null; } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifier SignerIdentifier { get { throw null; } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + [Obsolete("ComputeCounterSignature without specifying a CmsSigner is obsolete and is not supported. Use the overload that accepts a CmsSigner.", DiagnosticId = "SYSLIB0035", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void ComputeCounterSignature() { } + public void ComputeCounterSignature(CmsSigner signer) { } + public byte[] GetSignature() { throw null; } + public void RemoveCounterSignature(int index) { } + public void RemoveCounterSignature(SignerInfo counterSignerInfo) { } + public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + } + public sealed partial class SignerInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal SignerInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SignerInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(SignerInfo[] array, int index) { } + public SignerInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class SignerInfoEnumerator : Collections.IEnumerator + { + internal SignerInfoEnumerator() { } + public SignerInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class SubjectIdentifier + { + internal SubjectIdentifier() { } + public SubjectIdentifierType Type { get { throw null; } } + public object? Value { get { throw null; } } + + public bool MatchesCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + } + public sealed partial class SubjectIdentifierOrKey + { + internal SubjectIdentifierOrKey() { } + public SubjectIdentifierOrKeyType Type { get { throw null; } } + public object Value { get { throw null; } } + } + public enum SubjectIdentifierOrKeyType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + PublicKeyInfo = 3 + } + + public enum SubjectIdentifierType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + NoSignature = 3 + } +} + +namespace System.Security.Cryptography.Xml +{ + public partial struct X509IssuerSerial + { + private object _dummy; + private int _dummyPrimitive; + public string IssuerName { get { throw null; } set { } } + public string SerialNumber { get { throw null; } set { } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net9.0/System.Security.Cryptography.Pkcs.cs b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net9.0/System.Security.Cryptography.Pkcs.cs new file mode 100644 index 0000000000..a2dbf634e4 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/net9.0/System.Security.Cryptography.Pkcs.cs @@ -0,0 +1,610 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Pkcs")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for PKCS and CMS algorithms.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Pkcs.EnvelopedCms")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Pkcs")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public sealed partial class CryptographicAttributeObject + { + public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection? values) { } + public CryptographicAttributeObject(Oid oid) { } + public Oid Oid { get { throw null; } } + public AsnEncodedDataCollection Values { get { throw null; } } + } + public sealed partial class CryptographicAttributeObjectCollection : Collections.ICollection, Collections.IEnumerable + { + public CryptographicAttributeObjectCollection() { } + public CryptographicAttributeObjectCollection(CryptographicAttributeObject attribute) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CryptographicAttributeObject this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(AsnEncodedData asnEncodedData) { throw null; } + public int Add(CryptographicAttributeObject attribute) { throw null; } + public void CopyTo(CryptographicAttributeObject[] array, int index) { } + public CryptographicAttributeObjectEnumerator GetEnumerator() { throw null; } + public void Remove(CryptographicAttributeObject attribute) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CryptographicAttributeObjectEnumerator : Collections.IEnumerator + { + internal CryptographicAttributeObjectEnumerator() { } + public CryptographicAttributeObject Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } +} + +namespace System.Security.Cryptography.Pkcs +{ + public sealed partial class AlgorithmIdentifier + { + public AlgorithmIdentifier() { } + public AlgorithmIdentifier(Oid oid, int keyLength) { } + public AlgorithmIdentifier(Oid oid) { } + public int KeyLength { get { throw null; } set { } } + public Oid Oid { get { throw null; } set { } } + public byte[] Parameters { get { throw null; } set { } } + } + public sealed partial class CmsRecipient + { + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate) { } + public X509Certificates.X509Certificate2 Certificate { get { throw null; } } + public SubjectIdentifierType RecipientIdentifierType { get { throw null; } } + public RSAEncryptionPadding? RSAEncryptionPadding { get { throw null; } } + } + public sealed partial class CmsRecipientCollection : Collections.ICollection, Collections.IEnumerable + { + public CmsRecipientCollection() { } + public CmsRecipientCollection(CmsRecipient recipient) { } + public CmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2Collection certificates) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CmsRecipient this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(CmsRecipient recipient) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(CmsRecipient[] array, int index) { } + public CmsRecipientEnumerator GetEnumerator() { throw null; } + public void Remove(CmsRecipient recipient) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CmsRecipientEnumerator : Collections.IEnumerator + { + internal CmsRecipientEnumerator() { } + public CmsRecipient Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class CmsSigner + { + public CmsSigner() { } + [Obsolete("CmsSigner(CspParameters) is obsolete and is not supported. Use an alternative constructor instead.", DiagnosticId = "SYSLIB0034", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public CmsSigner(CspParameters parameters) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, AsymmetricAlgorithm? privateKey) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, RSA? privateKey, RSASignaturePadding? signaturePadding) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType) { } + public CmsSigner(X509Certificates.X509Certificate2? certificate) { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } set { } } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } set { } } + public X509Certificates.X509IncludeOption IncludeOption { get { throw null; } set { } } + public AsymmetricAlgorithm? PrivateKey { get { throw null; } set { } } + public RSASignaturePadding? SignaturePadding { get { throw null; } set { } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifierType SignerIdentifierType { get { throw null; } set { } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + } + public sealed partial class ContentInfo + { + public ContentInfo(byte[] content) { } + public ContentInfo(Oid contentType, byte[] content) { } + public byte[] Content { get { throw null; } } + public Oid ContentType { get { throw null; } } + + public static Oid GetContentType(byte[] encodedMessage) { throw null; } + public static Oid GetContentType(ReadOnlySpan encodedMessage) { throw null; } + } + public sealed partial class EnvelopedCms + { + public EnvelopedCms() { } + public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) { } + public EnvelopedCms(ContentInfo contentInfo) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public AlgorithmIdentifier ContentEncryptionAlgorithm { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public RecipientInfoCollection RecipientInfos { get { throw null; } } + public CryptographicAttributeObjectCollection UnprotectedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public void Decrypt() { } + public void Decrypt(RecipientInfo recipientInfo, AsymmetricAlgorithm? privateKey) { } + public void Decrypt(RecipientInfo recipientInfo, X509Certificates.X509Certificate2Collection extraStore) { } + public void Decrypt(RecipientInfo recipientInfo) { } + public void Decrypt(X509Certificates.X509Certificate2Collection extraStore) { } + public byte[] Encode() { throw null; } + public void Encrypt(CmsRecipient recipient) { } + public void Encrypt(CmsRecipientCollection recipients) { } + } + public sealed partial class KeyAgreeRecipientInfo : RecipientInfo + { + internal KeyAgreeRecipientInfo() { } + public DateTime Date { get { throw null; } } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public SubjectIdentifierOrKey OriginatorIdentifierOrKey { get { throw null; } } + public CryptographicAttributeObject? OtherKeyAttribute { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class KeyTransRecipientInfo : RecipientInfo + { + internal KeyTransRecipientInfo() { } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class Pkcs12Builder + { + public bool IsSealed { get { throw null; } } + + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, byte[]? passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan password, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, string? password, PbeParameters pbeParameters) { } + public void AddSafeContentsUnencrypted(Pkcs12SafeContents safeContents) { } + public byte[] Encode() { throw null; } + public void SealWithMac(ReadOnlySpan password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithMac(string? password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithoutIntegrity() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12CertBag : Pkcs12SafeBag + { + public Pkcs12CertBag(Oid certificateType, ReadOnlyMemory encodedCertificate) : base(default!, default, default) { } + public ReadOnlyMemory EncodedCertificate { get { throw null; } } + public bool IsX509Certificate { get { throw null; } } + + public X509Certificates.X509Certificate2 GetCertificate() { throw null; } + public Oid GetCertificateType() { throw null; } + } + + public enum Pkcs12ConfidentialityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12Info + { + internal Pkcs12Info() { } + public Collections.ObjectModel.ReadOnlyCollection AuthenticatedSafe { get { throw null; } } + public Pkcs12IntegrityMode IntegrityMode { get { throw null; } } + + public static Pkcs12Info Decode(ReadOnlyMemory encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; } + public bool VerifyMac(ReadOnlySpan password) { throw null; } + public bool VerifyMac(string? password) { throw null; } + } + public enum Pkcs12IntegrityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12KeyBag : Pkcs12SafeBag + { + public Pkcs12KeyBag(ReadOnlyMemory pkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory Pkcs8PrivateKey { get { throw null; } } + } + + public abstract partial class Pkcs12SafeBag + { + protected Pkcs12SafeBag(string bagIdValue, ReadOnlyMemory encodedBagValue, bool skipCopy = false) { } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory EncodedBagValue { get { throw null; } } + + public byte[] Encode() { throw null; } + public Oid GetBagId() { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12SafeContents + { + public Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Pkcs12CertBag AddCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + public Pkcs12KeyBag AddKeyUnencrypted(AsymmetricAlgorithm key) { throw null; } + public Pkcs12SafeContentsBag AddNestedContents(Pkcs12SafeContents safeContents) { throw null; } + public void AddSafeBag(Pkcs12SafeBag safeBag) { } + public Pkcs12SecretBag AddSecret(Oid secretType, ReadOnlyMemory secretValue) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, byte[]? passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, string? password, PbeParameters pbeParameters) { throw null; } + public void Decrypt(byte[]? passwordBytes) { } + public void Decrypt(ReadOnlySpan passwordBytes) { } + public void Decrypt(ReadOnlySpan password) { } + public void Decrypt(string? password) { } + public Collections.Generic.IEnumerable GetBags() { throw null; } + } + public sealed partial class Pkcs12SafeContentsBag : Pkcs12SafeBag + { + internal Pkcs12SafeContentsBag() : base(default!, default, default) { } + public Pkcs12SafeContents? SafeContents { get { throw null; } } + } + + public sealed partial class Pkcs12SecretBag : Pkcs12SafeBag + { + internal Pkcs12SecretBag() : base(default!, default, default) { } + public ReadOnlyMemory SecretValue { get { throw null; } } + + public Oid GetSecretType() { throw null; } + } + + public sealed partial class Pkcs12ShroudedKeyBag : Pkcs12SafeBag + { + public Pkcs12ShroudedKeyBag(ReadOnlyMemory encryptedPkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory EncryptedPkcs8PrivateKey { get { throw null; } } + } + + public sealed partial class Pkcs8PrivateKeyInfo + { + public Pkcs8PrivateKeyInfo(Oid algorithmId, ReadOnlyMemory? algorithmParameters, ReadOnlyMemory privateKey, bool skipCopies = false) { } + public Oid AlgorithmId { get { throw null; } } + public ReadOnlyMemory? AlgorithmParameters { get { throw null; } } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory PrivateKeyBytes { get { throw null; } } + + public static Pkcs8PrivateKeyInfo Create(AsymmetricAlgorithm privateKey) { throw null; } + public static Pkcs8PrivateKeyInfo Decode(ReadOnlyMemory source, out int bytesRead, bool skipCopy = false) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan passwordBytes, ReadOnlyMemory source, out int bytesRead) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan password, ReadOnlyMemory source, out int bytesRead) { throw null; } + public byte[] Encode() { throw null; } + public byte[] Encrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public byte[] Encrypt(ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan password, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + } + public partial class Pkcs9AttributeObject : AsnEncodedData + { + public Pkcs9AttributeObject() { } + public Pkcs9AttributeObject(AsnEncodedData asnEncodedData) { } + public Pkcs9AttributeObject(Oid oid, byte[] encodedData) { } + public Pkcs9AttributeObject(string oid, byte[] encodedData) { } + public new Oid? Oid { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9ContentType : Pkcs9AttributeObject + { + public Oid ContentType { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentDescription : Pkcs9AttributeObject + { + public Pkcs9DocumentDescription() { } + public Pkcs9DocumentDescription(byte[] encodedDocumentDescription) { } + public Pkcs9DocumentDescription(string documentDescription) { } + public string DocumentDescription { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentName : Pkcs9AttributeObject + { + public Pkcs9DocumentName() { } + public Pkcs9DocumentName(byte[] encodedDocumentName) { } + public Pkcs9DocumentName(string documentName) { } + public string DocumentName { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9LocalKeyId : Pkcs9AttributeObject + { + public Pkcs9LocalKeyId() { } + public Pkcs9LocalKeyId(byte[] keyId) { } + public Pkcs9LocalKeyId(ReadOnlySpan keyId) { } + public ReadOnlyMemory KeyId { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9MessageDigest : Pkcs9AttributeObject + { + public byte[] MessageDigest { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9SigningTime : Pkcs9AttributeObject + { + public Pkcs9SigningTime() { } + public Pkcs9SigningTime(byte[] encodedSigningTime) { } + public Pkcs9SigningTime(DateTime signingTime) { } + public DateTime SigningTime { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class PublicKeyInfo + { + internal PublicKeyInfo() { } + public AlgorithmIdentifier Algorithm { get { throw null; } } + public byte[] KeyValue { get { throw null; } } + } + public abstract partial class RecipientInfo + { + internal RecipientInfo() { } + public abstract byte[] EncryptedKey { get; } + public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; } + public abstract SubjectIdentifier RecipientIdentifier { get; } + public RecipientInfoType Type { get { throw null; } } + public abstract int Version { get; } + } + public sealed partial class RecipientInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal RecipientInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public RecipientInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(RecipientInfo[] array, int index) { } + public RecipientInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class RecipientInfoEnumerator : Collections.IEnumerator + { + internal RecipientInfoEnumerator() { } + public RecipientInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public enum RecipientInfoType + { + Unknown = 0, + KeyTransport = 1, + KeyAgreement = 2 + } + + public sealed partial class Rfc3161TimestampRequest + { + internal Rfc3161TimestampRequest() { } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public Oid? RequestedPolicyId { get { throw null; } } + public bool RequestSignerCertificate { get { throw null; } } + public int Version { get { throw null; } } + + public static Rfc3161TimestampRequest CreateFromData(ReadOnlySpan data, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, Oid hashAlgorithmId, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromSignerInfo(SignerInfo signerInfo, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public Rfc3161TimestampToken ProcessResponse(ReadOnlyMemory responseBytes, out int bytesConsumed) { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampRequest? request, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Rfc3161TimestampToken + { + internal Rfc3161TimestampToken() { } + public Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } } + + public SignedCms AsSignedCms() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampToken? token, out int bytesConsumed) { throw null; } + public bool VerifySignatureForData(ReadOnlySpan data, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, HashAlgorithmName hashAlgorithm, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, Oid hashAlgorithmId, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForSignerInfo(SignerInfo signerInfo, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + } + public sealed partial class Rfc3161TimestampTokenInfo + { + public Rfc3161TimestampTokenInfo(Oid policyId, Oid hashAlgorithmId, ReadOnlyMemory messageHash, ReadOnlyMemory serialNumber, DateTimeOffset timestamp, long? accuracyInMicroseconds = null, bool isOrdering = false, ReadOnlyMemory? nonce = null, ReadOnlyMemory? timestampAuthorityName = null, X509Certificates.X509ExtensionCollection? extensions = null) { } + public long? AccuracyInMicroseconds { get { throw null; } } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public bool IsOrdering { get { throw null; } } + public Oid PolicyId { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + public int Version { get { throw null; } } + + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public ReadOnlyMemory GetSerialNumber() { throw null; } + public ReadOnlyMemory? GetTimestampAuthorityName() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampTokenInfo? timestampTokenInfo, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class SignedCms + { + public SignedCms() { } + public SignedCms(ContentInfo contentInfo, bool detached) { } + public SignedCms(ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public bool Detached { get { throw null; } } + public SignerInfoCollection SignerInfos { get { throw null; } } + public int Version { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate2 certificate) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeSignature() { } + public void ComputeSignature(CmsSigner signer, bool silent) { } + public void ComputeSignature(CmsSigner signer) { } + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public byte[] Encode() { throw null; } + public void RemoveCertificate(X509Certificates.X509Certificate2 certificate) { } + public void RemoveSignature(int index) { } + public void RemoveSignature(SignerInfo signerInfo) { } + } + public sealed partial class SignerInfo + { + internal SignerInfo() { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } } + public SignerInfoCollection CounterSignerInfos { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } } + public Oid SignatureAlgorithm { get { throw null; } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifier SignerIdentifier { get { throw null; } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + [Obsolete("ComputeCounterSignature without specifying a CmsSigner is obsolete and is not supported. Use the overload that accepts a CmsSigner.", DiagnosticId = "SYSLIB0035", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public void ComputeCounterSignature() { } + public void ComputeCounterSignature(CmsSigner signer) { } + public byte[] GetSignature() { throw null; } + public void RemoveCounterSignature(int index) { } + public void RemoveCounterSignature(SignerInfo counterSignerInfo) { } + public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + } + public sealed partial class SignerInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal SignerInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SignerInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(SignerInfo[] array, int index) { } + public SignerInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class SignerInfoEnumerator : Collections.IEnumerator + { + internal SignerInfoEnumerator() { } + public SignerInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class SubjectIdentifier + { + internal SubjectIdentifier() { } + public SubjectIdentifierType Type { get { throw null; } } + public object? Value { get { throw null; } } + + public bool MatchesCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + } + public sealed partial class SubjectIdentifierOrKey + { + internal SubjectIdentifierOrKey() { } + public SubjectIdentifierOrKeyType Type { get { throw null; } } + public object Value { get { throw null; } } + } + public enum SubjectIdentifierOrKeyType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + PublicKeyInfo = 3 + } + + public enum SubjectIdentifierType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + NoSignature = 3 + } +} + +namespace System.Security.Cryptography.Xml +{ + public partial struct X509IssuerSerial + { + private object _dummy; + private int _dummyPrimitive; + public string IssuerName { get { throw null; } set { } } + public string SerialNumber { get { throw null; } set { } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Pkcs.cs b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Pkcs.cs new file mode 100644 index 0000000000..e4de9ee9f9 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Pkcs.cs @@ -0,0 +1,414 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Pkcs")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for PKCS and CMS algorithms.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Pkcs.EnvelopedCms")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Pkcs")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public sealed partial class CryptographicAttributeObject + { + public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection? values) { } + public CryptographicAttributeObject(Oid oid) { } + public Oid Oid { get { throw null; } } + public AsnEncodedDataCollection Values { get { throw null; } } + } + public sealed partial class CryptographicAttributeObjectCollection : Collections.ICollection, Collections.IEnumerable + { + public CryptographicAttributeObjectCollection() { } + public CryptographicAttributeObjectCollection(CryptographicAttributeObject attribute) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CryptographicAttributeObject this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(AsnEncodedData asnEncodedData) { throw null; } + public int Add(CryptographicAttributeObject attribute) { throw null; } + public void CopyTo(CryptographicAttributeObject[] array, int index) { } + public CryptographicAttributeObjectEnumerator GetEnumerator() { throw null; } + public void Remove(CryptographicAttributeObject attribute) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CryptographicAttributeObjectEnumerator : Collections.IEnumerator + { + internal CryptographicAttributeObjectEnumerator() { } + public CryptographicAttributeObject Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } +} + +namespace System.Security.Cryptography.Pkcs +{ + public sealed partial class AlgorithmIdentifier + { + public AlgorithmIdentifier() { } + public AlgorithmIdentifier(Oid oid, int keyLength) { } + public AlgorithmIdentifier(Oid oid) { } + public int KeyLength { get { throw null; } set { } } + public Oid Oid { get { throw null; } set { } } + public byte[] Parameters { get { throw null; } set { } } + } + public sealed partial class CmsRecipient + { + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate) { } + public X509Certificates.X509Certificate2 Certificate { get { throw null; } } + public SubjectIdentifierType RecipientIdentifierType { get { throw null; } } + } + public sealed partial class CmsRecipientCollection : Collections.ICollection, Collections.IEnumerable + { + public CmsRecipientCollection() { } + public CmsRecipientCollection(CmsRecipient recipient) { } + public CmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2Collection certificates) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CmsRecipient this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(CmsRecipient recipient) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(CmsRecipient[] array, int index) { } + public CmsRecipientEnumerator GetEnumerator() { throw null; } + public void Remove(CmsRecipient recipient) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CmsRecipientEnumerator : Collections.IEnumerator + { + internal CmsRecipientEnumerator() { } + public CmsRecipient Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class CmsSigner + { + public CmsSigner() { } + public CmsSigner(CspParameters parameters) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, AsymmetricAlgorithm? privateKey) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, RSA? privateKey, RSASignaturePadding? signaturePadding) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType) { } + public CmsSigner(X509Certificates.X509Certificate2? certificate) { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } set { } } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } set { } } + public X509Certificates.X509IncludeOption IncludeOption { get { throw null; } set { } } + public AsymmetricAlgorithm? PrivateKey { get { throw null; } set { } } + public RSASignaturePadding? SignaturePadding { get { throw null; } set { } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifierType SignerIdentifierType { get { throw null; } set { } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + } + public sealed partial class ContentInfo + { + public ContentInfo(byte[] content) { } + public ContentInfo(Oid contentType, byte[] content) { } + public byte[] Content { get { throw null; } } + public Oid ContentType { get { throw null; } } + + public static Oid GetContentType(byte[] encodedMessage) { throw null; } + public static Oid GetContentType(ReadOnlySpan encodedMessage) { throw null; } + } + public sealed partial class EnvelopedCms + { + public EnvelopedCms() { } + public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) { } + public EnvelopedCms(ContentInfo contentInfo) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public AlgorithmIdentifier ContentEncryptionAlgorithm { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public RecipientInfoCollection RecipientInfos { get { throw null; } } + public CryptographicAttributeObjectCollection UnprotectedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public void Decrypt() { } + public void Decrypt(RecipientInfo recipientInfo, AsymmetricAlgorithm? privateKey) { } + public void Decrypt(RecipientInfo recipientInfo, X509Certificates.X509Certificate2Collection extraStore) { } + public void Decrypt(RecipientInfo recipientInfo) { } + public void Decrypt(X509Certificates.X509Certificate2Collection extraStore) { } + public byte[] Encode() { throw null; } + public void Encrypt(CmsRecipient recipient) { } + public void Encrypt(CmsRecipientCollection recipients) { } + } + public sealed partial class KeyAgreeRecipientInfo : RecipientInfo + { + internal KeyAgreeRecipientInfo() { } + public DateTime Date { get { throw null; } } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public SubjectIdentifierOrKey OriginatorIdentifierOrKey { get { throw null; } } + public CryptographicAttributeObject? OtherKeyAttribute { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class KeyTransRecipientInfo : RecipientInfo + { + internal KeyTransRecipientInfo() { } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public partial class Pkcs9AttributeObject : AsnEncodedData + { + public Pkcs9AttributeObject() { } + public Pkcs9AttributeObject(AsnEncodedData asnEncodedData) { } + public Pkcs9AttributeObject(Oid oid, byte[] encodedData) { } + public Pkcs9AttributeObject(string oid, byte[] encodedData) { } + public new Oid? Oid { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9ContentType : Pkcs9AttributeObject + { + public Oid ContentType { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentDescription : Pkcs9AttributeObject + { + public Pkcs9DocumentDescription() { } + public Pkcs9DocumentDescription(byte[] encodedDocumentDescription) { } + public Pkcs9DocumentDescription(string documentDescription) { } + public string DocumentDescription { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentName : Pkcs9AttributeObject + { + public Pkcs9DocumentName() { } + public Pkcs9DocumentName(byte[] encodedDocumentName) { } + public Pkcs9DocumentName(string documentName) { } + public string DocumentName { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9MessageDigest : Pkcs9AttributeObject + { + public byte[] MessageDigest { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9SigningTime : Pkcs9AttributeObject + { + public Pkcs9SigningTime() { } + public Pkcs9SigningTime(byte[] encodedSigningTime) { } + public Pkcs9SigningTime(DateTime signingTime) { } + public DateTime SigningTime { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class PublicKeyInfo + { + internal PublicKeyInfo() { } + public AlgorithmIdentifier Algorithm { get { throw null; } } + public byte[] KeyValue { get { throw null; } } + } + public abstract partial class RecipientInfo + { + internal RecipientInfo() { } + public abstract byte[] EncryptedKey { get; } + public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; } + public abstract SubjectIdentifier RecipientIdentifier { get; } + public RecipientInfoType Type { get { throw null; } } + public abstract int Version { get; } + } + public sealed partial class RecipientInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal RecipientInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public RecipientInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(RecipientInfo[] array, int index) { } + public RecipientInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class RecipientInfoEnumerator : Collections.IEnumerator + { + internal RecipientInfoEnumerator() { } + public RecipientInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public enum RecipientInfoType + { + Unknown = 0, + KeyTransport = 1, + KeyAgreement = 2 + } + + public sealed partial class SignedCms + { + public SignedCms() { } + public SignedCms(ContentInfo contentInfo, bool detached) { } + public SignedCms(ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public bool Detached { get { throw null; } } + public SignerInfoCollection SignerInfos { get { throw null; } } + public int Version { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate2 certificate) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeSignature() { } + public void ComputeSignature(CmsSigner signer, bool silent) { } + public void ComputeSignature(CmsSigner signer) { } + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public byte[] Encode() { throw null; } + public void RemoveCertificate(X509Certificates.X509Certificate2 certificate) { } + public void RemoveSignature(int index) { } + public void RemoveSignature(SignerInfo signerInfo) { } + } + public sealed partial class SignerInfo + { + internal SignerInfo() { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } } + public SignerInfoCollection CounterSignerInfos { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } } + public Oid SignatureAlgorithm { get { throw null; } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifier SignerIdentifier { get { throw null; } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeCounterSignature() { } + public void ComputeCounterSignature(CmsSigner signer) { } + public byte[] GetSignature() { throw null; } + public void RemoveCounterSignature(int index) { } + public void RemoveCounterSignature(SignerInfo counterSignerInfo) { } + public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + } + public sealed partial class SignerInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal SignerInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SignerInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(SignerInfo[] array, int index) { } + public SignerInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class SignerInfoEnumerator : Collections.IEnumerator + { + internal SignerInfoEnumerator() { } + public SignerInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class SubjectIdentifier + { + internal SubjectIdentifier() { } + public SubjectIdentifierType Type { get { throw null; } } + public object? Value { get { throw null; } } + + public bool MatchesCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + } + public sealed partial class SubjectIdentifierOrKey + { + internal SubjectIdentifierOrKey() { } + public SubjectIdentifierOrKeyType Type { get { throw null; } } + public object Value { get { throw null; } } + } + public enum SubjectIdentifierOrKeyType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + PublicKeyInfo = 3 + } + + public enum SubjectIdentifierType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + NoSignature = 3 + } +} + +namespace System.Security.Cryptography.Xml +{ + public partial struct X509IssuerSerial + { + private object _dummy; + private int _dummyPrimitive; + public string IssuerName { get { throw null; } set { } } + public string SerialNumber { get { throw null; } set { } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.1/System.Security.Cryptography.Pkcs.cs b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.1/System.Security.Cryptography.Pkcs.cs new file mode 100644 index 0000000000..3a41a2720f --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/lib/netstandard2.1/System.Security.Cryptography.Pkcs.cs @@ -0,0 +1,606 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Pkcs")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for PKCS and CMS algorithms.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Pkcs.EnvelopedCms")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Pkcs")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public sealed partial class CryptographicAttributeObject + { + public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection? values) { } + public CryptographicAttributeObject(Oid oid) { } + public Oid Oid { get { throw null; } } + public AsnEncodedDataCollection Values { get { throw null; } } + } + public sealed partial class CryptographicAttributeObjectCollection : Collections.ICollection, Collections.IEnumerable + { + public CryptographicAttributeObjectCollection() { } + public CryptographicAttributeObjectCollection(CryptographicAttributeObject attribute) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CryptographicAttributeObject this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(AsnEncodedData asnEncodedData) { throw null; } + public int Add(CryptographicAttributeObject attribute) { throw null; } + public void CopyTo(CryptographicAttributeObject[] array, int index) { } + public CryptographicAttributeObjectEnumerator GetEnumerator() { throw null; } + public void Remove(CryptographicAttributeObject attribute) { } + void Collections.ICollection.CopyTo(Array array, int index) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CryptographicAttributeObjectEnumerator : Collections.IEnumerator + { + internal CryptographicAttributeObjectEnumerator() { } + public CryptographicAttributeObject Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } +} + +namespace System.Security.Cryptography.Pkcs +{ + public sealed partial class AlgorithmIdentifier + { + public AlgorithmIdentifier() { } + public AlgorithmIdentifier(Oid oid, int keyLength) { } + public AlgorithmIdentifier(Oid oid) { } + public int KeyLength { get { throw null; } set { } } + public Oid Oid { get { throw null; } set { } } + public byte[] Parameters { get { throw null; } set { } } + } + public sealed partial class CmsRecipient + { + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2 certificate) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) { } + public CmsRecipient(X509Certificates.X509Certificate2 certificate) { } + public X509Certificates.X509Certificate2 Certificate { get { throw null; } } + public SubjectIdentifierType RecipientIdentifierType { get { throw null; } } + public RSAEncryptionPadding? RSAEncryptionPadding { get { throw null; } } + } + public sealed partial class CmsRecipientCollection : Collections.ICollection, Collections.IEnumerable + { + public CmsRecipientCollection() { } + public CmsRecipientCollection(CmsRecipient recipient) { } + public CmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, X509Certificates.X509Certificate2Collection certificates) { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public CmsRecipient this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public int Add(CmsRecipient recipient) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(CmsRecipient[] array, int index) { } + public CmsRecipientEnumerator GetEnumerator() { throw null; } + public void Remove(CmsRecipient recipient) { } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class CmsRecipientEnumerator : Collections.IEnumerator + { + internal CmsRecipientEnumerator() { } + public CmsRecipient Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class CmsSigner + { + public CmsSigner() { } + public CmsSigner(CspParameters parameters) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, AsymmetricAlgorithm? privateKey) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate, RSA? privateKey, RSASignaturePadding? signaturePadding) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificates.X509Certificate2? certificate) { } + public CmsSigner(SubjectIdentifierType signerIdentifierType) { } + public CmsSigner(X509Certificates.X509Certificate2? certificate) { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } set { } } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } set { } } + public X509Certificates.X509IncludeOption IncludeOption { get { throw null; } set { } } + public AsymmetricAlgorithm? PrivateKey { get { throw null; } set { } } + public RSASignaturePadding? SignaturePadding { get { throw null; } set { } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifierType SignerIdentifierType { get { throw null; } set { } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + } + public sealed partial class ContentInfo + { + public ContentInfo(byte[] content) { } + public ContentInfo(Oid contentType, byte[] content) { } + public byte[] Content { get { throw null; } } + public Oid ContentType { get { throw null; } } + + public static Oid GetContentType(byte[] encodedMessage) { throw null; } + public static Oid GetContentType(ReadOnlySpan encodedMessage) { throw null; } + } + public sealed partial class EnvelopedCms + { + public EnvelopedCms() { } + public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) { } + public EnvelopedCms(ContentInfo contentInfo) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public AlgorithmIdentifier ContentEncryptionAlgorithm { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public RecipientInfoCollection RecipientInfos { get { throw null; } } + public CryptographicAttributeObjectCollection UnprotectedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public void Decrypt() { } + public void Decrypt(RecipientInfo recipientInfo, AsymmetricAlgorithm? privateKey) { } + public void Decrypt(RecipientInfo recipientInfo, X509Certificates.X509Certificate2Collection extraStore) { } + public void Decrypt(RecipientInfo recipientInfo) { } + public void Decrypt(X509Certificates.X509Certificate2Collection extraStore) { } + public byte[] Encode() { throw null; } + public void Encrypt(CmsRecipient recipient) { } + public void Encrypt(CmsRecipientCollection recipients) { } + } + public sealed partial class KeyAgreeRecipientInfo : RecipientInfo + { + internal KeyAgreeRecipientInfo() { } + public DateTime Date { get { throw null; } } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public SubjectIdentifierOrKey OriginatorIdentifierOrKey { get { throw null; } } + public CryptographicAttributeObject? OtherKeyAttribute { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class KeyTransRecipientInfo : RecipientInfo + { + internal KeyTransRecipientInfo() { } + public override byte[] EncryptedKey { get { throw null; } } + public override AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } } + public override SubjectIdentifier RecipientIdentifier { get { throw null; } } + public override int Version { get { throw null; } } + } + + public sealed partial class Pkcs12Builder + { + public bool IsSealed { get { throw null; } } + + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, byte[]? passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, ReadOnlySpan password, PbeParameters pbeParameters) { } + public void AddSafeContentsEncrypted(Pkcs12SafeContents safeContents, string? password, PbeParameters pbeParameters) { } + public void AddSafeContentsUnencrypted(Pkcs12SafeContents safeContents) { } + public byte[] Encode() { throw null; } + public void SealWithMac(ReadOnlySpan password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithMac(string? password, HashAlgorithmName hashAlgorithm, int iterationCount) { } + public void SealWithoutIntegrity() { } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12CertBag : Pkcs12SafeBag + { + public Pkcs12CertBag(Oid certificateType, ReadOnlyMemory encodedCertificate) : base(default!, default, default) { } + public ReadOnlyMemory EncodedCertificate { get { throw null; } } + public bool IsX509Certificate { get { throw null; } } + + public X509Certificates.X509Certificate2 GetCertificate() { throw null; } + public Oid GetCertificateType() { throw null; } + } + + public enum Pkcs12ConfidentialityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12Info + { + internal Pkcs12Info() { } + public Collections.ObjectModel.ReadOnlyCollection AuthenticatedSafe { get { throw null; } } + public Pkcs12IntegrityMode IntegrityMode { get { throw null; } } + + public static Pkcs12Info Decode(ReadOnlyMemory encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; } + public bool VerifyMac(ReadOnlySpan password) { throw null; } + public bool VerifyMac(string? password) { throw null; } + } + public enum Pkcs12IntegrityMode + { + Unknown = 0, + None = 1, + Password = 2, + PublicKey = 3 + } + + public sealed partial class Pkcs12KeyBag : Pkcs12SafeBag + { + public Pkcs12KeyBag(ReadOnlyMemory pkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory Pkcs8PrivateKey { get { throw null; } } + } + + public abstract partial class Pkcs12SafeBag + { + protected Pkcs12SafeBag(string bagIdValue, ReadOnlyMemory encodedBagValue, bool skipCopy = false) { } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory EncodedBagValue { get { throw null; } } + + public byte[] Encode() { throw null; } + public Oid GetBagId() { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Pkcs12SafeContents + { + public Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + + public Pkcs12CertBag AddCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + public Pkcs12KeyBag AddKeyUnencrypted(AsymmetricAlgorithm key) { throw null; } + public Pkcs12SafeContentsBag AddNestedContents(Pkcs12SafeContents safeContents) { throw null; } + public void AddSafeBag(Pkcs12SafeBag safeBag) { } + public Pkcs12SecretBag AddSecret(Oid secretType, ReadOnlyMemory secretValue) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, byte[]? passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public Pkcs12ShroudedKeyBag AddShroudedKey(AsymmetricAlgorithm key, string? password, PbeParameters pbeParameters) { throw null; } + public void Decrypt(byte[]? passwordBytes) { } + public void Decrypt(ReadOnlySpan passwordBytes) { } + public void Decrypt(ReadOnlySpan password) { } + public void Decrypt(string? password) { } + public Collections.Generic.IEnumerable GetBags() { throw null; } + } + public sealed partial class Pkcs12SafeContentsBag : Pkcs12SafeBag + { + internal Pkcs12SafeContentsBag() : base(default!, default, default) { } + public Pkcs12SafeContents? SafeContents { get { throw null; } } + } + + public sealed partial class Pkcs12SecretBag : Pkcs12SafeBag + { + internal Pkcs12SecretBag() : base(default!, default, default) { } + public ReadOnlyMemory SecretValue { get { throw null; } } + + public Oid GetSecretType() { throw null; } + } + + public sealed partial class Pkcs12ShroudedKeyBag : Pkcs12SafeBag + { + public Pkcs12ShroudedKeyBag(ReadOnlyMemory encryptedPkcs8PrivateKey, bool skipCopy = false) : base(default!, default, default) { } + public ReadOnlyMemory EncryptedPkcs8PrivateKey { get { throw null; } } + } + + public sealed partial class Pkcs8PrivateKeyInfo + { + public Pkcs8PrivateKeyInfo(Oid algorithmId, ReadOnlyMemory? algorithmParameters, ReadOnlyMemory privateKey, bool skipCopies = false) { } + public Oid AlgorithmId { get { throw null; } } + public ReadOnlyMemory? AlgorithmParameters { get { throw null; } } + public CryptographicAttributeObjectCollection Attributes { get { throw null; } } + public ReadOnlyMemory PrivateKeyBytes { get { throw null; } } + + public static Pkcs8PrivateKeyInfo Create(AsymmetricAlgorithm privateKey) { throw null; } + public static Pkcs8PrivateKeyInfo Decode(ReadOnlyMemory source, out int bytesRead, bool skipCopy = false) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan passwordBytes, ReadOnlyMemory source, out int bytesRead) { throw null; } + public static Pkcs8PrivateKeyInfo DecryptAndDecode(ReadOnlySpan password, ReadOnlyMemory source, out int bytesRead) { throw null; } + public byte[] Encode() { throw null; } + public byte[] Encrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters) { throw null; } + public byte[] Encrypt(ReadOnlySpan password, PbeParameters pbeParameters) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan passwordBytes, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + public bool TryEncrypt(ReadOnlySpan password, PbeParameters pbeParameters, Span destination, out int bytesWritten) { throw null; } + } + public partial class Pkcs9AttributeObject : AsnEncodedData + { + public Pkcs9AttributeObject() { } + public Pkcs9AttributeObject(AsnEncodedData asnEncodedData) { } + public Pkcs9AttributeObject(Oid oid, byte[] encodedData) { } + public Pkcs9AttributeObject(string oid, byte[] encodedData) { } + public new Oid? Oid { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9ContentType : Pkcs9AttributeObject + { + public Oid ContentType { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentDescription : Pkcs9AttributeObject + { + public Pkcs9DocumentDescription() { } + public Pkcs9DocumentDescription(byte[] encodedDocumentDescription) { } + public Pkcs9DocumentDescription(string documentDescription) { } + public string DocumentDescription { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9DocumentName : Pkcs9AttributeObject + { + public Pkcs9DocumentName() { } + public Pkcs9DocumentName(byte[] encodedDocumentName) { } + public Pkcs9DocumentName(string documentName) { } + public string DocumentName { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9LocalKeyId : Pkcs9AttributeObject + { + public Pkcs9LocalKeyId() { } + public Pkcs9LocalKeyId(byte[] keyId) { } + public Pkcs9LocalKeyId(ReadOnlySpan keyId) { } + public ReadOnlyMemory KeyId { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9MessageDigest : Pkcs9AttributeObject + { + public byte[] MessageDigest { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class Pkcs9SigningTime : Pkcs9AttributeObject + { + public Pkcs9SigningTime() { } + public Pkcs9SigningTime(byte[] encodedSigningTime) { } + public Pkcs9SigningTime(DateTime signingTime) { } + public DateTime SigningTime { get { throw null; } } + + public override void CopyFrom(AsnEncodedData asnEncodedData) { } + } + + public sealed partial class PublicKeyInfo + { + internal PublicKeyInfo() { } + public AlgorithmIdentifier Algorithm { get { throw null; } } + public byte[] KeyValue { get { throw null; } } + } + public abstract partial class RecipientInfo + { + internal RecipientInfo() { } + public abstract byte[] EncryptedKey { get; } + public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; } + public abstract SubjectIdentifier RecipientIdentifier { get; } + public RecipientInfoType Type { get { throw null; } } + public abstract int Version { get; } + } + public sealed partial class RecipientInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal RecipientInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public RecipientInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(RecipientInfo[] array, int index) { } + public RecipientInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class RecipientInfoEnumerator : Collections.IEnumerator + { + internal RecipientInfoEnumerator() { } + public RecipientInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public enum RecipientInfoType + { + Unknown = 0, + KeyTransport = 1, + KeyAgreement = 2 + } + + public sealed partial class Rfc3161TimestampRequest + { + internal Rfc3161TimestampRequest() { } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public Oid? RequestedPolicyId { get { throw null; } } + public bool RequestSignerCertificate { get { throw null; } } + public int Version { get { throw null; } } + + public static Rfc3161TimestampRequest CreateFromData(ReadOnlySpan data, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromHash(ReadOnlyMemory hash, Oid hashAlgorithmId, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public static Rfc3161TimestampRequest CreateFromSignerInfo(SignerInfo signerInfo, HashAlgorithmName hashAlgorithm, Oid? requestedPolicyId = null, ReadOnlyMemory? nonce = null, bool requestSignerCertificates = false, X509Certificates.X509ExtensionCollection? extensions = null) { throw null; } + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public Rfc3161TimestampToken ProcessResponse(ReadOnlyMemory responseBytes, out int bytesConsumed) { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampRequest? request, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class Rfc3161TimestampToken + { + internal Rfc3161TimestampToken() { } + public Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } } + + public SignedCms AsSignedCms() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampToken? token, out int bytesConsumed) { throw null; } + public bool VerifySignatureForData(ReadOnlySpan data, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, HashAlgorithmName hashAlgorithm, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForHash(ReadOnlySpan hash, Oid hashAlgorithmId, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + public bool VerifySignatureForSignerInfo(SignerInfo signerInfo, out X509Certificates.X509Certificate2? signerCertificate, X509Certificates.X509Certificate2Collection? extraCandidates = null) { throw null; } + } + public sealed partial class Rfc3161TimestampTokenInfo + { + public Rfc3161TimestampTokenInfo(Oid policyId, Oid hashAlgorithmId, ReadOnlyMemory messageHash, ReadOnlyMemory serialNumber, DateTimeOffset timestamp, long? accuracyInMicroseconds = null, bool isOrdering = false, ReadOnlyMemory? nonce = null, ReadOnlyMemory? timestampAuthorityName = null, X509Certificates.X509ExtensionCollection? extensions = null) { } + public long? AccuracyInMicroseconds { get { throw null; } } + public bool HasExtensions { get { throw null; } } + public Oid HashAlgorithmId { get { throw null; } } + public bool IsOrdering { get { throw null; } } + public Oid PolicyId { get { throw null; } } + public DateTimeOffset Timestamp { get { throw null; } } + public int Version { get { throw null; } } + + public byte[] Encode() { throw null; } + public X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } + public ReadOnlyMemory GetMessageHash() { throw null; } + public ReadOnlyMemory? GetNonce() { throw null; } + public ReadOnlyMemory GetSerialNumber() { throw null; } + public ReadOnlyMemory? GetTimestampAuthorityName() { throw null; } + public static bool TryDecode(ReadOnlyMemory encodedBytes, out Rfc3161TimestampTokenInfo? timestampTokenInfo, out int bytesConsumed) { throw null; } + public bool TryEncode(Span destination, out int bytesWritten) { throw null; } + } + public sealed partial class SignedCms + { + public SignedCms() { } + public SignedCms(ContentInfo contentInfo, bool detached) { } + public SignedCms(ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached) { } + public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo) { } + public SignedCms(SubjectIdentifierType signerIdentifierType) { } + public X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } + public ContentInfo ContentInfo { get { throw null; } } + public bool Detached { get { throw null; } } + public SignerInfoCollection SignerInfos { get { throw null; } } + public int Version { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate2 certificate) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeSignature() { } + public void ComputeSignature(CmsSigner signer, bool silent) { } + public void ComputeSignature(CmsSigner signer) { } + public void Decode(byte[] encodedMessage) { } + public void Decode(ReadOnlySpan encodedMessage) { } + public byte[] Encode() { throw null; } + public void RemoveCertificate(X509Certificates.X509Certificate2 certificate) { } + public void RemoveSignature(int index) { } + public void RemoveSignature(SignerInfo signerInfo) { } + } + public sealed partial class SignerInfo + { + internal SignerInfo() { } + public X509Certificates.X509Certificate2? Certificate { get { throw null; } } + public SignerInfoCollection CounterSignerInfos { get { throw null; } } + public Oid DigestAlgorithm { get { throw null; } } + public Oid SignatureAlgorithm { get { throw null; } } + public CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } + public SubjectIdentifier SignerIdentifier { get { throw null; } } + public CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } + public int Version { get { throw null; } } + + public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + public void CheckHash() { } + public void CheckSignature(bool verifySignatureOnly) { } + public void CheckSignature(X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } + public void ComputeCounterSignature() { } + public void ComputeCounterSignature(CmsSigner signer) { } + public byte[] GetSignature() { throw null; } + public void RemoveCounterSignature(int index) { } + public void RemoveCounterSignature(SignerInfo counterSignerInfo) { } + public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) { } + } + public sealed partial class SignerInfoCollection : Collections.ICollection, Collections.IEnumerable + { + internal SignerInfoCollection() { } + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public SignerInfo this[int index] { get { throw null; } } + + public object SyncRoot { get { throw null; } } + + public void CopyTo(Array array, int index) { } + public void CopyTo(SignerInfo[] array, int index) { } + public SignerInfoEnumerator GetEnumerator() { throw null; } + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public sealed partial class SignerInfoEnumerator : Collections.IEnumerator + { + internal SignerInfoEnumerator() { } + public SignerInfo Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + public void Reset() { } + } + + public sealed partial class SubjectIdentifier + { + internal SubjectIdentifier() { } + public SubjectIdentifierType Type { get { throw null; } } + public object? Value { get { throw null; } } + + public bool MatchesCertificate(X509Certificates.X509Certificate2 certificate) { throw null; } + } + public sealed partial class SubjectIdentifierOrKey + { + internal SubjectIdentifierOrKey() { } + public SubjectIdentifierOrKeyType Type { get { throw null; } } + public object Value { get { throw null; } } + } + public enum SubjectIdentifierOrKeyType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + PublicKeyInfo = 3 + } + + public enum SubjectIdentifierType + { + Unknown = 0, + IssuerAndSerialNumber = 1, + SubjectKeyIdentifier = 2, + NoSignature = 3 + } +} + +namespace System.Security.Cryptography.Xml +{ + public partial struct X509IssuerSerial + { + private object _dummy; + private int _dummyPrimitive; + public string IssuerName { get { throw null; } set { } } + public string SerialNumber { get { throw null; } set { } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/system.security.cryptography.pkcs.nuspec b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/system.security.cryptography.pkcs.nuspec new file mode 100644 index 0000000000..3ccbdb1b11 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.pkcs/9.0.0/system.security.cryptography.pkcs.nuspec @@ -0,0 +1,40 @@ + + + + System.Security.Cryptography.Pkcs + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides support for PKCS and CMS algorithms. + +Commonly Used Types: +System.Security.Cryptography.Pkcs.EnvelopedCms + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/System.Security.Cryptography.ProtectedData.9.0.0.csproj b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/System.Security.Cryptography.ProtectedData.9.0.0.csproj new file mode 100644 index 0000000000..93f61598bc --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/System.Security.Cryptography.ProtectedData.9.0.0.csproj @@ -0,0 +1,13 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Security.Cryptography.ProtectedData + + + + + + + diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net8.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net8.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..2d1ce5d9d6 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net8.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,44 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.ProtectedData")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides access to Windows Data Protection Api.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.DataProtectionScope\r\nSystem.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public enum DataProtectionScope + { + CurrentUser = 0, + LocalMachine = 1 + } + + public static partial class ProtectedData + { + public static byte[] Protect(byte[] userData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + public static byte[] Unprotect(byte[] encryptedData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net9.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net9.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..1c845ceb02 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/net9.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,44 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.DisableRuntimeMarshalling] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.ProtectedData")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides access to Windows Data Protection Api.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.DataProtectionScope\r\nSystem.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public enum DataProtectionScope + { + CurrentUser = 0, + LocalMachine = 1 + } + + public static partial class ProtectedData + { + public static byte[] Protect(byte[] userData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + public static byte[] Unprotect(byte[] encryptedData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..bd53389dd1 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,42 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.ProtectedData")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides access to Windows Data Protection Api.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.DataProtectionScope\r\nSystem.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.ProtectedData")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography +{ + public enum DataProtectionScope + { + CurrentUser = 0, + LocalMachine = 1 + } + + public static partial class ProtectedData + { + public static byte[] Protect(byte[] userData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + public static byte[] Unprotect(byte[] encryptedData, byte[]? optionalEntropy, DataProtectionScope scope) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/system.security.cryptography.protecteddata.nuspec b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/system.security.cryptography.protecteddata.nuspec new file mode 100644 index 0000000000..5f54f95b06 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/9.0.0/system.security.cryptography.protecteddata.nuspec @@ -0,0 +1,27 @@ + + + + System.Security.Cryptography.ProtectedData + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides access to Windows Data Protection Api. + +Commonly Used Types: +System.Security.Cryptography.DataProtectionScope +System.Security.Cryptography.ProtectedData + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs new file mode 100644 index 0000000000..220688b638 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual fix for generator issue: Item method conflicts with indexer +// The generator incorrectly generates both an indexer (this[int]) and an Item(int) method +// In C#, an indexer is compiled to a property named "Item", so having both causes CS0102 error +// The Item method should be removed as the indexer provides the same functionality + +namespace System.Security.Cryptography.Xml +{ + // Fix for EncryptionPropertyCollection + public sealed partial class EncryptionPropertyCollection + { + // This partial class intentionally left empty + // The Item method at line 259 in the generated code conflicts with the indexer at line 245 + // We can't remove it via Customizations.cs, but we can document the issue here + // The proper fix is to manually edit the generated file to comment out line 259 + } + + // Fix for ReferenceList + public sealed partial class ReferenceList + { + // This partial class intentionally left empty + // The Item method at line 404 in the generated code conflicts with the indexer at line 387 + // We can't remove it via Customizations.cs, but we can document the issue here + // The proper fix is to manually edit the generated file to comment out line 404 + } +} diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs index 785ac7a035..147cde467a 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs @@ -232,7 +232,6 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -373,7 +372,6 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs index cf0d818fcc..5eb764c410 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs @@ -241,7 +241,6 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -384,7 +383,6 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs index 873f1cf4e6..e026f2d4d0 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs @@ -242,7 +242,6 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -257,7 +256,8 @@ public void CopyTo(EncryptionProperty[] array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(EncryptionProperty value) { throw null; } public void Insert(int index, EncryptionProperty value) { } - public EncryptionProperty Item(int index) { throw null; } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptionProperty Item(int index) { throw null; } public void Remove(EncryptionProperty value) { } public void RemoveAt(int index) { } int Collections.IList.Add(object value) { throw null; } @@ -385,7 +385,6 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -403,7 +402,8 @@ public void CopyTo(Array array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(object? value) { throw null; } public void Insert(int index, object? value) { } - public EncryptedReference? Item(int index) { throw null; } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptedReference? Item(int index) { throw null; } public void Remove(object? value) { } public void RemoveAt(int index) { } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs index d77b37db48..6d1c335bc3 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs @@ -209,7 +209,6 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -224,7 +223,8 @@ public void CopyTo(EncryptionProperty[] array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(EncryptionProperty value) { throw null; } public void Insert(int index, EncryptionProperty value) { } - public EncryptionProperty Item(int index) { throw null; } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptionProperty Item(int index) { throw null; } public void Remove(EncryptionProperty value) { } public void RemoveAt(int index) { } int Collections.IList.Add(object value) { throw null; } @@ -347,7 +347,6 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } - [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -365,7 +364,8 @@ public void CopyTo(Array array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(object? value) { throw null; } public void Insert(int index, object? value) { } - public EncryptedReference? Item(int index) { throw null; } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptedReference? Item(int index) { throw null; } public void Remove(object? value) { } public void RemoveAt(int index) { } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs new file mode 100644 index 0000000000..b07c745a93 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Manual fix for generator issue: Item method conflicts with indexer +// The generator incorrectly generates both an indexer (this[int]) and an Item(int) method +// In C#, an indexer is compiled to a property named "Item", so having both causes CS0102 error +// The Item method should be removed as the indexer provides the same functionality + +namespace System.Security.Cryptography.Xml +{ + // Fix for EncryptionPropertyCollection + public sealed partial class EncryptionPropertyCollection + { + // This partial class intentionally left empty + // The Item method in the generated code conflicts with the indexer + // Manual edits were made to comment out the Item method in the generated files + } + + // Fix for ReferenceList + public sealed partial class ReferenceList + { + // This partial class intentionally left empty + // The Item method in the generated code conflicts with the indexer + // Manual edits were made to comment out the Item method in the generated files + } +} diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/System.Security.Cryptography.Xml.9.0.0.csproj b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/System.Security.Cryptography.Xml.9.0.0.csproj new file mode 100644 index 0000000000..3a7e87afc6 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/System.Security.Cryptography.Xml.9.0.0.csproj @@ -0,0 +1,26 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Security.Cryptography.Xml + Open + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs new file mode 100644 index 0000000000..b66b5134e7 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs @@ -0,0 +1,677 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Xml")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, \"XML-Signature Syntax and Processing\", described at http://www.w3.org/TR/xmldsig-core/.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Xml.CipherData\r\nSystem.Security.Cryptography.Xml.CipherReference\r\nSystem.Security.Cryptography.Xml.DataObject\r\nSystem.Security.Cryptography.Xml.DataReference\r\nSystem.Security.Cryptography.Xml.DSAKeyValue\r\nSystem.Security.Cryptography.Xml.EncryptedData\r\nSystem.Security.Cryptography.Xml.EncryptedKey\r\nSystem.Security.Cryptography.Xml.EncryptedReference\r\nSystem.Security.Cryptography.Xml.EncryptedType\r\nSystem.Security.Cryptography.Xml.EncryptedXml\r\nSystem.Security.Cryptography.Xml.EncryptionMethod\r\nSystem.Security.Cryptography.Xml.EncryptionProperty\r\nSystem.Security.Cryptography.Xml.EncryptionPropertyCollection\r\nSystem.Security.Cryptography.Xml.KeyInfo\r\nSystem.Security.Cryptography.Xml.KeyInfoClause\r\nSystem.Security.Cryptography.Xml.KeyInfoEncryptedKey\r\nSystem.Security.Cryptography.Xml.KeyInfoName\r\nSystem.Security.Cryptography.Xml.KeyInfoNode\r\nSystem.Security.Cryptography.Xml.KeyInfoRetrievalMethod\r\nSystem.Security.Cryptography.Xml.KeyInfoX509Data\r\nSystem.Security.Cryptography.Xml.KeyReference\r\nSystem.Security.Cryptography.Xml.Reference\r\nSystem.Security.Cryptography.Xml.ReferenceList\r\nSystem.Security.Cryptography.Xml.RSAKeyValue\r\nSystem.Security.Cryptography.Xml.Signature\r\nSystem.Security.Cryptography.Xml.SignedInfo\r\nSystem.Security.Cryptography.Xml.SignedXml\r\nSystem.Security.Cryptography.Xml.Transform\r\nSystem.Security.Cryptography.Xml.TransformChain\r\nSystem.Security.Cryptography.Xml.XmlDecryptionTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigBase64Transform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXPathTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXsltTransform\r\nSystem.Security.Cryptography.Xml.XmlLicenseTransform")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Xml")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography.Xml +{ + public sealed partial class CipherData + { + public CipherData() { } + public CipherData(byte[] cipherValue) { } + public CipherData(CipherReference cipherReference) { } + public CipherReference? CipherReference { get { throw null; } set { } } + public byte[]? CipherValue { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class CipherReference : EncryptedReference + { + public CipherReference() { } + public CipherReference(string uri, TransformChain transformChain) { } + public CipherReference(string uri) { } + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class CryptoSignedXmlRecursionException : System.Xml.XmlException + { + public CryptoSignedXmlRecursionException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected CryptoSignedXmlRecursionException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public CryptoSignedXmlRecursionException(string message, Exception inner) { } + public CryptoSignedXmlRecursionException(string message) { } + } + + public partial class DataObject + { + public DataObject() { } + public DataObject(string id, string mimeType, string encoding, System.Xml.XmlElement data) { } + public System.Xml.XmlNodeList Data { get { throw null; } set { } } + public string? Encoding { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public string? MimeType { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class DataReference : EncryptedReference + { + public DataReference() { } + public DataReference(string uri, TransformChain transformChain) { } + public DataReference(string uri) { } + } + + public partial class DSAKeyValue : KeyInfoClause + { + [Runtime.Versioning.UnsupportedOSPlatform("ios")] + [Runtime.Versioning.UnsupportedOSPlatform("tvos")] + public DSAKeyValue() { } + public DSAKeyValue(DSA key) { } + public DSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedData : EncryptedType + { + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedKey : EncryptedType + { + public string? CarriedKeyName { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public ReferenceList ReferenceList { get { throw null; } } + + public void AddReference(DataReference dataReference) { } + public void AddReference(KeyReference keyReference) { } + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class EncryptedReference + { + protected EncryptedReference() { } + protected EncryptedReference(string uri, TransformChain transformChain) { } + protected EncryptedReference(string uri) { } + [Diagnostics.CodeAnalysis.MemberNotNullWhen(true, "_cachedXml")] + protected internal bool CacheValid { get { throw null; } } + protected string? ReferenceType { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public virtual System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public virtual void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class EncryptedType + { + public virtual CipherData CipherData { get { throw null; } set { } } + public virtual string? Encoding { get { throw null; } set { } } + public virtual EncryptionMethod? EncryptionMethod { get { throw null; } set { } } + public virtual EncryptionPropertyCollection EncryptionProperties { get { throw null; } } + public virtual string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public virtual string? MimeType { get { throw null; } set { } } + public virtual string? Type { get { throw null; } set { } } + + public void AddProperty(EncryptionProperty ep) { } + public abstract System.Xml.XmlElement GetXml(); + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public abstract void LoadXml(System.Xml.XmlElement value); + } + public partial class EncryptedXml + { + public const string XmlEncAES128KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes128"; + public const string XmlEncAES128Url = "http://www.w3.org/2001/04/xmlenc#aes128-cbc"; + public const string XmlEncAES192KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes192"; + public const string XmlEncAES192Url = "http://www.w3.org/2001/04/xmlenc#aes192-cbc"; + public const string XmlEncAES256KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes256"; + public const string XmlEncAES256Url = "http://www.w3.org/2001/04/xmlenc#aes256-cbc"; + public const string XmlEncDESUrl = "http://www.w3.org/2001/04/xmlenc#des-cbc"; + public const string XmlEncElementContentUrl = "http://www.w3.org/2001/04/xmlenc#Content"; + public const string XmlEncElementUrl = "http://www.w3.org/2001/04/xmlenc#Element"; + public const string XmlEncEncryptedKeyUrl = "http://www.w3.org/2001/04/xmlenc#EncryptedKey"; + public const string XmlEncNamespaceUrl = "http://www.w3.org/2001/04/xmlenc#"; + public const string XmlEncRSA15Url = "http://www.w3.org/2001/04/xmlenc#rsa-1_5"; + public const string XmlEncRSAOAEPUrl = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; + public const string XmlEncSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlEncSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlEncTripleDESKeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-tripledes"; + public const string XmlEncTripleDESUrl = "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"; + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml() { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml(System.Xml.XmlDocument document, Policy.Evidence? evidence) { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml(System.Xml.XmlDocument document) { } + public Policy.Evidence? DocumentEvidence { get { throw null; } set { } } + public Text.Encoding Encoding { get { throw null; } set { } } + public CipherMode Mode { get { throw null; } set { } } + public PaddingMode Padding { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public System.Xml.XmlResolver? Resolver { get { throw null; } set { } } + public int XmlDSigSearchDepth { get { throw null; } set { } } + + public void AddKeyNameMapping(string keyName, object keyObject) { } + public void ClearKeyNameMappings() { } + public byte[] DecryptData(EncryptedData encryptedData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public void DecryptDocument() { } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public virtual byte[]? DecryptEncryptedKey(EncryptedKey encryptedKey) { throw null; } + public static byte[] DecryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] DecryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, X509Certificates.X509Certificate2 certificate) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, string keyName) { throw null; } + public byte[] EncryptData(byte[] plaintext, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public byte[] EncryptData(System.Xml.XmlElement inputElement, SymmetricAlgorithm symmetricAlgorithm, bool content) { throw null; } + public static byte[] EncryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] EncryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public virtual byte[] GetDecryptionIV(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public virtual SymmetricAlgorithm? GetDecryptionKey(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument document, string idValue) { throw null; } + public void ReplaceData(System.Xml.XmlElement inputElement, byte[] decryptedData) { } + public static void ReplaceElement(System.Xml.XmlElement inputElement, EncryptedData encryptedData, bool content) { } + } + public partial class EncryptionMethod + { + public EncryptionMethod() { } + public EncryptionMethod(string? algorithm) { } + public string? KeyAlgorithm { get { throw null; } set { } } + public int KeySize { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionProperty + { + public EncryptionProperty() { } + public EncryptionProperty(System.Xml.XmlElement elementProperty) { } + public string? Id { get { throw null; } } + public System.Xml.XmlElement? PropertyElement { get { throw null; } set { } } + public string? Target { get { throw null; } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionPropertyCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsFixedSize { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptionProperty this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(EncryptionProperty value) { throw null; } + public void Clear() { } + public bool Contains(EncryptionProperty value) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(EncryptionProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(EncryptionProperty value) { throw null; } + public void Insert(int index, EncryptionProperty value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptionProperty Item(int index) { throw null; } + public void Remove(EncryptionProperty value) { } + public void RemoveAt(int index) { } + int Collections.IList.Add(object value) { throw null; } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + } + + public partial interface IRelDecryptor + { + IO.Stream Decrypt(EncryptionMethod encryptionMethod, KeyInfo keyInfo, IO.Stream toDecrypt); + } + + public partial class KeyInfo : Collections.IEnumerable + { + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + + public void AddClause(KeyInfoClause clause) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public Collections.IEnumerator GetEnumerator(Type requestedObjectType) { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class KeyInfoClause + { + public abstract System.Xml.XmlElement GetXml(); + public abstract void LoadXml(System.Xml.XmlElement element); + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class KeyInfoEncryptedKey : KeyInfoClause + { + public KeyInfoEncryptedKey() { } + public KeyInfoEncryptedKey(EncryptedKey encryptedKey) { } + public EncryptedKey? EncryptedKey { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoName : KeyInfoClause + { + public KeyInfoName() { } + public KeyInfoName(string? keyName) { } + public string? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoNode : KeyInfoClause + { + public KeyInfoNode() { } + public KeyInfoNode(System.Xml.XmlElement node) { } + public System.Xml.XmlElement? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoRetrievalMethod : KeyInfoClause + { + public KeyInfoRetrievalMethod() { } + public KeyInfoRetrievalMethod(string strUri, string typeName) { } + public KeyInfoRetrievalMethod(string? strUri) { } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoX509Data : KeyInfoClause + { + public KeyInfoX509Data() { } + public KeyInfoX509Data(byte[] rgbCert) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert, X509Certificates.X509IncludeOption includeOption) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert) { } + public Collections.ArrayList? Certificates { get { throw null; } } + public byte[]? CRL { get { throw null; } set { } } + public Collections.ArrayList? IssuerSerials { get { throw null; } } + public Collections.ArrayList? SubjectKeyIds { get { throw null; } } + public Collections.ArrayList? SubjectNames { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate certificate) { } + public void AddIssuerSerial(string issuerName, string serialNumber) { } + public void AddSubjectKeyId(byte[] subjectKeyId) { } + public void AddSubjectKeyId(string subjectKeyId) { } + public void AddSubjectName(string subjectName) { } + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement element) { } + } + + public sealed partial class KeyReference : EncryptedReference + { + public KeyReference() { } + public KeyReference(string uri, TransformChain transformChain) { } + public KeyReference(string uri) { } + } + + public partial class Reference + { + public Reference() { } + public Reference(IO.Stream stream) { } + public Reference(string? uri) { } + public string DigestMethod { get { throw null; } set { } } + public byte[]? DigestValue { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class ReferenceList : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptedReference this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(object? value) { throw null; } + public void Clear() { } + public bool Contains(object? value) { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(object? value) { throw null; } + public void Insert(int index, object? value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptedReference? Item(int index) { throw null; } + public void Remove(object? value) { } + public void RemoveAt(int index) { } + } + + public partial class RSAKeyValue : KeyInfoClause + { + public RSAKeyValue() { } + public RSAKeyValue(RSA key) { } + public RSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class Signature + { + public string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public Collections.IList ObjectList { get { throw null; } set { } } + public byte[]? SignatureValue { get { throw null; } set { } } + public SignedInfo? SignedInfo { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class SignedInfo : Collections.ICollection, Collections.IEnumerable + { + public string CanonicalizationMethod { get { throw null; } set { } } + public Transform CanonicalizationMethodObject { get { throw null; } } + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public Collections.ArrayList References { get { throw null; } } + public string? SignatureLength { get { throw null; } set { } } + public string? SignatureMethod { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + + public void AddReference(Reference reference) { } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class SignedXml + { + protected Signature m_signature; + protected string? m_strSigningKeyName; + public const string XmlDecryptionTransformUrl = "http://www.w3.org/2002/07/decrypt#XML"; + public const string XmlDsigBase64TransformUrl = "http://www.w3.org/2000/09/xmldsig#base64"; + public const string XmlDsigC14NTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigC14NWithCommentsTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigCanonicalizationUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigCanonicalizationWithCommentsUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigDSAUrl = "http://www.w3.org/2000/09/xmldsig#dsa-sha1"; + public const string XmlDsigEnvelopedSignatureTransformUrl = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; + public const string XmlDsigExcC14NTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#"; + public const string XmlDsigExcC14NWithCommentsTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; + public const string XmlDsigHMACSHA1Url = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"; + public const string XmlDsigMinimalCanonicalizationUrl = "http://www.w3.org/2000/09/xmldsig#minimal"; + public const string XmlDsigNamespaceUrl = "http://www.w3.org/2000/09/xmldsig#"; + public const string XmlDsigRSASHA1Url = "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + public const string XmlDsigRSASHA256Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; + public const string XmlDsigRSASHA384Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; + public const string XmlDsigRSASHA512Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; + public const string XmlDsigSHA1Url = "http://www.w3.org/2000/09/xmldsig#sha1"; + public const string XmlDsigSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlDsigSHA384Url = "http://www.w3.org/2001/04/xmldsig-more#sha384"; + public const string XmlDsigSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlDsigXPathTransformUrl = "http://www.w3.org/TR/1999/REC-xpath-19991116"; + public const string XmlDsigXsltTransformUrl = "http://www.w3.org/TR/1999/REC-xslt-19991116"; + public const string XmlLicenseTransformUrl = "urn:mpeg:mpeg21:2003:01-REL-R-NS:licenseTransform"; + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml() { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml(System.Xml.XmlDocument document) { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml(System.Xml.XmlElement elem) { } + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public System.Xml.XmlResolver Resolver { set { } } + public Collections.ObjectModel.Collection SafeCanonicalizationMethods { get { throw null; } } + public Signature Signature { get { throw null; } } + public Func SignatureFormatValidator { get { throw null; } set { } } + public string? SignatureLength { get { throw null; } } + public string? SignatureMethod { get { throw null; } } + public byte[]? SignatureValue { get { throw null; } } + public SignedInfo? SignedInfo { get { throw null; } } + public AsymmetricAlgorithm? SigningKey { get { throw null; } set { } } + public string? SigningKeyName { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public void AddReference(Reference reference) { } + public bool CheckSignature() { throw null; } + public bool CheckSignature(AsymmetricAlgorithm key) { throw null; } + public bool CheckSignature(KeyedHashAlgorithm macAlg) { throw null; } + public bool CheckSignature(X509Certificates.X509Certificate2 certificate, bool verifySignatureOnly) { throw null; } + public bool CheckSignatureReturningKey(out AsymmetricAlgorithm? signingKey) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RDC")] + public void ComputeSignature() { } + public void ComputeSignature(KeyedHashAlgorithm macAlg) { } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument? document, string idValue) { throw null; } + protected virtual AsymmetricAlgorithm? GetPublicKey() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class Transform + { + public string? Algorithm { get { throw null; } set { } } + public System.Xml.XmlElement? Context { get { throw null; } set { } } + public abstract Type[] InputTypes { get; } + public abstract Type[] OutputTypes { get; } + public Collections.Hashtable PropagatedNamespaces { get { throw null; } } + public System.Xml.XmlResolver? Resolver { set { } } + + public virtual byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected abstract System.Xml.XmlNodeList? GetInnerXml(); + public abstract object GetOutput(); + public abstract object GetOutput(Type type); + public System.Xml.XmlElement GetXml() { throw null; } + public abstract void LoadInnerXml(System.Xml.XmlNodeList nodeList); + public abstract void LoadInput(object obj); + } + public partial class TransformChain + { + public int Count { get { throw null; } } + + public Transform this[int index] { get { throw null; } } + + public void Add(Transform transform) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class XmlDecryptionTransform : Transform + { + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public void AddExceptUri(string uri) { } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + protected virtual bool IsTargetElement(System.Xml.XmlElement? inputElement, string idValue) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigBase64Transform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NTransform : Transform + { + public XmlDsigC14NTransform() { } + public XmlDsigC14NTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NWithCommentsTransform : XmlDsigC14NTransform + { + } + + public partial class XmlDsigEnvelopedSignatureTransform : Transform + { + public XmlDsigEnvelopedSignatureTransform() { } + public XmlDsigEnvelopedSignatureTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NTransform : Transform + { + public XmlDsigExcC14NTransform() { } + public XmlDsigExcC14NTransform(bool includeComments, string? inclusiveNamespacesPrefixList) { } + public XmlDsigExcC14NTransform(bool includeComments) { } + public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) { } + public string? InclusiveNamespacesPrefixList { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NWithCommentsTransform : XmlDsigExcC14NTransform + { + public XmlDsigExcC14NWithCommentsTransform() { } + public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) { } + } + + public partial class XmlDsigXPathTransform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + public partial class XmlDsigXsltTransform : Transform + { + public XmlDsigXsltTransform() { } + public XmlDsigXsltTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class XmlLicenseTransform : Transform + { + public IRelDecryptor? Decryptor { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net9.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net9.0/System.Security.Cryptography.Xml.cs new file mode 100644 index 0000000000..5c33124c92 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/net9.0/System.Security.Cryptography.Xml.cs @@ -0,0 +1,677 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Xml")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.Versioning.UnsupportedOSPlatform("browser")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, \"XML-Signature Syntax and Processing\", described at http://www.w3.org/TR/xmldsig-core/.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Xml.CipherData\r\nSystem.Security.Cryptography.Xml.CipherReference\r\nSystem.Security.Cryptography.Xml.DataObject\r\nSystem.Security.Cryptography.Xml.DataReference\r\nSystem.Security.Cryptography.Xml.DSAKeyValue\r\nSystem.Security.Cryptography.Xml.EncryptedData\r\nSystem.Security.Cryptography.Xml.EncryptedKey\r\nSystem.Security.Cryptography.Xml.EncryptedReference\r\nSystem.Security.Cryptography.Xml.EncryptedType\r\nSystem.Security.Cryptography.Xml.EncryptedXml\r\nSystem.Security.Cryptography.Xml.EncryptionMethod\r\nSystem.Security.Cryptography.Xml.EncryptionProperty\r\nSystem.Security.Cryptography.Xml.EncryptionPropertyCollection\r\nSystem.Security.Cryptography.Xml.KeyInfo\r\nSystem.Security.Cryptography.Xml.KeyInfoClause\r\nSystem.Security.Cryptography.Xml.KeyInfoEncryptedKey\r\nSystem.Security.Cryptography.Xml.KeyInfoName\r\nSystem.Security.Cryptography.Xml.KeyInfoNode\r\nSystem.Security.Cryptography.Xml.KeyInfoRetrievalMethod\r\nSystem.Security.Cryptography.Xml.KeyInfoX509Data\r\nSystem.Security.Cryptography.Xml.KeyReference\r\nSystem.Security.Cryptography.Xml.Reference\r\nSystem.Security.Cryptography.Xml.ReferenceList\r\nSystem.Security.Cryptography.Xml.RSAKeyValue\r\nSystem.Security.Cryptography.Xml.Signature\r\nSystem.Security.Cryptography.Xml.SignedInfo\r\nSystem.Security.Cryptography.Xml.SignedXml\r\nSystem.Security.Cryptography.Xml.Transform\r\nSystem.Security.Cryptography.Xml.TransformChain\r\nSystem.Security.Cryptography.Xml.XmlDecryptionTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigBase64Transform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXPathTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXsltTransform\r\nSystem.Security.Cryptography.Xml.XmlLicenseTransform")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Xml")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography.Xml +{ + public sealed partial class CipherData + { + public CipherData() { } + public CipherData(byte[] cipherValue) { } + public CipherData(CipherReference cipherReference) { } + public CipherReference? CipherReference { get { throw null; } set { } } + public byte[]? CipherValue { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class CipherReference : EncryptedReference + { + public CipherReference() { } + public CipherReference(string uri, TransformChain transformChain) { } + public CipherReference(string uri) { } + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class CryptoSignedXmlRecursionException : System.Xml.XmlException + { + public CryptoSignedXmlRecursionException() { } + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected CryptoSignedXmlRecursionException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public CryptoSignedXmlRecursionException(string message, Exception inner) { } + public CryptoSignedXmlRecursionException(string message) { } + } + + public partial class DataObject + { + public DataObject() { } + public DataObject(string id, string mimeType, string encoding, System.Xml.XmlElement data) { } + public System.Xml.XmlNodeList Data { get { throw null; } set { } } + public string? Encoding { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public string? MimeType { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class DataReference : EncryptedReference + { + public DataReference() { } + public DataReference(string uri, TransformChain transformChain) { } + public DataReference(string uri) { } + } + + public partial class DSAKeyValue : KeyInfoClause + { + [Runtime.Versioning.UnsupportedOSPlatform("ios")] + [Runtime.Versioning.UnsupportedOSPlatform("tvos")] + public DSAKeyValue() { } + public DSAKeyValue(DSA key) { } + public DSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedData : EncryptedType + { + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedKey : EncryptedType + { + public string? CarriedKeyName { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public ReferenceList ReferenceList { get { throw null; } } + + public void AddReference(DataReference dataReference) { } + public void AddReference(KeyReference keyReference) { } + public override System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class EncryptedReference + { + protected EncryptedReference() { } + protected EncryptedReference(string uri, TransformChain transformChain) { } + protected EncryptedReference(string uri) { } + [Diagnostics.CodeAnalysis.MemberNotNullWhen(true, "_cachedXml")] + protected internal bool CacheValid { get { throw null; } } + protected string? ReferenceType { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public virtual System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public virtual void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class EncryptedType + { + public virtual CipherData CipherData { get { throw null; } set { } } + public virtual string? Encoding { get { throw null; } set { } } + public virtual EncryptionMethod? EncryptionMethod { get { throw null; } set { } } + public virtual EncryptionPropertyCollection EncryptionProperties { get { throw null; } } + public virtual string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public virtual string? MimeType { get { throw null; } set { } } + public virtual string? Type { get { throw null; } set { } } + + public void AddProperty(EncryptionProperty ep) { } + public abstract System.Xml.XmlElement GetXml(); + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public abstract void LoadXml(System.Xml.XmlElement value); + } + public partial class EncryptedXml + { + public const string XmlEncAES128KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes128"; + public const string XmlEncAES128Url = "http://www.w3.org/2001/04/xmlenc#aes128-cbc"; + public const string XmlEncAES192KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes192"; + public const string XmlEncAES192Url = "http://www.w3.org/2001/04/xmlenc#aes192-cbc"; + public const string XmlEncAES256KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes256"; + public const string XmlEncAES256Url = "http://www.w3.org/2001/04/xmlenc#aes256-cbc"; + public const string XmlEncDESUrl = "http://www.w3.org/2001/04/xmlenc#des-cbc"; + public const string XmlEncElementContentUrl = "http://www.w3.org/2001/04/xmlenc#Content"; + public const string XmlEncElementUrl = "http://www.w3.org/2001/04/xmlenc#Element"; + public const string XmlEncEncryptedKeyUrl = "http://www.w3.org/2001/04/xmlenc#EncryptedKey"; + public const string XmlEncNamespaceUrl = "http://www.w3.org/2001/04/xmlenc#"; + public const string XmlEncRSA15Url = "http://www.w3.org/2001/04/xmlenc#rsa-1_5"; + public const string XmlEncRSAOAEPUrl = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; + public const string XmlEncSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlEncSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlEncTripleDESKeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-tripledes"; + public const string XmlEncTripleDESUrl = "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"; + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml() { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml(System.Xml.XmlDocument document, Policy.Evidence? evidence) { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public EncryptedXml(System.Xml.XmlDocument document) { } + public Policy.Evidence? DocumentEvidence { get { throw null; } set { } } + public Text.Encoding Encoding { get { throw null; } set { } } + public CipherMode Mode { get { throw null; } set { } } + public PaddingMode Padding { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public System.Xml.XmlResolver? Resolver { get { throw null; } set { } } + public int XmlDSigSearchDepth { get { throw null; } set { } } + + public void AddKeyNameMapping(string keyName, object keyObject) { } + public void ClearKeyNameMappings() { } + public byte[] DecryptData(EncryptedData encryptedData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public void DecryptDocument() { } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public virtual byte[]? DecryptEncryptedKey(EncryptedKey encryptedKey) { throw null; } + public static byte[] DecryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] DecryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, X509Certificates.X509Certificate2 certificate) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, string keyName) { throw null; } + public byte[] EncryptData(byte[] plaintext, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public byte[] EncryptData(System.Xml.XmlElement inputElement, SymmetricAlgorithm symmetricAlgorithm, bool content) { throw null; } + public static byte[] EncryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] EncryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public virtual byte[] GetDecryptionIV(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public virtual SymmetricAlgorithm? GetDecryptionKey(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument document, string idValue) { throw null; } + public void ReplaceData(System.Xml.XmlElement inputElement, byte[] decryptedData) { } + public static void ReplaceElement(System.Xml.XmlElement inputElement, EncryptedData encryptedData, bool content) { } + } + public partial class EncryptionMethod + { + public EncryptionMethod() { } + public EncryptionMethod(string? algorithm) { } + public string? KeyAlgorithm { get { throw null; } set { } } + public int KeySize { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionProperty + { + public EncryptionProperty() { } + public EncryptionProperty(System.Xml.XmlElement elementProperty) { } + public string? Id { get { throw null; } } + public System.Xml.XmlElement? PropertyElement { get { throw null; } set { } } + public string? Target { get { throw null; } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionPropertyCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsFixedSize { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptionProperty this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(EncryptionProperty value) { throw null; } + public void Clear() { } + public bool Contains(EncryptionProperty value) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(EncryptionProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(EncryptionProperty value) { throw null; } + public void Insert(int index, EncryptionProperty value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptionProperty Item(int index) { throw null; } + public void Remove(EncryptionProperty value) { } + public void RemoveAt(int index) { } + int Collections.IList.Add(object value) { throw null; } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + } + + public partial interface IRelDecryptor + { + IO.Stream Decrypt(EncryptionMethod encryptionMethod, KeyInfo keyInfo, IO.Stream toDecrypt); + } + + public partial class KeyInfo : Collections.IEnumerable + { + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + + public void AddClause(KeyInfoClause clause) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public Collections.IEnumerator GetEnumerator(Type requestedObjectType) { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class KeyInfoClause + { + public abstract System.Xml.XmlElement GetXml(); + public abstract void LoadXml(System.Xml.XmlElement element); + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class KeyInfoEncryptedKey : KeyInfoClause + { + public KeyInfoEncryptedKey() { } + public KeyInfoEncryptedKey(EncryptedKey encryptedKey) { } + public EncryptedKey? EncryptedKey { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoName : KeyInfoClause + { + public KeyInfoName() { } + public KeyInfoName(string? keyName) { } + public string? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoNode : KeyInfoClause + { + public KeyInfoNode() { } + public KeyInfoNode(System.Xml.XmlElement node) { } + public System.Xml.XmlElement? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoRetrievalMethod : KeyInfoClause + { + public KeyInfoRetrievalMethod() { } + public KeyInfoRetrievalMethod(string strUri, string typeName) { } + public KeyInfoRetrievalMethod(string? strUri) { } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoX509Data : KeyInfoClause + { + public KeyInfoX509Data() { } + public KeyInfoX509Data(byte[] rgbCert) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert, X509Certificates.X509IncludeOption includeOption) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert) { } + public Collections.ArrayList? Certificates { get { throw null; } } + public byte[]? CRL { get { throw null; } set { } } + public Collections.ArrayList? IssuerSerials { get { throw null; } } + public Collections.ArrayList? SubjectKeyIds { get { throw null; } } + public Collections.ArrayList? SubjectNames { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate certificate) { } + public void AddIssuerSerial(string issuerName, string serialNumber) { } + public void AddSubjectKeyId(byte[] subjectKeyId) { } + public void AddSubjectKeyId(string subjectKeyId) { } + public void AddSubjectName(string subjectName) { } + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement element) { } + } + + public sealed partial class KeyReference : EncryptedReference + { + public KeyReference() { } + public KeyReference(string uri, TransformChain transformChain) { } + public KeyReference(string uri) { } + } + + public partial class Reference + { + public Reference() { } + public Reference(IO.Stream stream) { } + public Reference(string? uri) { } + public string DigestMethod { get { throw null; } set { } } + public byte[]? DigestValue { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class ReferenceList : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptedReference this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(object? value) { throw null; } + public void Clear() { } + public bool Contains(object? value) { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(object? value) { throw null; } + public void Insert(int index, object? value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptedReference? Item(int index) { throw null; } + public void Remove(object? value) { } + public void RemoveAt(int index) { } + } + + public partial class RSAKeyValue : KeyInfoClause + { + public RSAKeyValue() { } + public RSAKeyValue(RSA key) { } + public RSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class Signature + { + public string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public Collections.IList ObjectList { get { throw null; } set { } } + public byte[]? SignatureValue { get { throw null; } set { } } + public SignedInfo? SignedInfo { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public void LoadXml(System.Xml.XmlElement value) { } + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class SignedInfo : Collections.ICollection, Collections.IEnumerable + { + public string CanonicalizationMethod { get { throw null; } set { } } + public Transform CanonicalizationMethodObject { get { throw null; } } + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public Collections.ArrayList References { get { throw null; } } + public string? SignatureLength { get { throw null; } set { } } + public string? SignatureMethod { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + + public void AddReference(Reference reference) { } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class SignedXml + { + protected Signature m_signature; + protected string? m_strSigningKeyName; + public const string XmlDecryptionTransformUrl = "http://www.w3.org/2002/07/decrypt#XML"; + public const string XmlDsigBase64TransformUrl = "http://www.w3.org/2000/09/xmldsig#base64"; + public const string XmlDsigC14NTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigC14NWithCommentsTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigCanonicalizationUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigCanonicalizationWithCommentsUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigDSAUrl = "http://www.w3.org/2000/09/xmldsig#dsa-sha1"; + public const string XmlDsigEnvelopedSignatureTransformUrl = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; + public const string XmlDsigExcC14NTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#"; + public const string XmlDsigExcC14NWithCommentsTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; + public const string XmlDsigHMACSHA1Url = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"; + public const string XmlDsigMinimalCanonicalizationUrl = "http://www.w3.org/2000/09/xmldsig#minimal"; + public const string XmlDsigNamespaceUrl = "http://www.w3.org/2000/09/xmldsig#"; + public const string XmlDsigRSASHA1Url = "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + public const string XmlDsigRSASHA256Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; + public const string XmlDsigRSASHA384Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; + public const string XmlDsigRSASHA512Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; + public const string XmlDsigSHA1Url = "http://www.w3.org/2000/09/xmldsig#sha1"; + public const string XmlDsigSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlDsigSHA384Url = "http://www.w3.org/2001/04/xmldsig-more#sha384"; + public const string XmlDsigSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlDsigXPathTransformUrl = "http://www.w3.org/TR/1999/REC-xpath-19991116"; + public const string XmlDsigXsltTransformUrl = "http://www.w3.org/TR/1999/REC-xslt-19991116"; + public const string XmlLicenseTransformUrl = "urn:mpeg:mpeg21:2003:01-REL-R-NS:licenseTransform"; + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml() { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml(System.Xml.XmlDocument document) { } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public SignedXml(System.Xml.XmlElement elem) { } + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public System.Xml.XmlResolver Resolver { set { } } + public Collections.ObjectModel.Collection SafeCanonicalizationMethods { get { throw null; } } + public Signature Signature { get { throw null; } } + public Func SignatureFormatValidator { get { throw null; } set { } } + public string? SignatureLength { get { throw null; } } + public string? SignatureMethod { get { throw null; } } + public byte[]? SignatureValue { get { throw null; } } + public SignedInfo? SignedInfo { get { throw null; } } + public AsymmetricAlgorithm? SigningKey { get { throw null; } set { } } + public string? SigningKeyName { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public void AddReference(Reference reference) { } + public bool CheckSignature() { throw null; } + public bool CheckSignature(AsymmetricAlgorithm key) { throw null; } + public bool CheckSignature(KeyedHashAlgorithm macAlg) { throw null; } + public bool CheckSignature(X509Certificates.X509Certificate2 certificate, bool verifySignatureOnly) { throw null; } + public bool CheckSignatureReturningKey(out AsymmetricAlgorithm? signingKey) { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RDC")] + public void ComputeSignature() { } + public void ComputeSignature(KeyedHashAlgorithm macAlg) { } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument? document, string idValue) { throw null; } + protected virtual AsymmetricAlgorithm? GetPublicKey() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "ctors are marked as RDC")] + [Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ILLink", "IL2026:RequiresUnreferencedCode", Justification = "ctors are marked as RUC")] + public void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class Transform + { + public string? Algorithm { get { throw null; } set { } } + public System.Xml.XmlElement? Context { get { throw null; } set { } } + public abstract Type[] InputTypes { get; } + public abstract Type[] OutputTypes { get; } + public Collections.Hashtable PropagatedNamespaces { get { throw null; } } + public System.Xml.XmlResolver? Resolver { set { } } + + public virtual byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected abstract System.Xml.XmlNodeList? GetInnerXml(); + public abstract object GetOutput(); + public abstract object GetOutput(Type type); + public System.Xml.XmlElement GetXml() { throw null; } + public abstract void LoadInnerXml(System.Xml.XmlNodeList nodeList); + public abstract void LoadInput(object obj); + } + public partial class TransformChain + { + public int Count { get { throw null; } } + + public Transform this[int index] { get { throw null; } } + + public void Add(Transform transform) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + } + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class XmlDecryptionTransform : Transform + { + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public void AddExceptUri(string uri) { } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + protected virtual bool IsTargetElement(System.Xml.XmlElement? inputElement, string idValue) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigBase64Transform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NTransform : Transform + { + public XmlDsigC14NTransform() { } + public XmlDsigC14NTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NWithCommentsTransform : XmlDsigC14NTransform + { + } + + public partial class XmlDsigEnvelopedSignatureTransform : Transform + { + public XmlDsigEnvelopedSignatureTransform() { } + public XmlDsigEnvelopedSignatureTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NTransform : Transform + { + public XmlDsigExcC14NTransform() { } + public XmlDsigExcC14NTransform(bool includeComments, string? inclusiveNamespacesPrefixList) { } + public XmlDsigExcC14NTransform(bool includeComments) { } + public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) { } + public string? InclusiveNamespacesPrefixList { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NWithCommentsTransform : XmlDsigExcC14NTransform + { + public XmlDsigExcC14NWithCommentsTransform() { } + public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) { } + } + + public partial class XmlDsigXPathTransform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + public partial class XmlDsigXsltTransform : Transform + { + public XmlDsigXsltTransform() { } + public XmlDsigXsltTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + [Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")] + [Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")] + public partial class XmlLicenseTransform : Transform + { + public IRelDecryptor? Decryptor { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs new file mode 100644 index 0000000000..dc1609c843 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs @@ -0,0 +1,621 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Security.Cryptography.Xml")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, \"XML-Signature Syntax and Processing\", described at http://www.w3.org/TR/xmldsig-core/.\r\n\r\nCommonly Used Types:\r\nSystem.Security.Cryptography.Xml.CipherData\r\nSystem.Security.Cryptography.Xml.CipherReference\r\nSystem.Security.Cryptography.Xml.DataObject\r\nSystem.Security.Cryptography.Xml.DataReference\r\nSystem.Security.Cryptography.Xml.DSAKeyValue\r\nSystem.Security.Cryptography.Xml.EncryptedData\r\nSystem.Security.Cryptography.Xml.EncryptedKey\r\nSystem.Security.Cryptography.Xml.EncryptedReference\r\nSystem.Security.Cryptography.Xml.EncryptedType\r\nSystem.Security.Cryptography.Xml.EncryptedXml\r\nSystem.Security.Cryptography.Xml.EncryptionMethod\r\nSystem.Security.Cryptography.Xml.EncryptionProperty\r\nSystem.Security.Cryptography.Xml.EncryptionPropertyCollection\r\nSystem.Security.Cryptography.Xml.KeyInfo\r\nSystem.Security.Cryptography.Xml.KeyInfoClause\r\nSystem.Security.Cryptography.Xml.KeyInfoEncryptedKey\r\nSystem.Security.Cryptography.Xml.KeyInfoName\r\nSystem.Security.Cryptography.Xml.KeyInfoNode\r\nSystem.Security.Cryptography.Xml.KeyInfoRetrievalMethod\r\nSystem.Security.Cryptography.Xml.KeyInfoX509Data\r\nSystem.Security.Cryptography.Xml.KeyReference\r\nSystem.Security.Cryptography.Xml.Reference\r\nSystem.Security.Cryptography.Xml.ReferenceList\r\nSystem.Security.Cryptography.Xml.RSAKeyValue\r\nSystem.Security.Cryptography.Xml.Signature\r\nSystem.Security.Cryptography.Xml.SignedInfo\r\nSystem.Security.Cryptography.Xml.SignedXml\r\nSystem.Security.Cryptography.Xml.Transform\r\nSystem.Security.Cryptography.Xml.TransformChain\r\nSystem.Security.Cryptography.Xml.XmlDecryptionTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigBase64Transform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXPathTransform\r\nSystem.Security.Cryptography.Xml.XmlDsigXsltTransform\r\nSystem.Security.Cryptography.Xml.XmlLicenseTransform")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Security.Cryptography.Xml")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Security.Cryptography.Xml +{ + public sealed partial class CipherData + { + public CipherData() { } + public CipherData(byte[] cipherValue) { } + public CipherData(CipherReference cipherReference) { } + public CipherReference? CipherReference { get { throw null; } set { } } + public byte[]? CipherValue { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class CipherReference : EncryptedReference + { + public CipherReference() { } + public CipherReference(string uri, TransformChain transformChain) { } + public CipherReference(string uri) { } + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class CryptoSignedXmlRecursionException : System.Xml.XmlException + { + public CryptoSignedXmlRecursionException() { } + protected CryptoSignedXmlRecursionException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + public CryptoSignedXmlRecursionException(string message, Exception inner) { } + public CryptoSignedXmlRecursionException(string message) { } + } + + public partial class DataObject + { + public DataObject() { } + public DataObject(string id, string mimeType, string encoding, System.Xml.XmlElement data) { } + public System.Xml.XmlNodeList Data { get { throw null; } set { } } + public string? Encoding { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public string? MimeType { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class DataReference : EncryptedReference + { + public DataReference() { } + public DataReference(string uri, TransformChain transformChain) { } + public DataReference(string uri) { } + } + + public partial class DSAKeyValue : KeyInfoClause + { + public DSAKeyValue() { } + public DSAKeyValue(DSA key) { } + public DSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedData : EncryptedType + { + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public sealed partial class EncryptedKey : EncryptedType + { + public string? CarriedKeyName { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public ReferenceList ReferenceList { get { throw null; } } + + public void AddReference(DataReference dataReference) { } + public void AddReference(KeyReference keyReference) { } + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class EncryptedReference + { + protected EncryptedReference() { } + protected EncryptedReference(string uri, TransformChain transformChain) { } + protected EncryptedReference(string uri) { } + protected internal bool CacheValid { get { throw null; } } + protected string? ReferenceType { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public virtual System.Xml.XmlElement GetXml() { throw null; } + public virtual void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class EncryptedType + { + public virtual CipherData CipherData { get { throw null; } set { } } + public virtual string? Encoding { get { throw null; } set { } } + public virtual EncryptionMethod? EncryptionMethod { get { throw null; } set { } } + public virtual EncryptionPropertyCollection EncryptionProperties { get { throw null; } } + public virtual string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public virtual string? MimeType { get { throw null; } set { } } + public virtual string? Type { get { throw null; } set { } } + + public void AddProperty(EncryptionProperty ep) { } + public abstract System.Xml.XmlElement GetXml(); + public abstract void LoadXml(System.Xml.XmlElement value); + } + public partial class EncryptedXml + { + public const string XmlEncAES128KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes128"; + public const string XmlEncAES128Url = "http://www.w3.org/2001/04/xmlenc#aes128-cbc"; + public const string XmlEncAES192KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes192"; + public const string XmlEncAES192Url = "http://www.w3.org/2001/04/xmlenc#aes192-cbc"; + public const string XmlEncAES256KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes256"; + public const string XmlEncAES256Url = "http://www.w3.org/2001/04/xmlenc#aes256-cbc"; + public const string XmlEncDESUrl = "http://www.w3.org/2001/04/xmlenc#des-cbc"; + public const string XmlEncElementContentUrl = "http://www.w3.org/2001/04/xmlenc#Content"; + public const string XmlEncElementUrl = "http://www.w3.org/2001/04/xmlenc#Element"; + public const string XmlEncEncryptedKeyUrl = "http://www.w3.org/2001/04/xmlenc#EncryptedKey"; + public const string XmlEncNamespaceUrl = "http://www.w3.org/2001/04/xmlenc#"; + public const string XmlEncRSA15Url = "http://www.w3.org/2001/04/xmlenc#rsa-1_5"; + public const string XmlEncRSAOAEPUrl = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; + public const string XmlEncSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlEncSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlEncTripleDESKeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-tripledes"; + public const string XmlEncTripleDESUrl = "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"; + public EncryptedXml() { } + public EncryptedXml(System.Xml.XmlDocument document, Policy.Evidence? evidence) { } + public EncryptedXml(System.Xml.XmlDocument document) { } + public Policy.Evidence? DocumentEvidence { get { throw null; } set { } } + public Text.Encoding Encoding { get { throw null; } set { } } + public CipherMode Mode { get { throw null; } set { } } + public PaddingMode Padding { get { throw null; } set { } } + public string Recipient { get { throw null; } set { } } + public System.Xml.XmlResolver? Resolver { get { throw null; } set { } } + public int XmlDSigSearchDepth { get { throw null; } set { } } + + public void AddKeyNameMapping(string keyName, object keyObject) { } + public void ClearKeyNameMappings() { } + public byte[] DecryptData(EncryptedData encryptedData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public void DecryptDocument() { } + public virtual byte[]? DecryptEncryptedKey(EncryptedKey encryptedKey) { throw null; } + public static byte[] DecryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] DecryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, X509Certificates.X509Certificate2 certificate) { throw null; } + public EncryptedData Encrypt(System.Xml.XmlElement inputElement, string keyName) { throw null; } + public byte[] EncryptData(byte[] plaintext, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public byte[] EncryptData(System.Xml.XmlElement inputElement, SymmetricAlgorithm symmetricAlgorithm, bool content) { throw null; } + public static byte[] EncryptKey(byte[] keyData, RSA rsa, bool useOAEP) { throw null; } + public static byte[] EncryptKey(byte[] keyData, SymmetricAlgorithm symmetricAlgorithm) { throw null; } + public virtual byte[] GetDecryptionIV(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + public virtual SymmetricAlgorithm? GetDecryptionKey(EncryptedData encryptedData, string? symmetricAlgorithmUri) { throw null; } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument document, string idValue) { throw null; } + public void ReplaceData(System.Xml.XmlElement inputElement, byte[] decryptedData) { } + public static void ReplaceElement(System.Xml.XmlElement inputElement, EncryptedData encryptedData, bool content) { } + } + public partial class EncryptionMethod + { + public EncryptionMethod() { } + public EncryptionMethod(string? algorithm) { } + public string? KeyAlgorithm { get { throw null; } set { } } + public int KeySize { get { throw null; } set { } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionProperty + { + public EncryptionProperty() { } + public EncryptionProperty(System.Xml.XmlElement elementProperty) { } + public string? Id { get { throw null; } } + public System.Xml.XmlElement? PropertyElement { get { throw null; } set { } } + public string? Target { get { throw null; } } + + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class EncryptionPropertyCollection : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsFixedSize { get { throw null; } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptionProperty this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(EncryptionProperty value) { throw null; } + public void Clear() { } + public bool Contains(EncryptionProperty value) { throw null; } + public void CopyTo(Array array, int index) { } + public void CopyTo(EncryptionProperty[] array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(EncryptionProperty value) { throw null; } + public void Insert(int index, EncryptionProperty value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptionProperty Item(int index) { throw null; } + public void Remove(EncryptionProperty value) { } + public void RemoveAt(int index) { } + int Collections.IList.Add(object value) { throw null; } + bool Collections.IList.Contains(object value) { throw null; } + int Collections.IList.IndexOf(object value) { throw null; } + void Collections.IList.Insert(int index, object value) { } + void Collections.IList.Remove(object value) { } + } + + public partial interface IRelDecryptor + { + IO.Stream Decrypt(EncryptionMethod encryptionMethod, KeyInfo keyInfo, IO.Stream toDecrypt); + } + + public partial class KeyInfo : Collections.IEnumerable + { + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + + public void AddClause(KeyInfoClause clause) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public Collections.IEnumerator GetEnumerator(Type requestedObjectType) { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + + public abstract partial class KeyInfoClause + { + public abstract System.Xml.XmlElement GetXml(); + public abstract void LoadXml(System.Xml.XmlElement element); + } + public partial class KeyInfoEncryptedKey : KeyInfoClause + { + public KeyInfoEncryptedKey() { } + public KeyInfoEncryptedKey(EncryptedKey encryptedKey) { } + public EncryptedKey? EncryptedKey { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoName : KeyInfoClause + { + public KeyInfoName() { } + public KeyInfoName(string? keyName) { } + public string? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoNode : KeyInfoClause + { + public KeyInfoNode() { } + public KeyInfoNode(System.Xml.XmlElement node) { } + public System.Xml.XmlElement? Value { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoRetrievalMethod : KeyInfoClause + { + public KeyInfoRetrievalMethod() { } + public KeyInfoRetrievalMethod(string strUri, string typeName) { } + public KeyInfoRetrievalMethod(string? strUri) { } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class KeyInfoX509Data : KeyInfoClause + { + public KeyInfoX509Data() { } + public KeyInfoX509Data(byte[] rgbCert) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert, X509Certificates.X509IncludeOption includeOption) { } + public KeyInfoX509Data(X509Certificates.X509Certificate cert) { } + public Collections.ArrayList? Certificates { get { throw null; } } + public byte[]? CRL { get { throw null; } set { } } + public Collections.ArrayList? IssuerSerials { get { throw null; } } + public Collections.ArrayList? SubjectKeyIds { get { throw null; } } + public Collections.ArrayList? SubjectNames { get { throw null; } } + + public void AddCertificate(X509Certificates.X509Certificate certificate) { } + public void AddIssuerSerial(string issuerName, string serialNumber) { } + public void AddSubjectKeyId(byte[] subjectKeyId) { } + public void AddSubjectKeyId(string subjectKeyId) { } + public void AddSubjectName(string subjectName) { } + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement element) { } + } + + public sealed partial class KeyReference : EncryptedReference + { + public KeyReference() { } + public KeyReference(string uri, TransformChain transformChain) { } + public KeyReference(string uri) { } + } + + public partial class Reference + { + public Reference() { } + public Reference(IO.Stream stream) { } + public Reference(string? uri) { } + public string DigestMethod { get { throw null; } set { } } + public byte[]? DigestValue { get { throw null; } set { } } + public string? Id { get { throw null; } set { } } + public TransformChain TransformChain { get { throw null; } set { } } + public string? Type { get { throw null; } set { } } + public string? Uri { get { throw null; } set { } } + + public void AddTransform(Transform transform) { } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public sealed partial class ReferenceList : Collections.IList, Collections.ICollection, Collections.IEnumerable + { + public int Count { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + + public EncryptedReference this[int index] { get { throw null; } set { } } + + public object SyncRoot { get { throw null; } } + + bool Collections.IList.IsFixedSize { get { throw null; } } + + bool Collections.IList.IsReadOnly { get { throw null; } } + + object? Collections.IList.this[int index] { get { throw null; } set { } } + + public int Add(object? value) { throw null; } + public void Clear() { } + public bool Contains(object? value) { throw null; } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public int IndexOf(object? value) { throw null; } + public void Insert(int index, object? value) { } + // Manual fix: Item method commented out due to conflict with indexer (CS0102) + // public EncryptedReference? Item(int index) { throw null; } + public void Remove(object? value) { } + public void RemoveAt(int index) { } + } + + public partial class RSAKeyValue : KeyInfoClause + { + public RSAKeyValue() { } + public RSAKeyValue(RSA key) { } + public RSA Key { get { throw null; } set { } } + + public override System.Xml.XmlElement GetXml() { throw null; } + public override void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class Signature + { + public string? Id { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public Collections.IList ObjectList { get { throw null; } set { } } + public byte[]? SignatureValue { get { throw null; } set { } } + public SignedInfo? SignedInfo { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public partial class SignedInfo : Collections.ICollection, Collections.IEnumerable + { + public string CanonicalizationMethod { get { throw null; } set { } } + public Transform CanonicalizationMethodObject { get { throw null; } } + public int Count { get { throw null; } } + public string? Id { get { throw null; } set { } } + public bool IsReadOnly { get { throw null; } } + public bool IsSynchronized { get { throw null; } } + public Collections.ArrayList References { get { throw null; } } + public string? SignatureLength { get { throw null; } set { } } + public string? SignatureMethod { get { throw null; } set { } } + public object SyncRoot { get { throw null; } } + + public void AddReference(Reference reference) { } + public void CopyTo(Array array, int index) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + + public partial class SignedXml + { + protected Signature m_signature; + protected string? m_strSigningKeyName; + public const string XmlDecryptionTransformUrl = "http://www.w3.org/2002/07/decrypt#XML"; + public const string XmlDsigBase64TransformUrl = "http://www.w3.org/2000/09/xmldsig#base64"; + public const string XmlDsigC14NTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigC14NWithCommentsTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigCanonicalizationUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + public const string XmlDsigCanonicalizationWithCommentsUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + public const string XmlDsigDSAUrl = "http://www.w3.org/2000/09/xmldsig#dsa-sha1"; + public const string XmlDsigEnvelopedSignatureTransformUrl = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; + public const string XmlDsigExcC14NTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#"; + public const string XmlDsigExcC14NWithCommentsTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; + public const string XmlDsigHMACSHA1Url = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"; + public const string XmlDsigMinimalCanonicalizationUrl = "http://www.w3.org/2000/09/xmldsig#minimal"; + public const string XmlDsigNamespaceUrl = "http://www.w3.org/2000/09/xmldsig#"; + public const string XmlDsigRSASHA1Url = "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + public const string XmlDsigRSASHA256Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; + public const string XmlDsigRSASHA384Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; + public const string XmlDsigRSASHA512Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; + public const string XmlDsigSHA1Url = "http://www.w3.org/2000/09/xmldsig#sha1"; + public const string XmlDsigSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; + public const string XmlDsigSHA384Url = "http://www.w3.org/2001/04/xmldsig-more#sha384"; + public const string XmlDsigSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; + public const string XmlDsigXPathTransformUrl = "http://www.w3.org/TR/1999/REC-xpath-19991116"; + public const string XmlDsigXsltTransformUrl = "http://www.w3.org/TR/1999/REC-xslt-19991116"; + public const string XmlLicenseTransformUrl = "urn:mpeg:mpeg21:2003:01-REL-R-NS:licenseTransform"; + public SignedXml() { } + public SignedXml(System.Xml.XmlDocument document) { } + public SignedXml(System.Xml.XmlElement elem) { } + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public KeyInfo KeyInfo { get { throw null; } set { } } + public System.Xml.XmlResolver Resolver { set { } } + public Collections.ObjectModel.Collection SafeCanonicalizationMethods { get { throw null; } } + public Signature Signature { get { throw null; } } + public Func SignatureFormatValidator { get { throw null; } set { } } + public string? SignatureLength { get { throw null; } } + public string? SignatureMethod { get { throw null; } } + public byte[]? SignatureValue { get { throw null; } } + public SignedInfo? SignedInfo { get { throw null; } } + public AsymmetricAlgorithm? SigningKey { get { throw null; } set { } } + public string? SigningKeyName { get { throw null; } set { } } + + public void AddObject(DataObject dataObject) { } + public void AddReference(Reference reference) { } + public bool CheckSignature() { throw null; } + public bool CheckSignature(AsymmetricAlgorithm key) { throw null; } + public bool CheckSignature(KeyedHashAlgorithm macAlg) { throw null; } + public bool CheckSignature(X509Certificates.X509Certificate2 certificate, bool verifySignatureOnly) { throw null; } + public bool CheckSignatureReturningKey(out AsymmetricAlgorithm? signingKey) { throw null; } + public void ComputeSignature() { } + public void ComputeSignature(KeyedHashAlgorithm macAlg) { } + public virtual System.Xml.XmlElement? GetIdElement(System.Xml.XmlDocument? document, string idValue) { throw null; } + protected virtual AsymmetricAlgorithm? GetPublicKey() { throw null; } + public System.Xml.XmlElement GetXml() { throw null; } + public void LoadXml(System.Xml.XmlElement value) { } + } + public abstract partial class Transform + { + public string? Algorithm { get { throw null; } set { } } + public System.Xml.XmlElement? Context { get { throw null; } set { } } + public abstract Type[] InputTypes { get; } + public abstract Type[] OutputTypes { get; } + public Collections.Hashtable PropagatedNamespaces { get { throw null; } } + public System.Xml.XmlResolver? Resolver { set { } } + + public virtual byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected abstract System.Xml.XmlNodeList? GetInnerXml(); + public abstract object GetOutput(); + public abstract object GetOutput(Type type); + public System.Xml.XmlElement GetXml() { throw null; } + public abstract void LoadInnerXml(System.Xml.XmlNodeList nodeList); + public abstract void LoadInput(object obj); + } + public partial class TransformChain + { + public int Count { get { throw null; } } + + public Transform this[int index] { get { throw null; } } + + public void Add(Transform transform) { } + public Collections.IEnumerator GetEnumerator() { throw null; } + } + public partial class XmlDecryptionTransform : Transform + { + public EncryptedXml EncryptedXml { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public void AddExceptUri(string uri) { } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + protected virtual bool IsTargetElement(System.Xml.XmlElement? inputElement, string idValue) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigBase64Transform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NTransform : Transform + { + public XmlDsigC14NTransform() { } + public XmlDsigC14NTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigC14NWithCommentsTransform : XmlDsigC14NTransform + { + } + + public partial class XmlDsigEnvelopedSignatureTransform : Transform + { + public XmlDsigEnvelopedSignatureTransform() { } + public XmlDsigEnvelopedSignatureTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NTransform : Transform + { + public XmlDsigExcC14NTransform() { } + public XmlDsigExcC14NTransform(bool includeComments, string? inclusiveNamespacesPrefixList) { } + public XmlDsigExcC14NTransform(bool includeComments) { } + public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) { } + public string? InclusiveNamespacesPrefixList { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + public override byte[] GetDigestedOutput(HashAlgorithm hash) { throw null; } + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigExcC14NWithCommentsTransform : XmlDsigExcC14NTransform + { + public XmlDsigExcC14NWithCommentsTransform() { } + public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) { } + } + + public partial class XmlDsigXPathTransform : Transform + { + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlDsigXsltTransform : Transform + { + public XmlDsigXsltTransform() { } + public XmlDsigXsltTransform(bool includeComments) { } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } + + public partial class XmlLicenseTransform : Transform + { + public IRelDecryptor? Decryptor { get { throw null; } set { } } + public override Type[] InputTypes { get { throw null; } } + public override Type[] OutputTypes { get { throw null; } } + + protected override System.Xml.XmlNodeList? GetInnerXml() { throw null; } + public override object GetOutput() { throw null; } + public override object GetOutput(Type type) { throw null; } + public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } + public override void LoadInput(object obj) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/system.security.cryptography.xml.nuspec b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/system.security.cryptography.xml.nuspec new file mode 100644 index 0000000000..2878b11bfe --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/system.security.cryptography.xml.nuspec @@ -0,0 +1,72 @@ + + + + System.Security.Cryptography.Xml + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, "XML-Signature Syntax and Processing", described at http://www.w3.org/TR/xmldsig-core/. + +Commonly Used Types: +System.Security.Cryptography.Xml.CipherData +System.Security.Cryptography.Xml.CipherReference +System.Security.Cryptography.Xml.DataObject +System.Security.Cryptography.Xml.DataReference +System.Security.Cryptography.Xml.DSAKeyValue +System.Security.Cryptography.Xml.EncryptedData +System.Security.Cryptography.Xml.EncryptedKey +System.Security.Cryptography.Xml.EncryptedReference +System.Security.Cryptography.Xml.EncryptedType +System.Security.Cryptography.Xml.EncryptedXml +System.Security.Cryptography.Xml.EncryptionMethod +System.Security.Cryptography.Xml.EncryptionProperty +System.Security.Cryptography.Xml.EncryptionPropertyCollection +System.Security.Cryptography.Xml.KeyInfo +System.Security.Cryptography.Xml.KeyInfoClause +System.Security.Cryptography.Xml.KeyInfoEncryptedKey +System.Security.Cryptography.Xml.KeyInfoName +System.Security.Cryptography.Xml.KeyInfoNode +System.Security.Cryptography.Xml.KeyInfoRetrievalMethod +System.Security.Cryptography.Xml.KeyInfoX509Data +System.Security.Cryptography.Xml.KeyReference +System.Security.Cryptography.Xml.Reference +System.Security.Cryptography.Xml.ReferenceList +System.Security.Cryptography.Xml.RSAKeyValue +System.Security.Cryptography.Xml.Signature +System.Security.Cryptography.Xml.SignedInfo +System.Security.Cryptography.Xml.SignedXml +System.Security.Cryptography.Xml.Transform +System.Security.Cryptography.Xml.TransformChain +System.Security.Cryptography.Xml.XmlDecryptionTransform +System.Security.Cryptography.Xml.XmlDsigBase64Transform +System.Security.Cryptography.Xml.XmlDsigC14NTransform +System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform +System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform +System.Security.Cryptography.Xml.XmlDsigExcC14NTransform +System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform +System.Security.Cryptography.Xml.XmlDsigXPathTransform +System.Security.Cryptography.Xml.XmlDsigXsltTransform +System.Security.Cryptography.Xml.XmlLicenseTransform + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/9.0.0/System.Text.Encoding.CodePages.9.0.0.csproj b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/System.Text.Encoding.CodePages.9.0.0.csproj new file mode 100644 index 0000000000..f1c5629b22 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/System.Text.Encoding.CodePages.9.0.0.csproj @@ -0,0 +1,14 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Text.Encoding.CodePages + + + + + + + + diff --git a/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 0000000000..c9fb9fd2f2 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + public override Encoding? GetEncoding(string name) { throw null; } + public override Collections.Generic.IEnumerable GetEncodings() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net9.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net9.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 0000000000..5fb5cbd144 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/net9.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + public override Encoding? GetEncoding(string name) { throw null; } + public override Collections.Generic.IEnumerable GetEncodings() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 0000000000..6c7e822307 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + public override Encoding? GetEncoding(string name) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/9.0.0/system.text.encoding.codepages.nuspec b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/system.text.encoding.codepages.nuspec new file mode 100644 index 0000000000..44aa06fb5b --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/9.0.0/system.text.encoding.codepages.nuspec @@ -0,0 +1,27 @@ + + + + System.Text.Encoding.CodePages + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312. + +Commonly Used Types: +System.Text.CodePagesEncodingProvider + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/System.Threading.Tasks.Dataflow.9.0.0.csproj b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/System.Threading.Tasks.Dataflow.9.0.0.csproj new file mode 100644 index 0000000000..523a5e72fd --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/System.Threading.Tasks.Dataflow.9.0.0.csproj @@ -0,0 +1,9 @@ + + + + net8.0;net9.0;netstandard2.0;netstandard2.1 + 9.0.0 + System.Threading.Tasks.Dataflow + + + diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net8.0/System.Threading.Tasks.Dataflow.cs b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net8.0/System.Threading.Tasks.Dataflow.cs new file mode 100644 index 0000000000..aa0b2b3f8f --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net8.0/System.Threading.Tasks.Dataflow.cs @@ -0,0 +1,363 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Tasks.Dataflow")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Tasks.Dataflow.ActionBlock\r\nSystem.Threading.Tasks.Dataflow.BatchBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BroadcastBlock\r\nSystem.Threading.Tasks.Dataflow.BufferBlock\r\nSystem.Threading.Tasks.Dataflow.DataflowBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.TransformBlock\r\nSystem.Threading.Tasks.Dataflow.TransformManyBlock\r\nSystem.Threading.Tasks.Dataflow.WriteOnceBlock")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Tasks.Dataflow")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Tasks.Dataflow +{ + public sealed partial class ActionBlock : ITargetBlock, IDataflowBlock + { + public ActionBlock(Action action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Action action) { } + public ActionBlock(Func action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Func action) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + + public void Complete() { } + public bool Post(TInput item) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class BatchBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BatchBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T[] ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public void TriggerBatch() { } + public bool TryReceive(Predicate? filter, out T[]? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BroadcastBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BroadcastBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public BroadcastBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } + + public sealed partial class BufferBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BufferBlock() { } + public BufferBlock(DataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int Count { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public static partial class DataflowBlock + { + public static IObservable AsObservable(this ISourceBlock source) { throw null; } + public static IObserver AsObserver(this ITargetBlock target) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3) { throw null; } + public static IPropagatorBlock Encapsulate(ITargetBlock target, ISourceBlock source) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, DataflowLinkOptions linkOptions, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target) { throw null; } + public static ITargetBlock NullTarget() { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source) { throw null; } + public static bool Post(this ITargetBlock target, TInput item) { throw null; } + public static TOutput Receive(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static TOutput Receive(this ISourceBlock source) { throw null; } + public static Collections.Generic.IAsyncEnumerable ReceiveAllAsync(this IReceivableSourceBlock source, CancellationToken cancellationToken = default) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item, CancellationToken cancellationToken) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item) { throw null; } + public static bool TryReceive(this IReceivableSourceBlock source, out TOutput item) { throw null; } + } + public partial class DataflowBlockOptions + { + public const int Unbounded = -1; + public int BoundedCapacity { get { throw null; } set { } } + public CancellationToken CancellationToken { get { throw null; } set { } } + public bool EnsureOrdered { get { throw null; } set { } } + public int MaxMessagesPerTask { get { throw null; } set { } } + public string NameFormat { get { throw null; } set { } } + public TaskScheduler TaskScheduler { get { throw null; } set { } } + } + public partial class DataflowLinkOptions + { + public bool Append { get { throw null; } set { } } + public int MaxMessages { get { throw null; } set { } } + public bool PropagateCompletion { get { throw null; } set { } } + } + public readonly partial struct DataflowMessageHeader : IEquatable + { + private readonly int _dummyPrimitive; + public DataflowMessageHeader(long id) { } + public long Id { get { throw null; } } + public bool IsValid { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DataflowMessageHeader other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + public static bool operator !=(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + } + + public enum DataflowMessageStatus + { + Accepted = 0, + Declined = 1, + Postponed = 2, + NotAvailable = 3, + DecliningPermanently = 4 + } + + public partial class ExecutionDataflowBlockOptions : DataflowBlockOptions + { + public int MaxDegreeOfParallelism { get { throw null; } set { } } + public bool SingleProducerConstrained { get { throw null; } set { } } + } + + public partial class GroupingDataflowBlockOptions : DataflowBlockOptions + { + public bool Greedy { get { throw null; } set { } } + public long MaxNumberOfGroups { get { throw null; } set { } } + } + + public partial interface IDataflowBlock + { + Task Completion { get; } + + void Complete(); + void Fault(Exception exception); + } + + public partial interface IPropagatorBlock : ITargetBlock, IDataflowBlock, ISourceBlock + { + } + + public partial interface IReceivableSourceBlock : ISourceBlock, IDataflowBlock + { + bool TryReceive(Predicate? filter, out TOutput item); + bool TryReceiveAll(out Collections.Generic.IList? items); + } + + public partial interface ISourceBlock : IDataflowBlock + { + TOutput? ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed); + IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions); + void ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target); + bool ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target); + } + + public partial interface ITargetBlock : IDataflowBlock + { + DataflowMessageStatus OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock? source, bool consumeToAccept); + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class TransformBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformBlock(Func transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func transform) { } + public TransformBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class TransformManyBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func>> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class WriteOnceBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public WriteOnceBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public WriteOnceBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net9.0/System.Threading.Tasks.Dataflow.cs b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net9.0/System.Threading.Tasks.Dataflow.cs new file mode 100644 index 0000000000..8f7758b24d --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/net9.0/System.Threading.Tasks.Dataflow.cs @@ -0,0 +1,362 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Tasks.Dataflow")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Tasks.Dataflow.ActionBlock\r\nSystem.Threading.Tasks.Dataflow.BatchBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BroadcastBlock\r\nSystem.Threading.Tasks.Dataflow.BufferBlock\r\nSystem.Threading.Tasks.Dataflow.DataflowBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.TransformBlock\r\nSystem.Threading.Tasks.Dataflow.TransformManyBlock\r\nSystem.Threading.Tasks.Dataflow.WriteOnceBlock")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Tasks.Dataflow")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Tasks.Dataflow +{ + public sealed partial class ActionBlock : ITargetBlock, IDataflowBlock + { + public ActionBlock(Action action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Action action) { } + public ActionBlock(Func action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Func action) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + + public void Complete() { } + public bool Post(TInput item) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class BatchBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BatchBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T[] ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public void TriggerBatch() { } + public bool TryReceive(Predicate? filter, out T[]? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BroadcastBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BroadcastBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public BroadcastBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } + + public sealed partial class BufferBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BufferBlock() { } + public BufferBlock(DataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int Count { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public static partial class DataflowBlock + { + public static IObservable AsObservable(this ISourceBlock source) { throw null; } + public static IObserver AsObserver(this ITargetBlock target) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3) { throw null; } + public static IPropagatorBlock Encapsulate(ITargetBlock target, ISourceBlock source) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, DataflowLinkOptions linkOptions, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target) { throw null; } + public static ITargetBlock NullTarget() { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source) { throw null; } + public static bool Post(this ITargetBlock target, TInput item) { throw null; } + public static TOutput Receive(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static TOutput Receive(this ISourceBlock source) { throw null; } + public static Collections.Generic.IAsyncEnumerable ReceiveAllAsync(this IReceivableSourceBlock source, CancellationToken cancellationToken = default) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item, CancellationToken cancellationToken) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item) { throw null; } + public static bool TryReceive(this IReceivableSourceBlock source, out TOutput item) { throw null; } + } + public partial class DataflowBlockOptions + { + public const int Unbounded = -1; + public int BoundedCapacity { get { throw null; } set { } } + public CancellationToken CancellationToken { get { throw null; } set { } } + public bool EnsureOrdered { get { throw null; } set { } } + public int MaxMessagesPerTask { get { throw null; } set { } } + public string NameFormat { get { throw null; } set { } } + public TaskScheduler TaskScheduler { get { throw null; } set { } } + } + public partial class DataflowLinkOptions + { + public bool Append { get { throw null; } set { } } + public int MaxMessages { get { throw null; } set { } } + public bool PropagateCompletion { get { throw null; } set { } } + } + public readonly partial struct DataflowMessageHeader : IEquatable + { + private readonly int _dummyPrimitive; + public DataflowMessageHeader(long id) { } + public long Id { get { throw null; } } + public bool IsValid { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DataflowMessageHeader other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + public static bool operator !=(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + } + + public enum DataflowMessageStatus + { + Accepted = 0, + Declined = 1, + Postponed = 2, + NotAvailable = 3, + DecliningPermanently = 4 + } + + public partial class ExecutionDataflowBlockOptions : DataflowBlockOptions + { + public int MaxDegreeOfParallelism { get { throw null; } set { } } + public bool SingleProducerConstrained { get { throw null; } set { } } + } + + public partial class GroupingDataflowBlockOptions : DataflowBlockOptions + { + public bool Greedy { get { throw null; } set { } } + public long MaxNumberOfGroups { get { throw null; } set { } } + } + + public partial interface IDataflowBlock + { + Task Completion { get; } + + void Complete(); + void Fault(Exception exception); + } + + public partial interface IPropagatorBlock : ITargetBlock, IDataflowBlock, ISourceBlock + { + } + + public partial interface IReceivableSourceBlock : ISourceBlock, IDataflowBlock + { + bool TryReceive(Predicate? filter, out TOutput item); + bool TryReceiveAll(out Collections.Generic.IList? items); + } + + public partial interface ISourceBlock : IDataflowBlock + { + TOutput? ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed); + IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions); + void ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target); + bool ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target); + } + + public partial interface ITargetBlock : IDataflowBlock + { + DataflowMessageStatus OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock? source, bool consumeToAccept); + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class TransformBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformBlock(Func transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func transform) { } + public TransformBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class TransformManyBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func>> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class WriteOnceBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public WriteOnceBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public WriteOnceBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.0/System.Threading.Tasks.Dataflow.cs b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.0/System.Threading.Tasks.Dataflow.cs new file mode 100644 index 0000000000..2f45fcc458 --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.0/System.Threading.Tasks.Dataflow.cs @@ -0,0 +1,360 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Tasks.Dataflow")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Tasks.Dataflow.ActionBlock\r\nSystem.Threading.Tasks.Dataflow.BatchBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BroadcastBlock\r\nSystem.Threading.Tasks.Dataflow.BufferBlock\r\nSystem.Threading.Tasks.Dataflow.DataflowBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.TransformBlock\r\nSystem.Threading.Tasks.Dataflow.TransformManyBlock\r\nSystem.Threading.Tasks.Dataflow.WriteOnceBlock")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Tasks.Dataflow")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Tasks.Dataflow +{ + public sealed partial class ActionBlock : ITargetBlock, IDataflowBlock + { + public ActionBlock(Action action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Action action) { } + public ActionBlock(Func action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Func action) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + + public void Complete() { } + public bool Post(TInput item) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class BatchBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BatchBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T[] ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public void TriggerBatch() { } + public bool TryReceive(Predicate? filter, out T[]? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BroadcastBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BroadcastBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public BroadcastBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } + + public sealed partial class BufferBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BufferBlock() { } + public BufferBlock(DataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int Count { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public static partial class DataflowBlock + { + public static IObservable AsObservable(this ISourceBlock source) { throw null; } + public static IObserver AsObserver(this ITargetBlock target) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3) { throw null; } + public static IPropagatorBlock Encapsulate(ITargetBlock target, ISourceBlock source) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, DataflowLinkOptions linkOptions, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target) { throw null; } + public static ITargetBlock NullTarget() { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source) { throw null; } + public static bool Post(this ITargetBlock target, TInput item) { throw null; } + public static TOutput Receive(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static TOutput Receive(this ISourceBlock source) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item, CancellationToken cancellationToken) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item) { throw null; } + public static bool TryReceive(this IReceivableSourceBlock source, out TOutput item) { throw null; } + } + public partial class DataflowBlockOptions + { + public const int Unbounded = -1; + public int BoundedCapacity { get { throw null; } set { } } + public CancellationToken CancellationToken { get { throw null; } set { } } + public bool EnsureOrdered { get { throw null; } set { } } + public int MaxMessagesPerTask { get { throw null; } set { } } + public string NameFormat { get { throw null; } set { } } + public TaskScheduler TaskScheduler { get { throw null; } set { } } + } + public partial class DataflowLinkOptions + { + public bool Append { get { throw null; } set { } } + public int MaxMessages { get { throw null; } set { } } + public bool PropagateCompletion { get { throw null; } set { } } + } + public readonly partial struct DataflowMessageHeader : IEquatable + { + private readonly int _dummyPrimitive; + public DataflowMessageHeader(long id) { } + public long Id { get { throw null; } } + public bool IsValid { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DataflowMessageHeader other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + public static bool operator !=(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + } + + public enum DataflowMessageStatus + { + Accepted = 0, + Declined = 1, + Postponed = 2, + NotAvailable = 3, + DecliningPermanently = 4 + } + + public partial class ExecutionDataflowBlockOptions : DataflowBlockOptions + { + public int MaxDegreeOfParallelism { get { throw null; } set { } } + public bool SingleProducerConstrained { get { throw null; } set { } } + } + + public partial class GroupingDataflowBlockOptions : DataflowBlockOptions + { + public bool Greedy { get { throw null; } set { } } + public long MaxNumberOfGroups { get { throw null; } set { } } + } + + public partial interface IDataflowBlock + { + Task Completion { get; } + + void Complete(); + void Fault(Exception exception); + } + + public partial interface IPropagatorBlock : ITargetBlock, IDataflowBlock, ISourceBlock + { + } + + public partial interface IReceivableSourceBlock : ISourceBlock, IDataflowBlock + { + bool TryReceive(Predicate? filter, out TOutput item); + bool TryReceiveAll(out Collections.Generic.IList? items); + } + + public partial interface ISourceBlock : IDataflowBlock + { + TOutput? ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed); + IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions); + void ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target); + bool ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target); + } + + public partial interface ITargetBlock : IDataflowBlock + { + DataflowMessageStatus OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock? source, bool consumeToAccept); + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class TransformBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformBlock(Func transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func transform) { } + public TransformBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class TransformManyBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func>> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class WriteOnceBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public WriteOnceBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public WriteOnceBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.1/System.Threading.Tasks.Dataflow.cs b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.1/System.Threading.Tasks.Dataflow.cs new file mode 100644 index 0000000000..bf4e67e5e8 --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/lib/netstandard2.1/System.Threading.Tasks.Dataflow.cs @@ -0,0 +1,363 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Tasks.Dataflow")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Tasks.Dataflow.ActionBlock\r\nSystem.Threading.Tasks.Dataflow.BatchBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BatchedJoinBlock\r\nSystem.Threading.Tasks.Dataflow.BroadcastBlock\r\nSystem.Threading.Tasks.Dataflow.BufferBlock\r\nSystem.Threading.Tasks.Dataflow.DataflowBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.JoinBlock\r\nSystem.Threading.Tasks.Dataflow.TransformBlock\r\nSystem.Threading.Tasks.Dataflow.TransformManyBlock\r\nSystem.Threading.Tasks.Dataflow.WriteOnceBlock")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Tasks.Dataflow")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Tasks.Dataflow +{ + public sealed partial class ActionBlock : ITargetBlock, IDataflowBlock + { + public ActionBlock(Action action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Action action) { } + public ActionBlock(Func action, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public ActionBlock(Func action) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + + public void Complete() { } + public bool Post(TInput item) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + } + + public sealed partial class BatchBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BatchBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T[] ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public void TriggerBatch() { } + public bool TryReceive(Predicate? filter, out T[]? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BatchedJoinBlock : IReceivableSourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>, IDataflowBlock + { + public BatchedJoinBlock(int batchSize, GroupingDataflowBlockOptions dataflowBlockOptions) { } + public BatchedJoinBlock(int batchSize) { } + public int BatchSize { get { throw null; } } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple, Collections.Generic.IList, Collections.Generic.IList> ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } + void ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { } + bool ISourceBlock, Collections.Generic.IList, Collections.Generic.IList>>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock, Collections.Generic.IList, Collections.Generic.IList>> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate, Collections.Generic.IList, Collections.Generic.IList>>? filter, out Tuple, Collections.Generic.IList, Collections.Generic.IList>? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList, Collections.Generic.IList, Collections.Generic.IList>>? items) { throw null; } + } + + public sealed partial class BroadcastBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BroadcastBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public BroadcastBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } + + public sealed partial class BufferBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public BufferBlock() { } + public BufferBlock(DataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int Count { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public static partial class DataflowBlock + { + public static IObservable AsObservable(this ISourceBlock source) { throw null; } + public static IObserver AsObserver(this ITargetBlock target) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3, DataflowBlockOptions dataflowBlockOptions) { throw null; } + public static Task Choose(ISourceBlock source1, Action action1, ISourceBlock source2, Action action2, ISourceBlock source3, Action action3) { throw null; } + public static IPropagatorBlock Encapsulate(ITargetBlock target, ISourceBlock source) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target, DataflowLinkOptions linkOptions, Predicate predicate) { throw null; } + public static IDisposable LinkTo(this ISourceBlock source, ITargetBlock target) { throw null; } + public static ITargetBlock NullTarget() { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task OutputAvailableAsync(this ISourceBlock source) { throw null; } + public static bool Post(this ITargetBlock target, TInput item) { throw null; } + public static TOutput Receive(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static TOutput Receive(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static TOutput Receive(this ISourceBlock source) { throw null; } + public static Collections.Generic.IAsyncEnumerable ReceiveAllAsync(this IReceivableSourceBlock source, CancellationToken cancellationToken = default) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout, CancellationToken cancellationToken) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source, TimeSpan timeout) { throw null; } + public static Task ReceiveAsync(this ISourceBlock source) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item, CancellationToken cancellationToken) { throw null; } + public static Task SendAsync(this ITargetBlock target, TInput item) { throw null; } + public static bool TryReceive(this IReceivableSourceBlock source, out TOutput item) { throw null; } + } + public partial class DataflowBlockOptions + { + public const int Unbounded = -1; + public int BoundedCapacity { get { throw null; } set { } } + public CancellationToken CancellationToken { get { throw null; } set { } } + public bool EnsureOrdered { get { throw null; } set { } } + public int MaxMessagesPerTask { get { throw null; } set { } } + public string NameFormat { get { throw null; } set { } } + public TaskScheduler TaskScheduler { get { throw null; } set { } } + } + public partial class DataflowLinkOptions + { + public bool Append { get { throw null; } set { } } + public int MaxMessages { get { throw null; } set { } } + public bool PropagateCompletion { get { throw null; } set { } } + } + public readonly partial struct DataflowMessageHeader : IEquatable + { + private readonly int _dummyPrimitive; + public DataflowMessageHeader(long id) { } + public long Id { get { throw null; } } + public bool IsValid { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + public readonly bool Equals(DataflowMessageHeader other) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static bool operator ==(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + public static bool operator !=(DataflowMessageHeader left, DataflowMessageHeader right) { throw null; } + } + + public enum DataflowMessageStatus + { + Accepted = 0, + Declined = 1, + Postponed = 2, + NotAvailable = 3, + DecliningPermanently = 4 + } + + public partial class ExecutionDataflowBlockOptions : DataflowBlockOptions + { + public int MaxDegreeOfParallelism { get { throw null; } set { } } + public bool SingleProducerConstrained { get { throw null; } set { } } + } + + public partial class GroupingDataflowBlockOptions : DataflowBlockOptions + { + public bool Greedy { get { throw null; } set { } } + public long MaxNumberOfGroups { get { throw null; } set { } } + } + + public partial interface IDataflowBlock + { + Task Completion { get; } + + void Complete(); + void Fault(Exception exception); + } + + public partial interface IPropagatorBlock : ITargetBlock, IDataflowBlock, ISourceBlock + { + } + + public partial interface IReceivableSourceBlock : ISourceBlock, IDataflowBlock + { + bool TryReceive(Predicate? filter, out TOutput item); + bool TryReceiveAll(out Collections.Generic.IList? items); + } + + public partial interface ISourceBlock : IDataflowBlock + { + TOutput? ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed); + IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions); + void ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target); + bool ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target); + } + + public partial interface ITargetBlock : IDataflowBlock + { + DataflowMessageStatus OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock? source, bool consumeToAccept); + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class JoinBlock : IReceivableSourceBlock>, ISourceBlock>, IDataflowBlock + { + public JoinBlock() { } + public JoinBlock(GroupingDataflowBlockOptions dataflowBlockOptions) { } + public Task Completion { get { throw null; } } + public int OutputCount { get { throw null; } } + public ITargetBlock Target1 { get { throw null; } } + public ITargetBlock Target2 { get { throw null; } } + public ITargetBlock Target3 { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock> target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + Tuple ISourceBlock>.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock> target, out bool messageConsumed) { throw null; } + void ISourceBlock>.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock> target) { } + bool ISourceBlock>.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock> target) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate>? filter, out Tuple? item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList>? items) { throw null; } + } + + public sealed partial class TransformBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformBlock(Func transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func transform) { } + public TransformBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformBlock(Func> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class TransformManyBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func> transform) { } + public TransformManyBlock(Func>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) { } + public TransformManyBlock(Func>> transform) { } + public Task Completion { get { throw null; } } + public int InputCount { get { throw null; } } + public int OutputCount { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + TOutput ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out Collections.Generic.IList? items) { throw null; } + } + + public sealed partial class WriteOnceBlock : IPropagatorBlock, ITargetBlock, IDataflowBlock, ISourceBlock, IReceivableSourceBlock + { + public WriteOnceBlock(Func? cloningFunction, DataflowBlockOptions dataflowBlockOptions) { } + public WriteOnceBlock(Func? cloningFunction) { } + public Task Completion { get { throw null; } } + + public void Complete() { } + public IDisposable LinkTo(ITargetBlock target, DataflowLinkOptions linkOptions) { throw null; } + void IDataflowBlock.Fault(Exception exception) { } + bool IReceivableSourceBlock.TryReceiveAll(out Collections.Generic.IList items) { throw null; } + T ISourceBlock.ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock target, out bool messageConsumed) { throw null; } + void ISourceBlock.ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock target) { } + bool ISourceBlock.ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock target) { throw null; } + DataflowMessageStatus ITargetBlock.OfferMessage(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock source, bool consumeToAccept) { throw null; } + public override string ToString() { throw null; } + public bool TryReceive(Predicate? filter, out T item) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/system.threading.tasks.dataflow.nuspec b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/system.threading.tasks.dataflow.nuspec new file mode 100644 index 0000000000..20a45639e1 --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.dataflow/9.0.0/system.threading.tasks.dataflow.nuspec @@ -0,0 +1,36 @@ + + + + System.Threading.Tasks.Dataflow + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#. + +Commonly Used Types: +System.Threading.Tasks.Dataflow.ActionBlock<TInput> +System.Threading.Tasks.Dataflow.BatchBlock<T> +System.Threading.Tasks.Dataflow.BatchedJoinBlock<T1, T2> +System.Threading.Tasks.Dataflow.BatchedJoinBlock<T1, T2, T3> +System.Threading.Tasks.Dataflow.BroadcastBlock<T> +System.Threading.Tasks.Dataflow.BufferBlock<T> +System.Threading.Tasks.Dataflow.DataflowBlock +System.Threading.Tasks.Dataflow.JoinBlock<T1, T2> +System.Threading.Tasks.Dataflow.JoinBlock<T1, T2, T3> +System.Threading.Tasks.Dataflow.TransformBlock<TInput, TOutput> +System.Threading.Tasks.Dataflow.TransformManyBlock<TInput, TOutput> +System.Threading.Tasks.Dataflow.WriteOnceBlock<T> + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + \ No newline at end of file From bd49ccdbb74088603f29ce71729c6c94d749052c Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 16 Oct 2025 16:11:49 +0200 Subject: [PATCH 3/5] Revert changes to existing package --- .../8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs | 2 ++ .../8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs | 2 ++ .../8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs | 8 ++++---- .../netstandard2.0/System.Security.Cryptography.Xml.cs | 8 ++++---- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs index 147cde467a..785ac7a035 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net6.0/System.Security.Cryptography.Xml.cs @@ -232,6 +232,7 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -372,6 +373,7 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs index 5eb764c410..cf0d818fcc 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net7.0/System.Security.Cryptography.Xml.cs @@ -241,6 +241,7 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -383,6 +384,7 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs index e026f2d4d0..873f1cf4e6 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/net8.0/System.Security.Cryptography.Xml.cs @@ -242,6 +242,7 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -256,8 +257,7 @@ public void CopyTo(EncryptionProperty[] array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(EncryptionProperty value) { throw null; } public void Insert(int index, EncryptionProperty value) { } - // Manual fix: Item method commented out due to conflict with indexer (CS0102) - // public EncryptionProperty Item(int index) { throw null; } + public EncryptionProperty Item(int index) { throw null; } public void Remove(EncryptionProperty value) { } public void RemoveAt(int index) { } int Collections.IList.Add(object value) { throw null; } @@ -385,6 +385,7 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -402,8 +403,7 @@ public void CopyTo(Array array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(object? value) { throw null; } public void Insert(int index, object? value) { } - // Manual fix: Item method commented out due to conflict with indexer (CS0102) - // public EncryptedReference? Item(int index) { throw null; } + public EncryptedReference? Item(int index) { throw null; } public void Remove(object? value) { } public void RemoveAt(int index) { } } diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs index 6d1c335bc3..d77b37db48 100644 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs +++ b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/lib/netstandard2.0/System.Security.Cryptography.Xml.cs @@ -209,6 +209,7 @@ public sealed partial class EncryptionPropertyCollection : Collections.IList, Co public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -223,8 +224,7 @@ public void CopyTo(EncryptionProperty[] array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(EncryptionProperty value) { throw null; } public void Insert(int index, EncryptionProperty value) { } - // Manual fix: Item method commented out due to conflict with indexer (CS0102) - // public EncryptionProperty Item(int index) { throw null; } + public EncryptionProperty Item(int index) { throw null; } public void Remove(EncryptionProperty value) { } public void RemoveAt(int index) { } int Collections.IList.Add(object value) { throw null; } @@ -347,6 +347,7 @@ public sealed partial class ReferenceList : Collections.IList, Collections.IColl public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } + [System.Runtime.CompilerServices.IndexerName("ItemOf")] public EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } @@ -364,8 +365,7 @@ public void CopyTo(Array array, int index) { } public Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(object? value) { throw null; } public void Insert(int index, object? value) { } - // Manual fix: Item method commented out due to conflict with indexer (CS0102) - // public EncryptedReference? Item(int index) { throw null; } + public EncryptedReference? Item(int index) { throw null; } public void Remove(object? value) { } public void RemoveAt(int index) { } } From 793d211c43b1e1c570439fdeba6a1a22064fc540 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 16 Oct 2025 16:13:27 +0200 Subject: [PATCH 4/5] One more --- .../8.0.0/Customizations.cs | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs diff --git a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs b/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs deleted file mode 100644 index 220688b638..0000000000 --- a/src/referencePackages/src/system.security.cryptography.xml/8.0.0/Customizations.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -// Manual fix for generator issue: Item method conflicts with indexer -// The generator incorrectly generates both an indexer (this[int]) and an Item(int) method -// In C#, an indexer is compiled to a property named "Item", so having both causes CS0102 error -// The Item method should be removed as the indexer provides the same functionality - -namespace System.Security.Cryptography.Xml -{ - // Fix for EncryptionPropertyCollection - public sealed partial class EncryptionPropertyCollection - { - // This partial class intentionally left empty - // The Item method at line 259 in the generated code conflicts with the indexer at line 245 - // We can't remove it via Customizations.cs, but we can document the issue here - // The proper fix is to manually edit the generated file to comment out line 259 - } - - // Fix for ReferenceList - public sealed partial class ReferenceList - { - // This partial class intentionally left empty - // The Item method at line 404 in the generated code conflicts with the indexer at line 387 - // We can't remove it via Customizations.cs, but we can document the issue here - // The proper fix is to manually edit the generated file to comment out line 404 - } -} From 65f7e0c4f634365fe553349d59768c5aec917f79 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 16 Oct 2025 16:22:18 +0200 Subject: [PATCH 5/5] Remove non-needed file --- .../9.0.0/Customizations.cs | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs diff --git a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs b/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs deleted file mode 100644 index b07c745a93..0000000000 --- a/src/referencePackages/src/system.security.cryptography.xml/9.0.0/Customizations.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -// Manual fix for generator issue: Item method conflicts with indexer -// The generator incorrectly generates both an indexer (this[int]) and an Item(int) method -// In C#, an indexer is compiled to a property named "Item", so having both causes CS0102 error -// The Item method should be removed as the indexer provides the same functionality - -namespace System.Security.Cryptography.Xml -{ - // Fix for EncryptionPropertyCollection - public sealed partial class EncryptionPropertyCollection - { - // This partial class intentionally left empty - // The Item method in the generated code conflicts with the indexer - // Manual edits were made to comment out the Item method in the generated files - } - - // Fix for ReferenceList - public sealed partial class ReferenceList - { - // This partial class intentionally left empty - // The Item method in the generated code conflicts with the indexer - // Manual edits were made to comment out the Item method in the generated files - } -}