diff --git a/eng/Build.props b/eng/Build.props index 9b97dc10e5..becefbebbe 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -39,6 +39,14 @@ + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.8.3/Microsoft.Build.Framework.17.8.3.csproj b/src/referencePackages/src/microsoft.build.framework/17.8.3/Microsoft.Build.Framework.17.8.3.csproj new file mode 100644 index 0000000000..ea993146c1 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.8.3/Microsoft.Build.Framework.17.8.3.csproj @@ -0,0 +1,15 @@ + + + + net8.0;netstandard2.0 + Microsoft.Build.Framework + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build.framework/17.8.3/microsoft.build.framework.nuspec b/src/referencePackages/src/microsoft.build.framework/17.8.3/microsoft.build.framework.nuspec new file mode 100644 index 0000000000..7591f04497 --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.8.3/microsoft.build.framework.nuspec @@ -0,0 +1,27 @@ + + + + Microsoft.Build.Framework + 17.8.3 + 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.8.3/ref/net8.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.8.3/ref/net8.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..b5559e1c8d --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.8.3/ref/net8.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1311 @@ +// 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.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.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.8.3.51904")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.8.3+195e7f5a3a8e51c37d83cd9e54cb99dc3fc69c22")] +[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 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 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 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 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 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) { } + + 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 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.8.3/ref/netstandard2.0/Microsoft.Build.Framework.cs b/src/referencePackages/src/microsoft.build.framework/17.8.3/ref/netstandard2.0/Microsoft.Build.Framework.cs new file mode 100644 index 0000000000..c56a15fdbd --- /dev/null +++ b/src/referencePackages/src/microsoft.build.framework/17.8.3/ref/netstandard2.0/Microsoft.Build.Framework.cs @@ -0,0 +1,1309 @@ +// 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.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.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.8.3.51904")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.8.3+195e7f5a3a8e51c37d83cd9e54cb99dc3fc69c22")] +[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 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 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 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 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 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) { } + + 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 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/17.8.3/Microsoft.Build.17.8.3.csproj b/src/referencePackages/src/microsoft.build/17.8.3/Microsoft.Build.17.8.3.csproj new file mode 100644 index 0000000000..ffb0c8c6b6 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.8.3/Microsoft.Build.17.8.3.csproj @@ -0,0 +1,19 @@ + + + + net8.0 + Microsoft.Build + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.build/17.8.3/microsoft.build.nuspec b/src/referencePackages/src/microsoft.build/17.8.3/microsoft.build.nuspec new file mode 100644 index 0000000000..6d7e243fa6 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.8.3/microsoft.build.nuspec @@ -0,0 +1,30 @@ + + + + Microsoft.Build + 17.8.3 + 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.8.3/ref/net8.0/Microsoft.Build.cs b/src/referencePackages/src/microsoft.build/17.8.3/ref/net8.0/Microsoft.Build.cs new file mode 100644 index 0000000000..67ee00d959 --- /dev/null +++ b/src/referencePackages/src/microsoft.build/17.8.3/ref/net8.0/Microsoft.Build.cs @@ -0,0 +1,3823 @@ +// 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.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.8.3.51904")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.8.3+195e7f5a3a8e51c37d83cd9e54cb99dc3fc69c22")] +[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 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 + } + } +} + +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 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 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 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.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 error, DesiredAccess desiredAccess, FlagsAndAttributes flagsAndAttributes, string path, string? processArgs, bool isAnAugmentedFileAccess) { } + + public DesiredAccess DesiredAccess { get { throw null; } } + + public uint Error { get { throw null; } } + + public FlagsAndAttributes FlagsAndAttributes { 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 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 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 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 BinaryLogReplayEventSource : EventArgsDispatcher + { + public event System.Action? NotificationsSourceCreated { add { } remove { } } + + public static System.IO.BinaryReader OpenReader(string sourceFilePath) { throw null; } + + public void Replay(System.IO.BinaryReader binaryReader, System.Threading.CancellationToken cancellationToken) { } + + public void Replay(string sourceFilePath, System.Threading.CancellationToken cancellationToken) { } + + public void Replay(string sourceFilePath) { } + } + + public partial class BuildEventArgsReader : IBuildEventArgsReaderNotifications, IBuildEventStringsReader, System.IDisposable + { + public BuildEventArgsReader(System.IO.BinaryReader binaryReader, int fileFormatVersion) { } + + public event System.Action? StringEncountered { 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 : IBuildEventStringsReader + { + } + + public partial interface IBuildEventStringsReader + { + event System.Action? StringEncountered; + 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 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 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.net.stringtools/17.8.3/Microsoft.NET.StringTools.17.8.3.csproj b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/Microsoft.NET.StringTools.17.8.3.csproj new file mode 100644 index 0000000000..d225492c35 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/Microsoft.NET.StringTools.17.8.3.csproj @@ -0,0 +1,13 @@ + + + + net8.0;netstandard2.0 + Microsoft.NET.StringTools + + + + + + + + diff --git a/src/referencePackages/src/microsoft.net.stringtools/17.8.3/microsoft.net.stringtools.nuspec b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/microsoft.net.stringtools.nuspec new file mode 100644 index 0000000000..b26110e470 --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/microsoft.net.stringtools.nuspec @@ -0,0 +1,25 @@ + + + + Microsoft.NET.StringTools + 17.8.3 + 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.8.3/ref/net8.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/ref/net8.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..8e4f11b09b --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/ref/net8.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,81 @@ +// 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.8.3.51904")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.8.3+195e7f5a3a8e51c37d83cd9e54cb99dc3fc69c22")] +[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 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.8.3/ref/netstandard2.0/Microsoft.NET.StringTools.cs b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/ref/netstandard2.0/Microsoft.NET.StringTools.cs new file mode 100644 index 0000000000..faa7d4dfcb --- /dev/null +++ b/src/referencePackages/src/microsoft.net.stringtools/17.8.3/ref/netstandard2.0/Microsoft.NET.StringTools.cs @@ -0,0 +1,81 @@ +// 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.8.3.51904")] +[assembly: System.Reflection.AssemblyInformationalVersion("17.8.3+195e7f5a3a8e51c37d83cd9e54cb99dc3fc69c22")] +[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 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.collections.immutable/7.0.0/lib/net6.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net6.0/System.Collections.Immutable.cs index 1596adc45d..692fa2a90a 100644 --- a/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net6.0/System.Collections.Immutable.cs +++ b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net6.0/System.Collections.Immutable.cs @@ -243,7 +243,7 @@ public readonly void CopyTo(Span destination) { } public override readonly bool Equals(object? obj) { throw null; } - public readonly ImmutableArray.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public override readonly int GetHashCode() { throw null; } @@ -385,10 +385,12 @@ readonly void IList.RemoveAt(int index) { } readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } - public readonly ImmutableArray.Builder ToBuilder() { throw null; } + public readonly Builder ToBuilder() { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Capacity { get { throw null; } set { } } public int Count { get { throw null; } set { } } @@ -407,7 +409,7 @@ public void AddRange(Generic.IEnumerable items) { } public void AddRange(ImmutableArray items, int length) { } - public void AddRange(ImmutableArray.Builder items) { } + public void AddRange(Builder items) { } public void AddRange(ImmutableArray items) { } @@ -561,6 +563,8 @@ public static partial class ImmutableDictionary public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableDictionary() { } + public static readonly ImmutableDictionary Empty; public int Count { get { throw null; } } @@ -610,7 +614,7 @@ public sealed partial class ImmutableDictionary : IImmutableDictio public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableDictionary Remove(TKey key) { throw null; } @@ -662,7 +666,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -674,6 +678,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -720,7 +726,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -802,6 +808,8 @@ public static partial class ImmutableHashSet public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection, Generic.IReadOnlySet { + internal ImmutableHashSet() { } + public static readonly ImmutableHashSet Empty; public int Count { get { throw null; } } @@ -823,7 +831,7 @@ public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IRea public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } @@ -881,7 +889,7 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -891,6 +899,8 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection { + internal Builder() { } + public int Count { get { throw null; } } public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } @@ -905,7 +915,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public void IntersectWith(Generic.IEnumerable other) { } @@ -1040,6 +1050,8 @@ public static partial class ImmutableList public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection { + internal ImmutableList() { } + public static readonly ImmutableList Empty; public int Count { get { throw null; } } @@ -1105,7 +1117,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1207,12 +1219,14 @@ void IList.RemoveAt(int index) { } IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } - public ImmutableList.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TrueForAll(Predicate match) { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } set { } } @@ -1273,7 +1287,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1383,6 +1397,8 @@ public static partial class ImmutableQueue public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable { + internal ImmutableQueue() { } + public static ImmutableQueue Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } @@ -1395,7 +1411,7 @@ public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnu public ImmutableQueue Enqueue(T value) { throw null; } - public ImmutableQueue.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -1461,6 +1477,8 @@ public static partial class ImmutableSortedDictionary public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableSortedDictionary() { } + public static readonly ImmutableSortedDictionary Empty; public int Count { get { throw null; } } @@ -1510,7 +1528,7 @@ public sealed partial class ImmutableSortedDictionary : IImmutable public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableSortedDictionary Remove(TKey value) { throw null; } @@ -1562,7 +1580,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableSortedDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -1576,6 +1594,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -1622,7 +1642,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -1706,6 +1726,8 @@ public static partial class ImmutableSortedSet public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection { + internal ImmutableSortedSet() { } + public static readonly ImmutableSortedSet Empty; public int Count { get { throw null; } } @@ -1741,7 +1763,7 @@ public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IR public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1823,7 +1845,7 @@ void IList.RemoveAt(int index) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -1833,6 +1855,8 @@ void IList.RemoveAt(int index) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } } @@ -1857,7 +1881,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1931,13 +1955,15 @@ public static partial class ImmutableStack public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable { + internal ImmutableStack() { } + public static ImmutableStack Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ImmutableStack Clear() { throw null; } - public ImmutableStack.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } diff --git a/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net7.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net7.0/System.Collections.Immutable.cs index c5b9648a45..f67a648236 100644 --- a/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net7.0/System.Collections.Immutable.cs +++ b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/net7.0/System.Collections.Immutable.cs @@ -243,7 +243,7 @@ public readonly void CopyTo(Span destination) { } public override readonly bool Equals(object? obj) { throw null; } - public readonly ImmutableArray.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public override readonly int GetHashCode() { throw null; } @@ -385,10 +385,12 @@ readonly void IList.RemoveAt(int index) { } readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } - public readonly ImmutableArray.Builder ToBuilder() { throw null; } + public readonly Builder ToBuilder() { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Capacity { get { throw null; } set { } } public int Count { get { throw null; } set { } } @@ -407,7 +409,7 @@ public void AddRange(Generic.IEnumerable items) { } public void AddRange(ImmutableArray items, int length) { } - public void AddRange(ImmutableArray.Builder items) { } + public void AddRange(Builder items) { } public void AddRange(ImmutableArray items) { } @@ -561,6 +563,8 @@ public static partial class ImmutableDictionary public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableDictionary() { } + public static readonly ImmutableDictionary Empty; public int Count { get { throw null; } } @@ -610,7 +614,7 @@ public sealed partial class ImmutableDictionary : IImmutableDictio public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableDictionary Remove(TKey key) { throw null; } @@ -662,7 +666,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -674,6 +678,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -720,7 +726,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -802,6 +808,8 @@ public static partial class ImmutableHashSet public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection, Generic.IReadOnlySet { + internal ImmutableHashSet() { } + public static readonly ImmutableHashSet Empty; public int Count { get { throw null; } } @@ -823,7 +831,7 @@ public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IRea public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } @@ -881,7 +889,7 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -891,6 +899,8 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection { + internal Builder() { } + public int Count { get { throw null; } } public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } @@ -905,7 +915,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public void IntersectWith(Generic.IEnumerable other) { } @@ -1040,6 +1050,8 @@ public static partial class ImmutableList public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection { + internal ImmutableList() { } + public static readonly ImmutableList Empty; public int Count { get { throw null; } } @@ -1105,7 +1117,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1207,12 +1219,14 @@ void IList.RemoveAt(int index) { } IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } - public ImmutableList.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TrueForAll(Predicate match) { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } set { } } @@ -1273,7 +1287,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1383,6 +1397,8 @@ public static partial class ImmutableQueue public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable { + internal ImmutableQueue() { } + public static ImmutableQueue Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } @@ -1395,7 +1411,7 @@ public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnu public ImmutableQueue Enqueue(T value) { throw null; } - public ImmutableQueue.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -1461,6 +1477,8 @@ public static partial class ImmutableSortedDictionary public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableSortedDictionary() { } + public static readonly ImmutableSortedDictionary Empty; public int Count { get { throw null; } } @@ -1510,7 +1528,7 @@ public sealed partial class ImmutableSortedDictionary : IImmutable public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableSortedDictionary Remove(TKey value) { throw null; } @@ -1562,7 +1580,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableSortedDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -1576,6 +1594,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -1622,7 +1642,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -1706,6 +1726,8 @@ public static partial class ImmutableSortedSet public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection { + internal ImmutableSortedSet() { } + public static readonly ImmutableSortedSet Empty; public int Count { get { throw null; } } @@ -1741,7 +1763,7 @@ public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IR public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1823,7 +1845,7 @@ void IList.RemoveAt(int index) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -1833,6 +1855,8 @@ void IList.RemoveAt(int index) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } } @@ -1857,7 +1881,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1931,13 +1955,15 @@ public static partial class ImmutableStack public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable { + internal ImmutableStack() { } + public static ImmutableStack Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ImmutableStack Clear() { throw null; } - public ImmutableStack.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } diff --git a/src/referencePackages/src/system.collections.immutable/7.0.0/lib/netstandard2.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/netstandard2.0/System.Collections.Immutable.cs index 0f8982fdfa..594c093eb6 100644 --- a/src/referencePackages/src/system.collections.immutable/7.0.0/lib/netstandard2.0/System.Collections.Immutable.cs +++ b/src/referencePackages/src/system.collections.immutable/7.0.0/lib/netstandard2.0/System.Collections.Immutable.cs @@ -241,7 +241,7 @@ public readonly void CopyTo(Span destination) { } public override readonly bool Equals(object? obj) { throw null; } - public readonly ImmutableArray.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public override readonly int GetHashCode() { throw null; } @@ -383,10 +383,12 @@ readonly void IList.RemoveAt(int index) { } readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } - public readonly ImmutableArray.Builder ToBuilder() { throw null; } + public readonly Builder ToBuilder() { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Capacity { get { throw null; } set { } } public int Count { get { throw null; } set { } } @@ -405,7 +407,7 @@ public void AddRange(Generic.IEnumerable items) { } public void AddRange(ImmutableArray items, int length) { } - public void AddRange(ImmutableArray.Builder items) { } + public void AddRange(Builder items) { } public void AddRange(ImmutableArray items) { } @@ -559,6 +561,8 @@ public static partial class ImmutableDictionary public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableDictionary() { } + public static readonly ImmutableDictionary Empty; public int Count { get { throw null; } } @@ -608,7 +612,7 @@ public sealed partial class ImmutableDictionary : IImmutableDictio public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableDictionary Remove(TKey key) { throw null; } @@ -660,7 +664,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -672,6 +676,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -718,7 +724,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -800,6 +806,8 @@ public static partial class ImmutableHashSet public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection { + internal ImmutableHashSet() { } + public static readonly ImmutableHashSet Empty; public int Count { get { throw null; } } @@ -821,7 +829,7 @@ public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IRea public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } @@ -879,7 +887,7 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableHashSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -889,6 +897,8 @@ void ICollection.CopyTo(Array array, int arrayIndex) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection { + internal Builder() { } + public int Count { get { throw null; } } public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } @@ -903,7 +913,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableHashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public void IntersectWith(Generic.IEnumerable other) { } @@ -1038,6 +1048,8 @@ public static partial class ImmutableList public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection { + internal ImmutableList() { } + public static readonly ImmutableList Empty; public int Count { get { throw null; } } @@ -1103,7 +1115,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1205,12 +1217,14 @@ void IList.RemoveAt(int index) { } IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } - public ImmutableList.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TrueForAll(Predicate match) { throw null; } public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } set { } } @@ -1271,7 +1285,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public ImmutableList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableList GetRange(int index, int count) { throw null; } @@ -1381,6 +1395,8 @@ public static partial class ImmutableQueue public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable { + internal ImmutableQueue() { } + public static ImmutableQueue Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } @@ -1393,7 +1409,7 @@ public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnu public ImmutableQueue Enqueue(T value) { throw null; } - public ImmutableQueue.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -1459,6 +1475,8 @@ public static partial class ImmutableSortedDictionary public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection { + internal ImmutableSortedDictionary() { } + public static readonly ImmutableSortedDictionary Empty; public int Count { get { throw null; } } @@ -1508,7 +1526,7 @@ public sealed partial class ImmutableSortedDictionary : IImmutable public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public ImmutableSortedDictionary Remove(TKey value) { throw null; } @@ -1560,7 +1578,7 @@ void IDictionary.Remove(object key) { } IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } - public ImmutableSortedDictionary.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } @@ -1574,6 +1592,8 @@ void IDictionary.Remove(object key) { } public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public TValue this[TKey key] { get { throw null; } set { } } @@ -1620,7 +1640,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public ImmutableSortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } @@ -1704,6 +1724,8 @@ public static partial class ImmutableSortedSet public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection { + internal ImmutableSortedSet() { } + public static readonly ImmutableSortedSet Empty; public int Count { get { throw null; } } @@ -1739,7 +1761,7 @@ public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IR public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1821,7 +1843,7 @@ void IList.RemoveAt(int index) { } IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } - public ImmutableSortedSet.Builder ToBuilder() { throw null; } + public Builder ToBuilder() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } @@ -1831,6 +1853,8 @@ void IList.RemoveAt(int index) { } public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection { + internal Builder() { } + public int Count { get { throw null; } } public T this[int index] { get { throw null; } } @@ -1855,7 +1879,7 @@ public void Clear() { } public void ExceptWith(Generic.IEnumerable other) { } - public ImmutableSortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public int IndexOf(T item) { throw null; } @@ -1929,13 +1953,15 @@ public static partial class ImmutableStack public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable { + internal ImmutableStack() { } + public static ImmutableStack Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ImmutableStack Clear() { throw null; } - public ImmutableStack.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } diff --git a/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/System.Configuration.ConfigurationManager.7.0.0.csproj b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/System.Configuration.ConfigurationManager.7.0.0.csproj new file mode 100644 index 0000000000..2be7c269fe --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/System.Configuration.ConfigurationManager.7.0.0.csproj @@ -0,0 +1,25 @@ + + + + net6.0;net7.0;netstandard2.0 + System.Configuration.ConfigurationManager + Open + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net6.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net6.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..7a25544a67 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net6.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,2397 @@ +// 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=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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 configuration files.\r\n\r\nCommonly Used Types:\r\nSystem.Configuration.Configuration\r\nSystem.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyFileVersion("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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 + { + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException() { } + + 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; } } + + 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() { } + + 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; } +#pragma warning disable SYSLIB0003 + public virtual void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady) { throw null; } +#pragma warning restore SYSLIB0003 + 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); +#pragma warning disable SYSLIB0003 + void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady); +#pragma warning restore SYSLIB0003 + 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/7.0.0/lib/net7.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net7.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..37e6083727 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net7.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,2405 @@ +// 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=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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 configuration files.\r\n\r\nCommonly Used Types:\r\nSystem.Configuration.Configuration\r\nSystem.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyFileVersion("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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 + { + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException() { } + + 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; } } + + 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() { } + + 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; } +#pragma warning disable SYSLIB0003 + public virtual void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady) { throw null; } +#pragma warning restore SYSLIB0003 + 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); +#pragma warning disable SYSLIB0003 + void GetRestrictedPermissions(IInternalConfigRecord configRecord, out Security.PermissionSet permissionSet, out bool isHostReady); +#pragma warning restore SYSLIB0003 + 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.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/7.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs new file mode 100644 index 0000000000..df9d0eb021 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.cs @@ -0,0 +1,2393 @@ +// 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(".NETFrameworkAssembly", "")] +[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 configuration files.\r\n\r\nCommonly Used Types:\r\nSystem.Configuration.Configuration\r\nSystem.Configuration.ConfigurationManager")] +[assembly: System.Reflection.AssemblyFileVersion("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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 + { + [Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")] + public ConfigurationException() { } + + 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; } } + + 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; } + } + + 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/7.0.0/system.configuration.configurationmanager.nuspec b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/system.configuration.configurationmanager.nuspec new file mode 100644 index 0000000000..8c03b19c71 --- /dev/null +++ b/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/system.configuration.configurationmanager.nuspec @@ -0,0 +1,35 @@ + + + + System.Configuration.ConfigurationManager + 7.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types that support using configuration files. + +Commonly Used Types: +System.Configuration.Configuration +System.Configuration.ConfigurationManager + 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/7.0.0/System.Diagnostics.EventLog.7.0.0.csproj b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/System.Diagnostics.EventLog.7.0.0.csproj new file mode 100644 index 0000000000..3a9cc12e2d --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/System.Diagnostics.EventLog.7.0.0.csproj @@ -0,0 +1,13 @@ + + + + net6.0;net7.0;netstandard2.0 + System.Diagnostics.EventLog + Open + + + + + + + diff --git a/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/net6.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/net6.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..52ffc83b33 --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/net6.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,878 @@ +// 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=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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) { } + + 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/7.0.0/lib/net7.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/net7.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..1f8a28052e --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/net7.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,879 @@ +// 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=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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) { } + + 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/7.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs new file mode 100644 index 0000000000..ea3176e04f --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/lib/netstandard2.0/System.Diagnostics.EventLog.cs @@ -0,0 +1,875 @@ +// 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(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/system.diagnostics.eventlog.nuspec b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/system.diagnostics.eventlog.nuspec new file mode 100644 index 0000000000..ef4a93a06a --- /dev/null +++ b/src/referencePackages/src/system.diagnostics.eventlog/7.0.0/system.diagnostics.eventlog.nuspec @@ -0,0 +1,26 @@ + + + + System.Diagnostics.EventLog + 7.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.memory/4.5.4/lib/netstandard1.1/System.Memory.cs b/src/referencePackages/src/system.memory/4.5.4/lib/netstandard1.1/System.Memory.cs index 2536434044..85ec3588c5 100644 --- a/src/referencePackages/src/system.memory/4.5.4/lib/netstandard1.1/System.Memory.cs +++ b/src/referencePackages/src/system.memory/4.5.4/lib/netstandard1.1/System.Memory.cs @@ -327,7 +327,7 @@ 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 ReadOnlySpan.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -408,7 +408,7 @@ public readonly void CopyTo(Span destination) { } public readonly void Fill(T value) { } - public readonly Span.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on Span will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -562,7 +562,7 @@ public ReadOnlySequence(ReadOnlyMemory memory) { } public SequencePosition Start { get { throw null; } } - public readonly ReadOnlySequence.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } diff --git a/src/referencePackages/src/system.memory/4.5.4/lib/netstandard2.0/System.Memory.cs b/src/referencePackages/src/system.memory/4.5.4/lib/netstandard2.0/System.Memory.cs index 2536434044..85ec3588c5 100644 --- a/src/referencePackages/src/system.memory/4.5.4/lib/netstandard2.0/System.Memory.cs +++ b/src/referencePackages/src/system.memory/4.5.4/lib/netstandard2.0/System.Memory.cs @@ -327,7 +327,7 @@ 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 ReadOnlySpan.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -408,7 +408,7 @@ public readonly void CopyTo(Span destination) { } public readonly void Fill(T value) { } - public readonly Span.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on Span will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -562,7 +562,7 @@ public ReadOnlySequence(ReadOnlyMemory memory) { } public SequencePosition Start { get { throw null; } } - public readonly ReadOnlySequence.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/System.Reflection.MetadataLoadContext.7.0.0.csproj b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/System.Reflection.MetadataLoadContext.7.0.0.csproj new file mode 100644 index 0000000000..36c3050166 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/System.Reflection.MetadataLoadContext.7.0.0.csproj @@ -0,0 +1,25 @@ + + + + net6.0;net7.0;netstandard2.0 + System.Reflection.MetadataLoadContext + Open + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/net6.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/net6.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..270e474d1e --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/net6.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,64 @@ +// 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=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/lib/net7.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/net7.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..87263707ba --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/net7.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,64 @@ +// 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=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs new file mode 100644 index 0000000000..1b6766b454 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/lib/netstandard2.0/System.Reflection.MetadataLoadContext.cs @@ -0,0 +1,64 @@ +// 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(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/system.reflection.metadataloadcontext.nuspec b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/system.reflection.metadataloadcontext.nuspec new file mode 100644 index 0000000000..7498c122f7 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadataloadcontext/7.0.0/system.reflection.metadataloadcontext.nuspec @@ -0,0 +1,31 @@ + + + + System.Reflection.MetadataLoadContext + 7.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.security.cryptography.protecteddata/7.0.0/System.Security.Cryptography.ProtectedData.7.0.0.csproj b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/System.Security.Cryptography.ProtectedData.7.0.0.csproj new file mode 100644 index 0000000000..466877e254 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/System.Security.Cryptography.ProtectedData.7.0.0.csproj @@ -0,0 +1,8 @@ + + + + net6.0;net7.0;netstandard2.0 + System.Security.Cryptography.ProtectedData + + + diff --git a/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/net6.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/net6.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..f766970e67 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/net6.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,46 @@ +// 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=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/lib/net7.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/net7.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..93c136e862 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/net7.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,46 @@ +// 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=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("NotSupported", "True")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs new file mode 100644 index 0000000000..0b69df26cb --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.cs @@ -0,0 +1,45 @@ +// 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(".NETFrameworkAssembly", "")] +[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("7.0.22.51805")] +[assembly: System.Reflection.AssemblyInformationalVersion("7.0.0+d099f075e45d2aa6007a22b71b45a08758559f80")] +[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("7.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/7.0.0/system.security.cryptography.protecteddata.nuspec b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/system.security.cryptography.protecteddata.nuspec new file mode 100644 index 0000000000..43e1de4d92 --- /dev/null +++ b/src/referencePackages/src/system.security.cryptography.protecteddata/7.0.0/system.security.cryptography.protecteddata.nuspec @@ -0,0 +1,25 @@ + + + + System.Security.Cryptography.ProtectedData + 7.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.permissions/7.0.0/lib/net6.0/System.Security.Permissions.cs b/src/referencePackages/src/system.security.permissions/7.0.0/lib/net6.0/System.Security.Permissions.cs index 137c5fd453..438464b123 100644 --- a/src/referencePackages/src/system.security.permissions/7.0.0/lib/net6.0/System.Security.Permissions.cs +++ b/src/referencePackages/src/system.security.permissions/7.0.0/lib/net6.0/System.Security.Permissions.cs @@ -34,6 +34,7 @@ [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.PermissionState))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAction))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionAttribute))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionFlag))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.PermissionSet))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Policy.Evidence))] @@ -1159,6 +1160,21 @@ public enum EnvironmentPermissionAccess AllAccess = 3 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class EnvironmentPermissionAttribute : CodeAccessSecurityAttribute + { + public EnvironmentPermissionAttribute(SecurityAction action) : base(default) { } + + public string All { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class FileDialogPermission : CodeAccessPermission, IUnrestrictedPermission { @@ -1264,6 +1280,36 @@ public enum FileIOPermissionAccess AllAccess = 15 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class FileIOPermissionAttribute : CodeAccessSecurityAttribute + { + public FileIOPermissionAttribute(SecurityAction action) : base(default) { } + + [Obsolete] + public string All { get { throw null; } set { } } + + public FileIOPermissionAccess AllFiles { get { throw null; } set { } } + + public FileIOPermissionAccess AllLocalFiles { get { throw null; } set { } } + + public string Append { get { throw null; } set { } } + + public string ChangeAccessControl { get { throw null; } set { } } + + public string PathDiscovery { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string ViewAccessControl { get { throw null; } set { } } + + public string ViewAndModify { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class GacIdentityPermission : CodeAccessPermission { @@ -1293,6 +1339,37 @@ public GacIdentityPermissionAttribute(SecurityAction action) : base(default) { } public override IPermission CreatePermission() { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] + public sealed partial class HostProtectionAttribute : CodeAccessSecurityAttribute + { + public HostProtectionAttribute() : base(default) { } + + public HostProtectionAttribute(SecurityAction action) : base(default) { } + + public bool ExternalProcessMgmt { get { throw null; } set { } } + + public bool ExternalThreading { get { throw null; } set { } } + + public bool MayLeakOnAbort { get { throw null; } set { } } + + public HostProtectionResource Resources { get { throw null; } set { } } + + public bool SecurityInfrastructure { get { throw null; } set { } } + + public bool SelfAffectingProcessMgmt { get { throw null; } set { } } + + public bool SelfAffectingThreading { get { throw null; } set { } } + + public bool SharedState { get { throw null; } set { } } + + public bool Synchronization { get { throw null; } set { } } + + public bool UI { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [Flags] public enum HostProtectionResource @@ -1343,6 +1420,15 @@ public IsolatedStorageFilePermission(PermissionState state) : base(default) { } public override IPermission Union(IPermission target) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class IsolatedStorageFilePermissionAttribute : IsolatedStoragePermissionAttribute + { + public IsolatedStorageFilePermissionAttribute(SecurityAction action) : base(default) { } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public abstract partial class IsolatedStoragePermission : CodeAccessPermission, IUnrestrictedPermission { @@ -1584,6 +1670,27 @@ public enum MediaPermissionVideo AllVideo = 3 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class PermissionSetAttribute : CodeAccessSecurityAttribute + { + public PermissionSetAttribute(SecurityAction action) : base(default) { } + + public string File { get { throw null; } set { } } + + public string Hex { get { throw null; } set { } } + + public string Name { get { throw null; } set { } } + + public bool UnicodeEncoded { get { throw null; } set { } } + + public string XML { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + + public PermissionSet CreatePermissionSet() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class PrincipalPermission : IPermission, ISecurityEncodable, IUnrestrictedPermission { @@ -1693,6 +1800,27 @@ public override void FromXml(SecurityElement esd) { } public override IPermission Union(IPermission other) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class ReflectionPermissionAttribute : CodeAccessSecurityAttribute + { + public ReflectionPermissionAttribute(SecurityAction action) : base(default) { } + + public ReflectionPermissionFlag Flags { get { throw null; } set { } } + + public bool MemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")] + public bool ReflectionEmit { get { throw null; } set { } } + + public bool RestrictedMemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")] + public bool TypeInformation { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [Flags] public enum ReflectionPermissionFlag @@ -1967,6 +2095,21 @@ public override void FromXml(SecurityElement e) { } public override IPermission Union(IPermission target) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class StrongNameIdentityPermissionAttribute : CodeAccessSecurityAttribute + { + public StrongNameIdentityPermissionAttribute(SecurityAction action) : base(default) { } + + public string Name { get { throw null; } set { } } + + public string PublicKey { get { throw null; } set { } } + + public string Version { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class StrongNamePublicKeyBlob { diff --git a/src/referencePackages/src/system.security.permissions/7.0.0/lib/net7.0/System.Security.Permissions.cs b/src/referencePackages/src/system.security.permissions/7.0.0/lib/net7.0/System.Security.Permissions.cs index 9da00575b7..9a82ac4cad 100644 --- a/src/referencePackages/src/system.security.permissions/7.0.0/lib/net7.0/System.Security.Permissions.cs +++ b/src/referencePackages/src/system.security.permissions/7.0.0/lib/net7.0/System.Security.Permissions.cs @@ -34,6 +34,7 @@ [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.PermissionState))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAction))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionAttribute))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionFlag))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.PermissionSet))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Policy.Evidence))] @@ -1159,6 +1160,21 @@ public enum EnvironmentPermissionAccess AllAccess = 3 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class EnvironmentPermissionAttribute : CodeAccessSecurityAttribute + { + public EnvironmentPermissionAttribute(SecurityAction action) : base(default) { } + + public string All { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class FileDialogPermission : CodeAccessPermission, IUnrestrictedPermission { @@ -1264,6 +1280,36 @@ public enum FileIOPermissionAccess AllAccess = 15 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class FileIOPermissionAttribute : CodeAccessSecurityAttribute + { + public FileIOPermissionAttribute(SecurityAction action) : base(default) { } + + [Obsolete] + public string All { get { throw null; } set { } } + + public FileIOPermissionAccess AllFiles { get { throw null; } set { } } + + public FileIOPermissionAccess AllLocalFiles { get { throw null; } set { } } + + public string Append { get { throw null; } set { } } + + public string ChangeAccessControl { get { throw null; } set { } } + + public string PathDiscovery { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string ViewAccessControl { get { throw null; } set { } } + + public string ViewAndModify { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class GacIdentityPermission : CodeAccessPermission { @@ -1293,6 +1339,37 @@ public GacIdentityPermissionAttribute(SecurityAction action) : base(default) { } public override IPermission CreatePermission() { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] + public sealed partial class HostProtectionAttribute : CodeAccessSecurityAttribute + { + public HostProtectionAttribute() : base(default) { } + + public HostProtectionAttribute(SecurityAction action) : base(default) { } + + public bool ExternalProcessMgmt { get { throw null; } set { } } + + public bool ExternalThreading { get { throw null; } set { } } + + public bool MayLeakOnAbort { get { throw null; } set { } } + + public HostProtectionResource Resources { get { throw null; } set { } } + + public bool SecurityInfrastructure { get { throw null; } set { } } + + public bool SelfAffectingProcessMgmt { get { throw null; } set { } } + + public bool SelfAffectingThreading { get { throw null; } set { } } + + public bool SharedState { get { throw null; } set { } } + + public bool Synchronization { get { throw null; } set { } } + + public bool UI { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [Flags] public enum HostProtectionResource @@ -1343,6 +1420,15 @@ public IsolatedStorageFilePermission(PermissionState state) : base(default) { } public override IPermission Union(IPermission target) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class IsolatedStorageFilePermissionAttribute : IsolatedStoragePermissionAttribute + { + public IsolatedStorageFilePermissionAttribute(SecurityAction action) : base(default) { } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public abstract partial class IsolatedStoragePermission : CodeAccessPermission, IUnrestrictedPermission { @@ -1584,6 +1670,27 @@ public enum MediaPermissionVideo AllVideo = 3 } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class PermissionSetAttribute : CodeAccessSecurityAttribute + { + public PermissionSetAttribute(SecurityAction action) : base(default) { } + + public string File { get { throw null; } set { } } + + public string Hex { get { throw null; } set { } } + + public string Name { get { throw null; } set { } } + + public bool UnicodeEncoded { get { throw null; } set { } } + + public string XML { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + + public PermissionSet CreatePermissionSet() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class PrincipalPermission : IPermission, ISecurityEncodable, IUnrestrictedPermission { @@ -1693,6 +1800,27 @@ public override void FromXml(SecurityElement esd) { } public override IPermission Union(IPermission other) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class ReflectionPermissionAttribute : CodeAccessSecurityAttribute + { + public ReflectionPermissionAttribute(SecurityAction action) : base(default) { } + + public ReflectionPermissionFlag Flags { get { throw null; } set { } } + + public bool MemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")] + public bool ReflectionEmit { get { throw null; } set { } } + + public bool RestrictedMemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")] + public bool TypeInformation { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [Flags] public enum ReflectionPermissionFlag @@ -1967,6 +2095,21 @@ public override void FromXml(SecurityElement e) { } public override IPermission Union(IPermission target) { throw null; } } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class StrongNameIdentityPermissionAttribute : CodeAccessSecurityAttribute + { + public StrongNameIdentityPermissionAttribute(SecurityAction action) : base(default) { } + + public string Name { get { throw null; } set { } } + + public string PublicKey { get { throw null; } set { } } + + public string Version { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public sealed partial class StrongNamePublicKeyBlob { diff --git a/src/referencePackages/src/system.security.permissions/7.0.0/lib/netstandard2.0/System.Security.Permissions.cs b/src/referencePackages/src/system.security.permissions/7.0.0/lib/netstandard2.0/System.Security.Permissions.cs index 7477aafe0c..9a907c97c3 100644 --- a/src/referencePackages/src/system.security.permissions/7.0.0/lib/netstandard2.0/System.Security.Permissions.cs +++ b/src/referencePackages/src/system.security.permissions/7.0.0/lib/netstandard2.0/System.Security.Permissions.cs @@ -32,6 +32,7 @@ [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.CodeAccessSecurityAttribute))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAction))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionAttribute))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionFlag))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Policy.Evidence))] [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Policy.EvidenceBase))] @@ -1199,6 +1200,20 @@ public enum EnvironmentPermissionAccess AllAccess = 3 } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class EnvironmentPermissionAttribute : CodeAccessSecurityAttribute + { + public EnvironmentPermissionAttribute(SecurityAction action) : base(default) { } + + public string All { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + public sealed partial class FileDialogPermission : CodeAccessPermission, IUnrestrictedPermission { public FileDialogPermission(FileDialogPermissionAccess access) { } @@ -1299,6 +1314,35 @@ public enum FileIOPermissionAccess AllAccess = 15 } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class FileIOPermissionAttribute : CodeAccessSecurityAttribute + { + public FileIOPermissionAttribute(SecurityAction action) : base(default) { } + + [Obsolete] + public string All { get { throw null; } set { } } + + public FileIOPermissionAccess AllFiles { get { throw null; } set { } } + + public FileIOPermissionAccess AllLocalFiles { get { throw null; } set { } } + + public string Append { get { throw null; } set { } } + + public string ChangeAccessControl { get { throw null; } set { } } + + public string PathDiscovery { get { throw null; } set { } } + + public string Read { get { throw null; } set { } } + + public string ViewAccessControl { get { throw null; } set { } } + + public string ViewAndModify { get { throw null; } set { } } + + public string Write { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + public sealed partial class GacIdentityPermission : CodeAccessPermission { public GacIdentityPermission() { } @@ -1326,6 +1370,36 @@ public GacIdentityPermissionAttribute(SecurityAction action) : base(default) { } public override IPermission CreatePermission() { throw null; } } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] + public sealed partial class HostProtectionAttribute : CodeAccessSecurityAttribute + { + public HostProtectionAttribute() : base(default) { } + + public HostProtectionAttribute(SecurityAction action) : base(default) { } + + public bool ExternalProcessMgmt { get { throw null; } set { } } + + public bool ExternalThreading { get { throw null; } set { } } + + public bool MayLeakOnAbort { get { throw null; } set { } } + + public HostProtectionResource Resources { get { throw null; } set { } } + + public bool SecurityInfrastructure { get { throw null; } set { } } + + public bool SelfAffectingProcessMgmt { get { throw null; } set { } } + + public bool SelfAffectingThreading { get { throw null; } set { } } + + public bool SharedState { get { throw null; } set { } } + + public bool Synchronization { get { throw null; } set { } } + + public bool UI { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Flags] public enum HostProtectionResource { @@ -1373,6 +1447,14 @@ public IsolatedStorageFilePermission(PermissionState state) : base(default) { } public override IPermission Union(IPermission target) { throw null; } } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class IsolatedStorageFilePermissionAttribute : IsolatedStoragePermissionAttribute + { + public IsolatedStorageFilePermissionAttribute(SecurityAction action) : base(default) { } + + public override IPermission CreatePermission() { throw null; } + } + public abstract partial class IsolatedStoragePermission : CodeAccessPermission, IUnrestrictedPermission { protected IsolatedStoragePermission(PermissionState state) { } @@ -1600,6 +1682,26 @@ public enum MediaPermissionVideo AllVideo = 3 } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class PermissionSetAttribute : CodeAccessSecurityAttribute + { + public PermissionSetAttribute(SecurityAction action) : base(default) { } + + public string File { get { throw null; } set { } } + + public string Hex { get { throw null; } set { } } + + public string Name { get { throw null; } set { } } + + public bool UnicodeEncoded { get { throw null; } set { } } + + public string XML { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + + public PermissionSet CreatePermissionSet() { throw null; } + } + public enum PermissionState { None = 0, @@ -1709,6 +1811,26 @@ public override void FromXml(SecurityElement esd) { } public override IPermission Union(IPermission other) { throw null; } } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class ReflectionPermissionAttribute : CodeAccessSecurityAttribute + { + public ReflectionPermissionAttribute(SecurityAction action) : base(default) { } + + public ReflectionPermissionFlag Flags { get { throw null; } set { } } + + public bool MemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")] + public bool ReflectionEmit { get { throw null; } set { } } + + public bool RestrictedMemberAccess { get { throw null; } set { } } + + [Obsolete("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")] + public bool TypeInformation { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + [Flags] public enum ReflectionPermissionFlag { @@ -1970,6 +2092,20 @@ public override void FromXml(SecurityElement e) { } public override IPermission Union(IPermission target) { throw null; } } + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)] + public sealed partial class StrongNameIdentityPermissionAttribute : CodeAccessSecurityAttribute + { + public StrongNameIdentityPermissionAttribute(SecurityAction action) : base(default) { } + + public string Name { get { throw null; } set { } } + + public string PublicKey { get { throw null; } set { } } + + public string Version { get { throw null; } set { } } + + public override IPermission CreatePermission() { throw null; } + } + public sealed partial class StrongNamePublicKeyBlob { public StrongNamePublicKeyBlob(byte[] publicKey) { }