From 9958e1ddf95c820caf386c5524c32b63bb1749be Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Mon, 27 Feb 2023 08:07:56 -0600 Subject: [PATCH 01/11] Add Microsoft.Extensions.ObjectPool 6.0.0 (#546) * Add Microsoft.Extensions.ObjectPool 6.0.0 * Define DependencyPackageProjects item --- eng/Build.props | 1 + ...crosoft.Extensions.ObjectPool.6.0.0.csproj | 36 ++++++ .../Microsoft.Extensions.ObjectPool.nuspec | 24 ++++ .../net461/Microsoft.Extensions.ObjectPool.cs | 104 ++++++++++++++++++ .../Microsoft.Extensions.ObjectPool.cs | 104 ++++++++++++++++++ .../Directory.Build.props | 9 ++ 6 files changed, 278 insertions(+) create mode 100644 src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.6.0.0.csproj create mode 100644 src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.nuspec create mode 100644 src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/net461/Microsoft.Extensions.ObjectPool.cs create mode 100644 src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/netstandard2.0/Microsoft.Extensions.ObjectPool.cs create mode 100644 src/referencePackages/src/microsoft.extensions.objectpool/Directory.Build.props diff --git a/eng/Build.props b/eng/Build.props index 6d9cf2fb31..adbab9453e 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -18,6 +18,7 @@ --> + diff --git a/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.6.0.0.csproj b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.6.0.0.csproj new file mode 100644 index 0000000000..1e5aa4f589 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.6.0.0.csproj @@ -0,0 +1,36 @@ + + + + + netstandard2.0;net461 + $(ArtifactsBinDir)microsoft.extensions.objectpool/6.0.0/microsoft.extensions.objectpool.nuspec + MicrosoftAspNetCore + + + + $(ArtifactsBinDir)microsoft.extensions.objectpool/6.0.0/ref/ + $(ArtifactsObjDir)microsoft.extensions.objectpool/6.0.0 + + + + $(ArtifactsBinDir)microsoft.extensions.objectpool/6.0.0/lib/ + + + + $(ArtifactsBinDir)microsoft.extensions.objectpool/6.0.0/lib/ + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.nuspec b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.nuspec new file mode 100644 index 0000000000..d08c928436 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/Microsoft.Extensions.ObjectPool.nuspec @@ -0,0 +1,24 @@ + + + + Microsoft.Extensions.ObjectPool + 6.0.0 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://asp.net/ + A simple object pool implementation. + +This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ae1a6cbe225b99c0bf38b7e31bf60cb653b73a52 + © Microsoft Corporation. All rights reserved. + pooling + true + + + + + + + + diff --git a/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/net461/Microsoft.Extensions.ObjectPool.cs b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/net461/Microsoft.Extensions.ObjectPool.cs new file mode 100644 index 0000000000..c2330f706f --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/net461/Microsoft.Extensions.ObjectPool.cs @@ -0,0 +1,104 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyDescription("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyDefaultAlias("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("6.0.21.52608")] +[assembly: AssemblyInformationalVersion("6.0.21.52608 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("6.0.0.0")] + + + + +namespace Microsoft.Extensions.ObjectPool +{ + public partial class DefaultObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider + { + public DefaultObjectPoolProvider() { } + public int MaximumRetained { get { throw null; } set { } } + public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { throw null; } + } + public partial class DefaultObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class + { + public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { } + public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy, int maximumRetained) { } + public override T Get() { throw null; } + public override void Return(T obj) { } + } + public partial class DefaultPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy where T : class, new() + { + public DefaultPooledObjectPolicy() { } + public override T Create() { throw null; } + public override bool Return(T obj) { throw null; } + } + public partial interface IPooledObjectPolicy where T : notnull + { + T Create(); + bool Return(T obj); + } + public partial class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider + { + public LeakTrackingObjectPoolProvider(Microsoft.Extensions.ObjectPool.ObjectPoolProvider inner) { } + public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { throw null; } + } + public partial class LeakTrackingObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class + { + public LeakTrackingObjectPool(Microsoft.Extensions.ObjectPool.ObjectPool inner) { } + public override T Get() { throw null; } + public override void Return(T obj) { } + } + public static partial class ObjectPool + { + public static Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy? policy = null) where T : class, new() { throw null; } + } + public abstract partial class ObjectPoolProvider + { + protected ObjectPoolProvider() { } + public Microsoft.Extensions.ObjectPool.ObjectPool Create() where T : class, new() { throw null; } + public abstract Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class; + } + public static partial class ObjectPoolProviderExtensions + { + public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider) { throw null; } + public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider, int initialCapacity, int maximumRetainedCapacity) { throw null; } + } + public abstract partial class ObjectPool where T : class + { + protected ObjectPool() { } + public abstract T Get(); + public abstract void Return(T obj); + } + public abstract partial class PooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy where T : notnull + { + protected PooledObjectPolicy() { } + public abstract T Create(); + public abstract bool Return(T obj); + } + public partial class StringBuilderPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy + { + public StringBuilderPooledObjectPolicy() { } + public int InitialCapacity { get { throw null; } set { } } + public int MaximumRetainedCapacity { get { throw null; } set { } } + public override System.Text.StringBuilder Create() { throw null; } + public override bool Return(System.Text.StringBuilder obj) { throw null; } + } +} diff --git a/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/netstandard2.0/Microsoft.Extensions.ObjectPool.cs b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/netstandard2.0/Microsoft.Extensions.ObjectPool.cs new file mode 100644 index 0000000000..c2330f706f --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.objectpool/6.0.0/lib/netstandard2.0/Microsoft.Extensions.ObjectPool.cs @@ -0,0 +1,104 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyDescription("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyDefaultAlias("Microsoft.Extensions.ObjectPool")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("6.0.21.52608")] +[assembly: AssemblyInformationalVersion("6.0.21.52608 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("6.0.0.0")] + + + + +namespace Microsoft.Extensions.ObjectPool +{ + public partial class DefaultObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider + { + public DefaultObjectPoolProvider() { } + public int MaximumRetained { get { throw null; } set { } } + public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { throw null; } + } + public partial class DefaultObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class + { + public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { } + public DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy, int maximumRetained) { } + public override T Get() { throw null; } + public override void Return(T obj) { } + } + public partial class DefaultPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy where T : class, new() + { + public DefaultPooledObjectPolicy() { } + public override T Create() { throw null; } + public override bool Return(T obj) { throw null; } + } + public partial interface IPooledObjectPolicy where T : notnull + { + T Create(); + bool Return(T obj); + } + public partial class LeakTrackingObjectPoolProvider : Microsoft.Extensions.ObjectPool.ObjectPoolProvider + { + public LeakTrackingObjectPoolProvider(Microsoft.Extensions.ObjectPool.ObjectPoolProvider inner) { } + public override Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) { throw null; } + } + public partial class LeakTrackingObjectPool : Microsoft.Extensions.ObjectPool.ObjectPool where T : class + { + public LeakTrackingObjectPool(Microsoft.Extensions.ObjectPool.ObjectPool inner) { } + public override T Get() { throw null; } + public override void Return(T obj) { } + } + public static partial class ObjectPool + { + public static Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy? policy = null) where T : class, new() { throw null; } + } + public abstract partial class ObjectPoolProvider + { + protected ObjectPoolProvider() { } + public Microsoft.Extensions.ObjectPool.ObjectPool Create() where T : class, new() { throw null; } + public abstract Microsoft.Extensions.ObjectPool.ObjectPool Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy policy) where T : class; + } + public static partial class ObjectPoolProviderExtensions + { + public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider) { throw null; } + public static Microsoft.Extensions.ObjectPool.ObjectPool CreateStringBuilderPool(this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider, int initialCapacity, int maximumRetainedCapacity) { throw null; } + } + public abstract partial class ObjectPool where T : class + { + protected ObjectPool() { } + public abstract T Get(); + public abstract void Return(T obj); + } + public abstract partial class PooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy where T : notnull + { + protected PooledObjectPolicy() { } + public abstract T Create(); + public abstract bool Return(T obj); + } + public partial class StringBuilderPooledObjectPolicy : Microsoft.Extensions.ObjectPool.PooledObjectPolicy + { + public StringBuilderPooledObjectPolicy() { } + public int InitialCapacity { get { throw null; } set { } } + public int MaximumRetainedCapacity { get { throw null; } set { } } + public override System.Text.StringBuilder Create() { throw null; } + public override bool Return(System.Text.StringBuilder obj) { throw null; } + } +} diff --git a/src/referencePackages/src/microsoft.extensions.objectpool/Directory.Build.props b/src/referencePackages/src/microsoft.extensions.objectpool/Directory.Build.props new file mode 100644 index 0000000000..2b08742d45 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.objectpool/Directory.Build.props @@ -0,0 +1,9 @@ + + + + + + Microsoft.Extensions.ObjectPool + + + From 72584554974ece2019fbd3dd6743a282f39d9b87 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 15:22:10 -0600 Subject: [PATCH 02/11] [main] Update dependencies from dotnet/sdk (#545) * Update dependencies from https://github.com/dotnet/sdk build 20230224.3 Microsoft.DotNet.GenAPI.Task From Version 8.0.100-preview.2.23123.4 -> To Version 8.0.100-preview.2.23124.3 * Update dependencies from https://github.com/dotnet/sdk build 20230224.21 Microsoft.DotNet.GenAPI.Task From Version 8.0.100-preview.2.23123.4 -> To Version 8.0.100-preview.3.23124.21 * Update dependencies from https://github.com/dotnet/sdk build 20230227.2 Microsoft.DotNet.GenAPI.Task From Version 8.0.100-preview.2.23123.4 -> To Version 8.0.100-preview.3.23127.2 --------- Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 142f929ca0..0173592957 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -22,9 +22,9 @@ https://github.com/dotnet/arcade c4a85adbff520f62bfade7a6132f471506c3d35a - + https://github.com/dotnet/sdk - 0338c0af8beed93e2e2c277b3119fb340c9b3f57 + d1cabb18663f1d16fb613cb9265339ffb961441f https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index e05ee74021..13eaddfbcc 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,6 +16,6 @@ 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 - 8.0.100-preview.2.23123.4 + 8.0.100-preview.3.23127.2 From 4c9510801b0aee2df342941ceb7b07fe53420c27 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Tue, 28 Feb 2023 09:49:06 -0600 Subject: [PATCH 03/11] Add back System.Threading.Tasks.4.3.0 and Microsoft.Extensions.Logging.Abstractions.7.0.0 (#549) --- ...tensions.Logging.Abstractions.7.0.0.csproj | 40 ++ ...crosoft.Extensions.Logging.Abstractions.cs | 223 +++++++ ...crosoft.Extensions.Logging.Abstractions.cs | 223 +++++++ ...oft.extensions.logging.abstractions.nuspec | 37 ++ .../4.3.0/System.Threading.Tasks.4.3.0.csproj | 31 + .../4.3.0/ref/net45/_._ | 0 .../netstandard1.0/System.Threading.Tasks.cs | 561 +++++++++++++++++ .../netstandard1.3/System.Threading.Tasks.cs | 569 ++++++++++++++++++ .../4.3.0/system.threading.tasks.nuspec | 59 ++ 9 files changed, 1743 insertions(+) create mode 100644 src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/Microsoft.Extensions.Logging.Abstractions.7.0.0.csproj create mode 100644 src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/net462/Microsoft.Extensions.Logging.Abstractions.cs create mode 100644 src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.cs create mode 100755 src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/microsoft.extensions.logging.abstractions.nuspec create mode 100644 src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj create mode 100755 src/referencePackages/src/system.reflection.metadata/4.3.0/ref/net45/_._ create mode 100644 src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs create mode 100644 src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs create mode 100755 src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec diff --git a/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/Microsoft.Extensions.Logging.Abstractions.7.0.0.csproj b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/Microsoft.Extensions.Logging.Abstractions.7.0.0.csproj new file mode 100644 index 0000000000..3b19d4b2c7 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/Microsoft.Extensions.Logging.Abstractions.7.0.0.csproj @@ -0,0 +1,40 @@ + + + + + netstandard2.0;net462 + $(ArtifactsBinDir)microsoft.extensions.logging.abstractions/7.0.0/microsoft.extensions.logging.abstractions.nuspec + MicrosoftAspNetCore + + + + $(ArtifactsBinDir)microsoft.extensions.logging.abstractions/7.0.0/ref/ + $(ArtifactsObjDir)microsoft.extensions.logging.abstractions/7.0.0 + + + + $(ArtifactsBinDir)microsoft.extensions.logging.abstractions/7.0.0/lib/ + + + + $(ArtifactsBinDir)microsoft.extensions.logging.abstractions/7.0.0/lib/ + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/net462/Microsoft.Extensions.Logging.Abstractions.cs b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/net462/Microsoft.Extensions.Logging.Abstractions.cs new file mode 100644 index 0000000000..dee16692b5 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/net462/Microsoft.Extensions.Logging.Abstractions.cs @@ -0,0 +1,223 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyDescription("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyDefaultAlias("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("7.0.22.51805")] +[assembly: AssemblyInformationalVersion("7.0.22.51805 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("7.0.0.0")] + + + + +namespace Microsoft.Extensions.Logging +{ + public readonly partial struct EventId : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventId(int id, string? name = null) { throw null; } + public int Id { get { throw null; } } + public string? Name { get { throw null; } } + public bool Equals(Microsoft.Extensions.Logging.EventId other) { throw null; } + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) { throw null; } + public static implicit operator Microsoft.Extensions.Logging.EventId (int i) { throw null; } + public static bool operator !=(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) { throw null; } + public override string ToString() { throw null; } + } + public partial interface IExternalScopeProvider + { + void ForEachScope(System.Action callback, TState state); + System.IDisposable Push(object? state); + } + public partial interface ILogger + { + System.IDisposable? BeginScope(TState state) where TState : notnull; + bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel); + void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter); + } + public partial interface ILoggerFactory : System.IDisposable + { + void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider); + Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); + } + public partial interface ILoggerProvider : System.IDisposable + { + Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); + } + public partial interface ILogger : Microsoft.Extensions.Logging.ILogger + { + } + public partial interface ISupportExternalScope + { + void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider); + } + public partial class LogDefineOptions + { + public LogDefineOptions() { } + public bool SkipEnabledCheck { get { throw null; } set { } } + } + public static partial class LoggerExtensions + { + public static System.IDisposable? BeginScope(this Microsoft.Extensions.Logging.ILogger logger, string messageFormat, params object?[] args) { throw null; } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, System.Exception? exception, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + } + public partial class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider + { + public LoggerExternalScopeProvider() { } + public void ForEachScope(System.Action callback, TState state) { } + public System.IDisposable Push(object? state) { throw null; } + } + public static partial class LoggerFactoryExtensions + { + public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Type type) { throw null; } + public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory) { throw null; } + } + public static partial class LoggerMessage + { + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method)] + public sealed partial class LoggerMessageAttribute : System.Attribute + { + public LoggerMessageAttribute() { } + public LoggerMessageAttribute(int eventId, Microsoft.Extensions.Logging.LogLevel level, string message) { } + public int EventId { get { throw null; } set { } } + public string? EventName { get { throw null; } set { } } + public Microsoft.Extensions.Logging.LogLevel Level { get { throw null; } set { } } + public string Message { get { throw null; } set { } } + public bool SkipEnabledCheck { get { throw null; } set { } } + } + public partial class Logger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger + { + public Logger(Microsoft.Extensions.Logging.ILoggerFactory factory) { } + System.IDisposable Microsoft.Extensions.Logging.ILogger.BeginScope(TState state) { throw null; } + bool Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + void Microsoft.Extensions.Logging.ILogger.Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter) { } + } + public enum LogLevel + { + Trace = 0, + Debug = 1, + Information = 2, + Warning = 3, + Error = 4, + Critical = 5, + None = 6, + } +} +namespace Microsoft.Extensions.Logging.Abstractions +{ + public readonly partial struct LogEntry + { + private readonly TState _State_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LogEntry(Microsoft.Extensions.Logging.LogLevel logLevel, string category, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { throw null; } + public string Category { get { throw null; } } + public Microsoft.Extensions.Logging.EventId EventId { get { throw null; } } + public System.Exception? Exception { get { throw null; } } + public System.Func Formatter { get { throw null; } } + public Microsoft.Extensions.Logging.LogLevel LogLevel { get { throw null; } } + public TState State { get { throw null; } } + } + public partial class NullLogger : Microsoft.Extensions.Logging.ILogger + { + internal NullLogger() { } + public static Microsoft.Extensions.Logging.Abstractions.NullLogger Instance { get { throw null; } } + public System.IDisposable BeginScope(TState state) where TState : notnull { throw null; } + public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { } + } + public partial class NullLoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable + { + public static readonly Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory Instance; + public NullLoggerFactory() { } + public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) { } + public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; } + public void Dispose() { } + } + public partial class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable + { + internal NullLoggerProvider() { } + public static Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider Instance { get { throw null; } } + public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { throw null; } + public void Dispose() { } + } + public partial class NullLogger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger + { + public static readonly Microsoft.Extensions.Logging.Abstractions.NullLogger Instance; + public NullLogger() { } + public System.IDisposable BeginScope(TState state) where TState : notnull { throw null; } + public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { } + } +} diff --git a/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.cs b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.cs new file mode 100644 index 0000000000..dee16692b5 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.cs @@ -0,0 +1,223 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyDescription("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyDefaultAlias("Microsoft.Extensions.Logging.Abstractions")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("7.0.22.51805")] +[assembly: AssemblyInformationalVersion("7.0.22.51805 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("7.0.0.0")] + + + + +namespace Microsoft.Extensions.Logging +{ + public readonly partial struct EventId : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventId(int id, string? name = null) { throw null; } + public int Id { get { throw null; } } + public string? Name { get { throw null; } } + public bool Equals(Microsoft.Extensions.Logging.EventId other) { throw null; } + public override bool Equals(object? obj) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) { throw null; } + public static implicit operator Microsoft.Extensions.Logging.EventId (int i) { throw null; } + public static bool operator !=(Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right) { throw null; } + public override string ToString() { throw null; } + } + public partial interface IExternalScopeProvider + { + void ForEachScope(System.Action callback, TState state); + System.IDisposable Push(object? state); + } + public partial interface ILogger + { + System.IDisposable? BeginScope(TState state) where TState : notnull; + bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel); + void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter); + } + public partial interface ILoggerFactory : System.IDisposable + { + void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider); + Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); + } + public partial interface ILoggerProvider : System.IDisposable + { + Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName); + } + public partial interface ILogger : Microsoft.Extensions.Logging.ILogger + { + } + public partial interface ISupportExternalScope + { + void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider); + } + public partial class LogDefineOptions + { + public LogDefineOptions() { } + public bool SkipEnabledCheck { get { throw null; } set { } } + } + public static partial class LoggerExtensions + { + public static System.IDisposable? BeginScope(this Microsoft.Extensions.Logging.ILogger logger, string messageFormat, params object?[] args) { throw null; } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, System.Exception? exception, string? message, params object?[] args) { } + public static void Log(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.LogLevel logLevel, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogCritical(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogDebug(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogError(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogInformation(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogTrace(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, System.Exception? exception, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, Microsoft.Extensions.Logging.EventId eventId, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, System.Exception? exception, string? message, params object?[] args) { } + public static void LogWarning(this Microsoft.Extensions.Logging.ILogger logger, string? message, params object?[] args) { } + } + public partial class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider + { + public LoggerExternalScopeProvider() { } + public void ForEachScope(System.Action callback, TState state) { } + public System.IDisposable Push(object? state) { throw null; } + } + public static partial class LoggerFactoryExtensions + { + public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory, System.Type type) { throw null; } + public static Microsoft.Extensions.Logging.ILogger CreateLogger(this Microsoft.Extensions.Logging.ILoggerFactory factory) { throw null; } + } + public static partial class LoggerMessage + { + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Func DefineScope(string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString) { throw null; } + public static System.Action Define(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, string formatString, Microsoft.Extensions.Logging.LogDefineOptions? options) { throw null; } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method)] + public sealed partial class LoggerMessageAttribute : System.Attribute + { + public LoggerMessageAttribute() { } + public LoggerMessageAttribute(int eventId, Microsoft.Extensions.Logging.LogLevel level, string message) { } + public int EventId { get { throw null; } set { } } + public string? EventName { get { throw null; } set { } } + public Microsoft.Extensions.Logging.LogLevel Level { get { throw null; } set { } } + public string Message { get { throw null; } set { } } + public bool SkipEnabledCheck { get { throw null; } set { } } + } + public partial class Logger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger + { + public Logger(Microsoft.Extensions.Logging.ILoggerFactory factory) { } + System.IDisposable Microsoft.Extensions.Logging.ILogger.BeginScope(TState state) { throw null; } + bool Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + void Microsoft.Extensions.Logging.ILogger.Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception exception, System.Func formatter) { } + } + public enum LogLevel + { + Trace = 0, + Debug = 1, + Information = 2, + Warning = 3, + Error = 4, + Critical = 5, + None = 6, + } +} +namespace Microsoft.Extensions.Logging.Abstractions +{ + public readonly partial struct LogEntry + { + private readonly TState _State_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LogEntry(Microsoft.Extensions.Logging.LogLevel logLevel, string category, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { throw null; } + public string Category { get { throw null; } } + public Microsoft.Extensions.Logging.EventId EventId { get { throw null; } } + public System.Exception? Exception { get { throw null; } } + public System.Func Formatter { get { throw null; } } + public Microsoft.Extensions.Logging.LogLevel LogLevel { get { throw null; } } + public TState State { get { throw null; } } + } + public partial class NullLogger : Microsoft.Extensions.Logging.ILogger + { + internal NullLogger() { } + public static Microsoft.Extensions.Logging.Abstractions.NullLogger Instance { get { throw null; } } + public System.IDisposable BeginScope(TState state) where TState : notnull { throw null; } + public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { } + } + public partial class NullLoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable + { + public static readonly Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory Instance; + public NullLoggerFactory() { } + public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) { } + public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; } + public void Dispose() { } + } + public partial class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable + { + internal NullLoggerProvider() { } + public static Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider Instance { get { throw null; } } + public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { throw null; } + public void Dispose() { } + } + public partial class NullLogger : Microsoft.Extensions.Logging.ILogger, Microsoft.Extensions.Logging.ILogger + { + public static readonly Microsoft.Extensions.Logging.Abstractions.NullLogger Instance; + public NullLogger() { } + public System.IDisposable BeginScope(TState state) where TState : notnull { throw null; } + public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; } + public void Log(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, System.Exception? exception, System.Func formatter) { } + } +} diff --git a/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/microsoft.extensions.logging.abstractions.nuspec b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/microsoft.extensions.logging.abstractions.nuspec new file mode 100755 index 0000000000..3a27e5c5bf --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.logging.abstractions/7.0.0/microsoft.extensions.logging.abstractions.nuspec @@ -0,0 +1,37 @@ + + + + Microsoft.Extensions.Logging.Abstractions + 7.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Logging abstractions for Microsoft.Extensions.Logging. + +Commonly Used Types: +Microsoft.Extensions.Logging.ILogger +Microsoft.Extensions.Logging.ILoggerFactory +Microsoft.Extensions.Logging.ILogger<TCategoryName> +Microsoft.Extensions.Logging.LogLevel +Microsoft.Extensions.Logging.Logger<T> +Microsoft.Extensions.Logging.LoggerMessage +Microsoft.Extensions.Logging.Abstractions.NullLogger + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj b/src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj new file mode 100644 index 0000000000..8ae9d8d050 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj @@ -0,0 +1,31 @@ + + + + + netstandard1.0;netstandard1.3 + $(ArtifactsBinDir)system.threading.tasks/4.3.0/system.threading.tasks.nuspec + + + + $(ArtifactsBinDir)system.threading.tasks/4.3.0/ref/ + $(ArtifactsObjDir)system.threading.tasks/4.3.0 + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/net45/_._ b/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/net45/_._ new file mode 100755 index 0000000000..e69de29bb2 diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs b/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs new file mode 100644 index 0000000000..14375b9c97 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs @@ -0,0 +1,561 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("System.Threading.Tasks")] +[assembly: AssemblyDescription("System.Threading.Tasks")] +[assembly: AssemblyDefaultAlias("System.Threading.Tasks")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("4.0.30319.17929")] +[assembly: AssemblyInformationalVersion("4.0.30319.17929 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("4.0.0.0")] + + + + +namespace System +{ + public partial class AggregateException : System.Exception + { + public AggregateException() { } + public AggregateException(System.Collections.Generic.IEnumerable innerExceptions) { } + public AggregateException(params System.Exception[] innerExceptions) { } + public AggregateException(string message) { } + public AggregateException(string message, System.Collections.Generic.IEnumerable innerExceptions) { } + public AggregateException(string message, System.Exception innerException) { } + public AggregateException(string message, params System.Exception[] innerExceptions) { } + public System.Collections.ObjectModel.ReadOnlyCollection InnerExceptions { get { throw null; } } + public System.AggregateException Flatten() { throw null; } + public override System.Exception GetBaseException() { throw null; } + public void Handle(System.Func predicate) { } + public override string ToString() { throw null; } + } + public partial class OperationCanceledException : System.Exception + { + public OperationCanceledException() { } + public OperationCanceledException(string message) { } + public OperationCanceledException(string message, System.Exception innerException) { } + public OperationCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) { } + public OperationCanceledException(string message, System.Threading.CancellationToken token) { } + public OperationCanceledException(System.Threading.CancellationToken token) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + } +} +namespace System.Runtime.CompilerServices +{ + public partial struct AsyncTaskMethodBuilder + { + public System.Threading.Tasks.Task Task { get { throw null; } } + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncTaskMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult() { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct AsyncTaskMethodBuilder + { + public System.Threading.Tasks.Task Task { get { throw null; } } + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncTaskMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult(TResult result) { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct AsyncVoidMethodBuilder + { + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncVoidMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult() { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct ConfiguredTaskAwaitable + { + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } + public partial struct ConfiguredTaskAwaitable + { + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public TResult GetResult() { throw null; } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } + public partial interface IAsyncStateMachine + { + void MoveNext(); + void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine); + } + public partial interface ICriticalNotifyCompletion : System.Runtime.CompilerServices.INotifyCompletion + { + void UnsafeOnCompleted(System.Action continuation); + } + public partial interface INotifyCompletion + { + void OnCompleted(System.Action continuation); + } + public partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + public partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public TResult GetResult() { throw null; } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + public partial struct YieldAwaitable + { + public System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter GetAwaiter() { throw null; } + public partial struct YieldAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } +} +namespace System.Threading +{ + public partial struct CancellationToken + { + public CancellationToken(bool canceled) { throw null; } + public bool CanBeCanceled { get { throw null; } } + public bool IsCancellationRequested { get { throw null; } } + public static System.Threading.CancellationToken None { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + public override bool Equals(object other) { throw null; } + public bool Equals(System.Threading.CancellationToken other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } + public static bool operator !=(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, bool useSynchronizationContext) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state, bool useSynchronizationContext) { throw null; } + public void ThrowIfCancellationRequested() { } + } + public partial struct CancellationTokenRegistration : System.IDisposable, System.IEquatable + { + public void Dispose() { } + public override bool Equals(object obj) { throw null; } + public bool Equals(System.Threading.CancellationTokenRegistration other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; } + public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; } + } + public partial class CancellationTokenSource : System.IDisposable + { + public CancellationTokenSource() { } + public CancellationTokenSource(int millisecondsDelay) { } + public CancellationTokenSource(System.TimeSpan delay) { } + public bool IsCancellationRequested { get { throw null; } } + public System.Threading.CancellationToken Token { get { throw null; } } + public void Cancel() { } + public void Cancel(bool throwOnFirstException) { } + public void CancelAfter(int millisecondsDelay) { } + public void CancelAfter(System.TimeSpan delay) { } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token1, System.Threading.CancellationToken token2) { throw null; } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.Threading.CancellationToken[] tokens) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } +} +namespace System.Threading.Tasks +{ + public partial class ConcurrentExclusiveSchedulerPair + { + public ConcurrentExclusiveSchedulerPair() { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler) { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler, int maxConcurrencyLevel) { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler, int maxConcurrencyLevel, int maxItemsPerTask) { } + public System.Threading.Tasks.Task Completion { get { throw null; } } + public System.Threading.Tasks.TaskScheduler ConcurrentScheduler { get { throw null; } } + public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get { throw null; } } + public void Complete() { } + } + public partial class Task : System.IAsyncResult + { + public Task(System.Action action) { } + public Task(System.Action action, System.Threading.CancellationToken cancellationToken) { } + public Task(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, object state) { } + public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { } + public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public object AsyncState { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public static System.Nullable CurrentId { get { throw null; } } + public System.AggregateException Exception { get { throw null; } } + public static System.Threading.Tasks.TaskFactory Factory { get { throw null; } } + public int Id { get { throw null; } } + public bool IsCanceled { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public bool IsFaulted { get { throw null; } } + public System.Threading.Tasks.TaskStatus Status { get { throw null; } } + System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } + bool System.IAsyncResult.CompletedSynchronously { get { throw null; } } + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public static System.Threading.Tasks.Task Delay(int millisecondsDelay) { throw null; } + public static System.Threading.Tasks.Task Delay(int millisecondsDelay, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Delay(System.TimeSpan delay) { throw null; } + public static System.Threading.Tasks.Task Delay(System.TimeSpan delay, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task FromResult(TResult result) { throw null; } + public System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; } + public static System.Threading.Tasks.Task Run(System.Action action) { throw null; } + public static System.Threading.Tasks.Task Run(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public void RunSynchronously() { } + public void RunSynchronously(System.Threading.Tasks.TaskScheduler scheduler) { } + public static System.Threading.Tasks.Task Run(System.Func> function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func> function, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public void Start() { } + public void Start(System.Threading.Tasks.TaskScheduler scheduler) { } + public void Wait() { } + public bool Wait(int millisecondsTimeout) { throw null; } + public bool Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public void Wait(System.Threading.CancellationToken cancellationToken) { } + public bool Wait(System.TimeSpan timeout) { throw null; } + public static void WaitAll(params System.Threading.Tasks.Task[] tasks) { } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; } + public static int WaitAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; } + public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAny(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task> WhenAny(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Threading.Tasks.Task> WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Runtime.CompilerServices.YieldAwaitable Yield() { throw null; } + } + public partial class TaskCanceledException : System.OperationCanceledException + { + public TaskCanceledException() { } + public TaskCanceledException(string message) { } + public TaskCanceledException(string message, System.Exception innerException) { } + public TaskCanceledException(System.Threading.Tasks.Task task) { } + public System.Threading.Tasks.Task Task { get { throw null; } } + } + public partial class TaskCompletionSource + { + public TaskCompletionSource() { } + public TaskCompletionSource(object state) { } + public TaskCompletionSource(object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public System.Threading.Tasks.Task Task { get { throw null; } } + public void SetCanceled() { } + public void SetException(System.Collections.Generic.IEnumerable exceptions) { } + public void SetException(System.Exception exception) { } + public void SetResult(TResult result) { } + public bool TrySetCanceled() { throw null; } + public bool TrySetException(System.Collections.Generic.IEnumerable exceptions) { throw null; } + public bool TrySetException(System.Exception exception) { throw null; } + public bool TrySetResult(TResult result) { throw null; } + } + [System.FlagsAttribute] + public enum TaskContinuationOptions + { + AttachedToParent = 4, + DenyChildAttach = 8, + ExecuteSynchronously = 524288, + HideScheduler = 16, + LazyCancellation = 32, + LongRunning = 2, + None = 0, + NotOnCanceled = 262144, + NotOnFaulted = 131072, + NotOnRanToCompletion = 65536, + OnlyOnCanceled = 196608, + OnlyOnFaulted = 327680, + OnlyOnRanToCompletion = 393216, + PreferFairness = 1, + } + [System.FlagsAttribute] + public enum TaskCreationOptions + { + AttachedToParent = 4, + DenyChildAttach = 8, + HideScheduler = 16, + LongRunning = 2, + None = 0, + PreferFairness = 1, + } + public static partial class TaskExtensions + { + public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task task) { throw null; } + public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task> task) { throw null; } + } + public partial class TaskFactory + { + public TaskFactory() { } + public TaskFactory(System.Threading.CancellationToken cancellationToken) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + } + public partial class TaskFactory + { + public TaskFactory() { } + public TaskFactory(System.Threading.CancellationToken cancellationToken) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + } + public abstract partial class TaskScheduler + { + protected TaskScheduler() { } + public static System.Threading.Tasks.TaskScheduler Current { get { throw null; } } + public static System.Threading.Tasks.TaskScheduler Default { get { throw null; } } + public int Id { get { throw null; } } + public virtual int MaximumConcurrencyLevel { get { throw null; } } + public static event System.EventHandler UnobservedTaskException { add { } remove { } } + public static System.Threading.Tasks.TaskScheduler FromCurrentSynchronizationContext() { throw null; } + protected abstract System.Collections.Generic.IEnumerable GetScheduledTasks(); + protected internal abstract void QueueTask(System.Threading.Tasks.Task task); + protected internal virtual bool TryDequeue(System.Threading.Tasks.Task task) { throw null; } + protected bool TryExecuteTask(System.Threading.Tasks.Task task) { throw null; } + protected abstract bool TryExecuteTaskInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued); + } + public partial class TaskSchedulerException : System.Exception + { + public TaskSchedulerException() { } + public TaskSchedulerException(System.Exception innerException) { } + public TaskSchedulerException(string message) { } + public TaskSchedulerException(string message, System.Exception innerException) { } + } + public enum TaskStatus + { + Canceled = 6, + Created = 0, + Faulted = 7, + RanToCompletion = 5, + Running = 3, + WaitingForActivation = 1, + WaitingForChildrenToComplete = 4, + WaitingToRun = 2, + } + public partial class Task : System.Threading.Tasks.Task + { + public Task(System.Func function, object state) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public static new System.Threading.Tasks.TaskFactory Factory { get { throw null; } } + public TResult Result { get { throw null; } } + public new System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public new System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; } + } + public partial class UnobservedTaskExceptionEventArgs : System.EventArgs + { + public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } + public System.AggregateException Exception { get { throw null; } } + public bool Observed { get { throw null; } } + public void SetObserved() { } + } +} diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs b/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs new file mode 100644 index 0000000000..686dfdb93a --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs @@ -0,0 +1,569 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("System.Threading.Tasks")] +[assembly: AssemblyDescription("System.Threading.Tasks")] +[assembly: AssemblyDefaultAlias("System.Threading.Tasks")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("1.0.24212.01")] +[assembly: AssemblyInformationalVersion("1.0.24212.01 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("4.0.10.0")] + + + + +namespace System +{ + public partial class AggregateException : System.Exception + { + public AggregateException() { } + public AggregateException(System.Collections.Generic.IEnumerable innerExceptions) { } + public AggregateException(params System.Exception[] innerExceptions) { } + public AggregateException(string message) { } + public AggregateException(string message, System.Collections.Generic.IEnumerable innerExceptions) { } + public AggregateException(string message, System.Exception innerException) { } + public AggregateException(string message, params System.Exception[] innerExceptions) { } + public System.Collections.ObjectModel.ReadOnlyCollection InnerExceptions { get { throw null; } } + public System.AggregateException Flatten() { throw null; } + public override System.Exception GetBaseException() { throw null; } + public void Handle(System.Func predicate) { } + public override string ToString() { throw null; } + } + public partial class OperationCanceledException : System.Exception + { + public OperationCanceledException() { } + public OperationCanceledException(string message) { } + public OperationCanceledException(string message, System.Exception innerException) { } + public OperationCanceledException(string message, System.Exception innerException, System.Threading.CancellationToken token) { } + public OperationCanceledException(string message, System.Threading.CancellationToken token) { } + public OperationCanceledException(System.Threading.CancellationToken token) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + } +} +namespace System.Runtime.CompilerServices +{ + public partial struct AsyncTaskMethodBuilder + { + public System.Threading.Tasks.Task Task { get { throw null; } } + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncTaskMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult() { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct AsyncTaskMethodBuilder + { + public System.Threading.Tasks.Task Task { get { throw null; } } + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncTaskMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult(TResult result) { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct AsyncVoidMethodBuilder + { + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + public static System.Runtime.CompilerServices.AsyncVoidMethodBuilder Create() { throw null; } + public void SetException(System.Exception exception) { } + public void SetResult() { } + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } + } + public partial struct ConfiguredTaskAwaitable + { + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } + public partial struct ConfiguredTaskAwaitable + { + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public TResult GetResult() { throw null; } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } + public partial interface IAsyncStateMachine + { + void MoveNext(); + void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine); + } + public partial interface ICriticalNotifyCompletion : System.Runtime.CompilerServices.INotifyCompletion + { + void UnsafeOnCompleted(System.Action continuation); + } + public partial interface INotifyCompletion + { + void OnCompleted(System.Action continuation); + } + public partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + public partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public TResult GetResult() { throw null; } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + public partial struct YieldAwaitable + { + public System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter GetAwaiter() { throw null; } + public partial struct YieldAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion + { + public bool IsCompleted { get { throw null; } } + public void GetResult() { } + public void OnCompleted(System.Action continuation) { } + public void UnsafeOnCompleted(System.Action continuation) { } + } + } +} +namespace System.Threading +{ + public partial struct CancellationToken + { + public CancellationToken(bool canceled) { throw null; } + public bool CanBeCanceled { get { throw null; } } + public bool IsCancellationRequested { get { throw null; } } + public static System.Threading.CancellationToken None { get { throw null; } } + public System.Threading.WaitHandle WaitHandle { get { throw null; } } + public override bool Equals(object other) { throw null; } + public bool Equals(System.Threading.CancellationToken other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } + public static bool operator !=(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, bool useSynchronizationContext) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state, bool useSynchronizationContext) { throw null; } + public void ThrowIfCancellationRequested() { } + } + public partial struct CancellationTokenRegistration : System.IDisposable, System.IEquatable + { + public void Dispose() { } + public override bool Equals(object obj) { throw null; } + public bool Equals(System.Threading.CancellationTokenRegistration other) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; } + public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; } + } + public partial class CancellationTokenSource : System.IDisposable + { + public CancellationTokenSource() { } + public CancellationTokenSource(int millisecondsDelay) { } + public CancellationTokenSource(System.TimeSpan delay) { } + public bool IsCancellationRequested { get { throw null; } } + public System.Threading.CancellationToken Token { get { throw null; } } + public void Cancel() { } + public void Cancel(bool throwOnFirstException) { } + public void CancelAfter(int millisecondsDelay) { } + public void CancelAfter(System.TimeSpan delay) { } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token1, System.Threading.CancellationToken token2) { throw null; } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.Threading.CancellationToken[] tokens) { throw null; } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + } +} +namespace System.Threading.Tasks +{ + public partial class ConcurrentExclusiveSchedulerPair + { + public ConcurrentExclusiveSchedulerPair() { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler) { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler, int maxConcurrencyLevel) { } + public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler taskScheduler, int maxConcurrencyLevel, int maxItemsPerTask) { } + public System.Threading.Tasks.Task Completion { get { throw null; } } + public System.Threading.Tasks.TaskScheduler ConcurrentScheduler { get { throw null; } } + public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get { throw null; } } + public void Complete() { } + } + public partial class Task : System.IAsyncResult + { + public Task(System.Action action) { } + public Task(System.Action action, System.Threading.CancellationToken cancellationToken) { } + public Task(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, object state) { } + public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { } + public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public object AsyncState { get { throw null; } } + public static System.Threading.Tasks.Task CompletedTask { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public static System.Nullable CurrentId { get { throw null; } } + public System.AggregateException Exception { get { throw null; } } + public static System.Threading.Tasks.TaskFactory Factory { get { throw null; } } + public int Id { get { throw null; } } + public bool IsCanceled { get { throw null; } } + public bool IsCompleted { get { throw null; } } + public bool IsFaulted { get { throw null; } } + public System.Threading.Tasks.TaskStatus Status { get { throw null; } } + System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } + bool System.IAsyncResult.CompletedSynchronously { get { throw null; } } + public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public static System.Threading.Tasks.Task Delay(int millisecondsDelay) { throw null; } + public static System.Threading.Tasks.Task Delay(int millisecondsDelay, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Delay(System.TimeSpan delay) { throw null; } + public static System.Threading.Tasks.Task Delay(System.TimeSpan delay, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task FromCanceled(System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task FromCanceled(System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task FromException(System.Exception exception) { throw null; } + public static System.Threading.Tasks.Task FromException(System.Exception exception) { throw null; } + public static System.Threading.Tasks.Task FromResult(TResult result) { throw null; } + public System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; } + public static System.Threading.Tasks.Task Run(System.Action action) { throw null; } + public static System.Threading.Tasks.Task Run(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public void RunSynchronously() { } + public void RunSynchronously(System.Threading.Tasks.TaskScheduler scheduler) { } + public static System.Threading.Tasks.Task Run(System.Func> function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func> function, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public void Start() { } + public void Start(System.Threading.Tasks.TaskScheduler scheduler) { } + public void Wait() { } + public bool Wait(int millisecondsTimeout) { throw null; } + public bool Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public void Wait(System.Threading.CancellationToken cancellationToken) { } + public bool Wait(System.TimeSpan timeout) { throw null; } + public static void WaitAll(params System.Threading.Tasks.Task[] tasks) { } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { } + public static bool WaitAll(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; } + public static int WaitAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { throw null; } + public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; } + public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAny(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Threading.Tasks.Task> WhenAny(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Threading.Tasks.Task> WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Runtime.CompilerServices.YieldAwaitable Yield() { throw null; } + } + public partial class TaskCanceledException : System.OperationCanceledException + { + public TaskCanceledException() { } + public TaskCanceledException(string message) { } + public TaskCanceledException(string message, System.Exception innerException) { } + public TaskCanceledException(System.Threading.Tasks.Task task) { } + public System.Threading.Tasks.Task Task { get { throw null; } } + } + public partial class TaskCompletionSource + { + public TaskCompletionSource() { } + public TaskCompletionSource(object state) { } + public TaskCompletionSource(object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public System.Threading.Tasks.Task Task { get { throw null; } } + public void SetCanceled() { } + public void SetException(System.Collections.Generic.IEnumerable exceptions) { } + public void SetException(System.Exception exception) { } + public void SetResult(TResult result) { } + public bool TrySetCanceled() { throw null; } + public bool TrySetCanceled(System.Threading.CancellationToken cancellationToken) { throw null; } + public bool TrySetException(System.Collections.Generic.IEnumerable exceptions) { throw null; } + public bool TrySetException(System.Exception exception) { throw null; } + public bool TrySetResult(TResult result) { throw null; } + } + [System.FlagsAttribute] + public enum TaskContinuationOptions + { + AttachedToParent = 4, + DenyChildAttach = 8, + ExecuteSynchronously = 524288, + HideScheduler = 16, + LazyCancellation = 32, + LongRunning = 2, + None = 0, + NotOnCanceled = 262144, + NotOnFaulted = 131072, + NotOnRanToCompletion = 65536, + OnlyOnCanceled = 196608, + OnlyOnFaulted = 327680, + OnlyOnRanToCompletion = 393216, + PreferFairness = 1, + RunContinuationsAsynchronously = 64, + } + [System.FlagsAttribute] + public enum TaskCreationOptions + { + AttachedToParent = 4, + DenyChildAttach = 8, + HideScheduler = 16, + LongRunning = 2, + None = 0, + PreferFairness = 1, + RunContinuationsAsynchronously = 64, + } + public static partial class TaskExtensions + { + public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task task) { throw null; } + public static System.Threading.Tasks.Task Unwrap(this System.Threading.Tasks.Task> task) { throw null; } + } + public partial class TaskFactory + { + public TaskFactory() { } + public TaskFactory(System.Threading.CancellationToken cancellationToken) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action[]> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Action> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + } + public partial class TaskFactory + { + public TaskFactory() { } + public TaskFactory(System.Threading.CancellationToken cancellationToken) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public System.Threading.CancellationToken CancellationToken { get { throw null; } } + public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } + public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } + public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func[], TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + } + public abstract partial class TaskScheduler + { + protected TaskScheduler() { } + public static System.Threading.Tasks.TaskScheduler Current { get { throw null; } } + public static System.Threading.Tasks.TaskScheduler Default { get { throw null; } } + public int Id { get { throw null; } } + public virtual int MaximumConcurrencyLevel { get { throw null; } } + public static event System.EventHandler UnobservedTaskException { add { } remove { } } + public static System.Threading.Tasks.TaskScheduler FromCurrentSynchronizationContext() { throw null; } + protected abstract System.Collections.Generic.IEnumerable GetScheduledTasks(); + protected internal abstract void QueueTask(System.Threading.Tasks.Task task); + protected internal virtual bool TryDequeue(System.Threading.Tasks.Task task) { throw null; } + protected bool TryExecuteTask(System.Threading.Tasks.Task task) { throw null; } + protected abstract bool TryExecuteTaskInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued); + } + public partial class TaskSchedulerException : System.Exception + { + public TaskSchedulerException() { } + public TaskSchedulerException(System.Exception innerException) { } + public TaskSchedulerException(string message) { } + public TaskSchedulerException(string message, System.Exception innerException) { } + } + public enum TaskStatus + { + Canceled = 6, + Created = 0, + Faulted = 7, + RanToCompletion = 5, + Running = 3, + WaitingForActivation = 1, + WaitingForChildrenToComplete = 4, + WaitingToRun = 2, + } + public partial class Task : System.Threading.Tasks.Task + { + public Task(System.Func function, object state) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public static new System.Threading.Tasks.TaskFactory Factory { get { throw null; } } + public TResult Result { get { throw null; } } + public new System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public new System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; } + } + public partial class UnobservedTaskExceptionEventArgs : System.EventArgs + { + public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } + public System.AggregateException Exception { get { throw null; } } + public bool Observed { get { throw null; } } + public void SetObserved() { } + } +} diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec b/src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec new file mode 100755 index 0000000000..870c8698ef --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec @@ -0,0 +1,59 @@ + + + + System.Threading.Tasks + 4.3.0 + System.Threading.Tasks + Microsoft + microsoft,dotnetframework + true + https://microsoft.mit-license.org/ + https://dot.net/ + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides types that simplify the work of writing concurrent and asynchronous code. + +Commonly Used Types: +System.Threading.Tasks.Task<TResult> +System.Runtime.CompilerServices.TaskAwaiter<TResult> +System.Threading.Tasks.TaskCompletionSource<TResult> +System.Threading.Tasks.Task +System.OperationCanceledException +System.AggregateException + +When using NuGet 3.x this package requires at least version 3.4. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 9d3b98d3a285d8c2c1d1ba8ad38c920420cbeaa9 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 1 Mar 2023 16:28:37 +0100 Subject: [PATCH 04/11] [main] Update dependencies from dotnet/sdk (#548) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 0173592957..2007eec1c3 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -22,9 +22,9 @@ https://github.com/dotnet/arcade c4a85adbff520f62bfade7a6132f471506c3d35a - + https://github.com/dotnet/sdk - d1cabb18663f1d16fb613cb9265339ffb961441f + 033003f9fdbd09e33b3b2882c21d338d26bba88e https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index 13eaddfbcc..6868a6958e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,6 +16,6 @@ 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 - 8.0.100-preview.3.23127.2 + 8.0.100-preview.3.23128.4 From 055c62f43752947b4865316d46882484bb9016f6 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:30:31 +0100 Subject: [PATCH 05/11] [main] Update dependencies from dotnet/sdk (#550) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2007eec1c3..2d85a0962c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -22,9 +22,9 @@ https://github.com/dotnet/arcade c4a85adbff520f62bfade7a6132f471506c3d35a - + https://github.com/dotnet/sdk - 033003f9fdbd09e33b3b2882c21d338d26bba88e + c5f9057c89000cd078ab3f528ce340ca71a430c7 https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index 6868a6958e..d1f49c9016 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,6 +16,6 @@ 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 - 8.0.100-preview.3.23128.4 + 8.0.100-preview.3.23152.1 From 6636bd353ec6df41e430adfe53ef18e561c911e6 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri, 3 Mar 2023 08:53:55 -0600 Subject: [PATCH 06/11] Update dependencies from https://github.com/dotnet/sdk build 20230302.9 (#551) Microsoft.DotNet.GenAPI.Task From Version 8.0.100-preview.3.23152.1 -> To Version 8.0.100-preview.3.23152.9 Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2d85a0962c..1c67e21d85 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -22,9 +22,9 @@ https://github.com/dotnet/arcade c4a85adbff520f62bfade7a6132f471506c3d35a - + https://github.com/dotnet/sdk - c5f9057c89000cd078ab3f528ce340ca71a430c7 + 76296007de509ede836e8d27481ef68c987e5faa https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index d1f49c9016..c9bed04051 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,6 +16,6 @@ 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 - 8.0.100-preview.3.23152.1 + 8.0.100-preview.3.23152.9 From 23e7c1ea098b57cb10115d837c69f6c9f18e9369 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri, 3 Mar 2023 09:09:18 -0600 Subject: [PATCH 07/11] [main] Update dependencies from dotnet/arcade (#544) * Update dependencies from https://github.com/dotnet/arcade build 20230223.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI From Version 8.0.0-beta.23120.1 -> To Version 8.0.0-beta.23123.2 Dependency coherency updates Microsoft.SourceLink.GitHub From Version 1.2.0-beta-23117-02 -> To Version 1.2.0-beta-23121-02 (parent: Microsoft.DotNet.Arcade.Sdk * Update dependencies from https://github.com/dotnet/arcade build 20230227.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI From Version 8.0.0-beta.23120.1 -> To Version 8.0.0-beta.23127.1 Dependency coherency updates Microsoft.SourceLink.GitHub From Version 1.2.0-beta-23117-02 -> To Version 1.2.0-beta-23125-01 (parent: Microsoft.DotNet.Arcade.Sdk * Update dependencies from https://github.com/dotnet/arcade build 20230228.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI From Version 8.0.0-beta.23120.1 -> To Version 8.0.0-beta.23128.1 Dependency coherency updates Microsoft.SourceLink.GitHub From Version 1.2.0-beta-23117-02 -> To Version 1.2.0-beta-23125-01 (parent: Microsoft.DotNet.Arcade.Sdk * Update dependencies from https://github.com/dotnet/arcade build 20230301.4 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI From Version 8.0.0-beta.23120.1 -> To Version 8.0.0-beta.23151.4 Dependency coherency updates Microsoft.SourceLink.GitHub From Version 1.2.0-beta-23117-02 -> To Version 1.2.0-beta-23128-02 (parent: Microsoft.DotNet.Arcade.Sdk * Update dependencies from https://github.com/dotnet/arcade build 20230302.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI From Version 8.0.0-beta.23120.1 -> To Version 8.0.0-beta.23152.1 Dependency coherency updates Microsoft.SourceLink.GitHub From Version 1.2.0-beta-23117-02 -> To Version 1.2.0-beta-23151-02 (parent: Microsoft.DotNet.Arcade.Sdk --------- Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 12 +- eng/Versions.props | 2 +- eng/common/cross/build-rootfs.sh | 120 ++++++++++-------- eng/common/templates/job/job.yml | 2 +- .../templates/job/source-index-stage1.yml | 2 +- global.json | 4 +- 6 files changed, 78 insertions(+), 64 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 1c67e21d85..15c974f9b7 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -13,22 +13,22 @@ d114eecff6c3149a55cb643fba6c4e7580b9f0b7 - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + 6b3afa7543dd5d69e621015cd1569fb0960b5f24 - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + 6b3afa7543dd5d69e621015cd1569fb0960b5f24 https://github.com/dotnet/sdk 76296007de509ede836e8d27481ef68c987e5faa - + https://github.com/dotnet/sourcelink - 955e79b0b955a9f57078b2399a782fcde44a9261 + 5585cd4cd5779bc7efdf3e2f19ed0bef50b15f7b diff --git a/eng/Versions.props b/eng/Versions.props index c9bed04051..02995b3532 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -11,7 +11,7 @@ 1.0.0-beta.20113.5 - 8.0.0-beta.23120.1 + 8.0.0-beta.23152.1 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 diff --git a/eng/common/cross/build-rootfs.sh b/eng/common/cross/build-rootfs.sh index ffaa88eb0f..ff113f7335 100755 --- a/eng/common/cross/build-rootfs.sh +++ b/eng/common/cross/build-rootfs.sh @@ -55,7 +55,7 @@ __AlpinePackages+=" gettext-dev" __AlpinePackages+=" icu-dev" __AlpinePackages+=" libunwind-dev" __AlpinePackages+=" lttng-ust-dev" -__AlpinePackages+=" compiler-rt-static" +__AlpinePackages+=" compiler-rt" __AlpinePackages+=" numactl-dev" # runtime libraries' dependencies @@ -150,7 +150,6 @@ while :; do __BuildArch=riscv64 __AlpineArch=riscv64 __AlpinePackages="${__AlpinePackages// lldb-dev/}" - __AlpinePackages="${__AlpinePackages// compiler-rt-static/}" __QEMUArch=riscv64 __UbuntuArch=riscv64 __UbuntuRepo="http://deb.debian.org/debian-ports" @@ -160,10 +159,6 @@ while :; do if [[ -e "/usr/share/keyrings/debian-ports-archive-keyring.gpg" ]]; then __Keyring="--keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring" fi - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) - fi ;; ppc64le) __BuildArch=ppc64le @@ -175,10 +170,6 @@ while :; do __UbuntuPackages="${__UbuntuPackages// libomp-dev/}" __UbuntuPackages="${__UbuntuPackages// libomp5/}" unset __LLDB_Package - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - fi ;; s390x) __BuildArch=s390x @@ -190,10 +181,6 @@ while :; do __UbuntuPackages="${__UbuntuPackages// libomp-dev/}" __UbuntuPackages="${__UbuntuPackages// libomp5/}" unset __LLDB_Package - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - fi ;; x64) __BuildArch=x64 @@ -206,6 +193,7 @@ while :; do x86) __BuildArch=x86 __UbuntuArch=i386 + __AlpineArch=x86 __UbuntuRepo="http://archive.ubuntu.com/ubuntu/" ;; lldb*) @@ -260,25 +248,40 @@ while :; do ;; jessie) # Debian 8 __CodeName=jessie - __UbuntuRepo="http://ftp.debian.org/debian/" + + if [[ -z "$__UbuntuRepo" ]]; then + __UbuntuRepo="http://ftp.debian.org/debian/" + fi ;; stretch) # Debian 9 __CodeName=stretch - __UbuntuRepo="http://ftp.debian.org/debian/" __LLDB_Package="liblldb-6.0-dev" + + if [[ -z "$__UbuntuRepo" ]]; then + __UbuntuRepo="http://ftp.debian.org/debian/" + fi ;; buster) # Debian 10 __CodeName=buster - __UbuntuRepo="http://ftp.debian.org/debian/" __LLDB_Package="liblldb-6.0-dev" + + if [[ -z "$__UbuntuRepo" ]]; then + __UbuntuRepo="http://ftp.debian.org/debian/" + fi ;; bullseye) # Debian 11 __CodeName=bullseye - __UbuntuRepo="http://ftp.debian.org/debian/" + + if [[ -z "$__UbuntuRepo" ]]; then + __UbuntuRepo="http://ftp.debian.org/debian/" + fi ;; sid) # Debian sid __CodeName=sid - __UbuntuRepo="http://ftp.debian.org/debian/" + + if [[ -z "$__UbuntuRepo" ]]; then + __UbuntuRepo="http://ftp.debian.org/debian/" + fi ;; tizen) __CodeName= @@ -296,29 +299,8 @@ while :; do parts=(${version//./ }) __AlpineMajorVersion="${parts[0]}" __AlpineMinoVersion="${parts[1]}" - - if [[ -z "$__AlpineVersion" ]]; then - __AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion" - fi + __AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion" fi - - case "$__AlpineVersion" in - 3.14) __AlpinePackages+=" llvm11-libs" ;; - 3.15) __AlpinePackages+=" llvm12-libs" ;; - 3.16) __AlpinePackages+=" llvm13-libs" ;; - 3.17) __AlpinePackages+=" llvm15-libs" ;; - edge) __AlpineLlvmLibsLookup=1 ;; - *) - if [[ "$__AlpineArch" =~ "s390x|ppc64le" ]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - __AlpinePackages+=" llvm12-libs" - elif [[ "$__AlpineArch" == "riscv64" ]]; then - __AlpineLlvmLibsLookup=1 - __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) - else - __AlpineVersion=3.13 # 3.13 to maximize compatibility - fi - esac ;; freebsd12) __CodeName=freebsd @@ -361,10 +343,41 @@ while :; do shift done +case "$__AlpineVersion" in + 3.14) __AlpinePackages+=" llvm11-libs" ;; + 3.15) __AlpinePackages+=" llvm12-libs" ;; + 3.16) __AlpinePackages+=" llvm13-libs" ;; + 3.17) __AlpinePackages+=" llvm15-libs" ;; + edge) __AlpineLlvmLibsLookup=1 ;; + *) + if [[ "$__AlpineArch" =~ s390x|ppc64le ]]; then + echo boo + __AlpineVersion=3.15 # minimum version that supports lldb-dev + __AlpinePackages+=" llvm12-libs" + elif [[ "$__AlpineArch" == "x86" ]]; then + __AlpineVersion=3.17 # minimum version that supports lldb-dev + __AlpinePackages+=" llvm15-libs" + elif [[ "$__AlpineArch" == "riscv64" ]]; then + __AlpineLlvmLibsLookup=1 + __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) + else + __AlpineVersion=3.13 # 3.13 to maximize compatibility + __AlpinePackages+=" llvm10-libs" + + if [[ "$__AlpineArch" == "armv7" ]]; then + __AlpinePackages="${__AlpinePackages//numactl-dev/}" + fi + fi +esac + +if [[ "$__AlpineVersion" =~ 3\.1[345] ]]; then + # compiler-rt--static was merged in compiler-rt package in alpine 3.16 + # for older versions, we need compiler-rt--static, so replace the name + __AlpinePackages="${__AlpinePackages/compiler-rt/compiler-rt-static}" +fi + if [[ "$__BuildArch" == "armel" ]]; then __LLDB_Package="lldb-3.5-dev" -elif [[ "$__BuildArch" == "arm" && "$__AlpineVersion" == "3.13" ]]; then - __AlpinePackages="${__AlpinePackages//numactl-dev/}" fi __UbuntuPackages+=" ${__LLDB_Package:-}" @@ -407,26 +420,27 @@ if [[ "$__CodeName" == "alpine" ]]; then version="v$__AlpineVersion" fi + # initialize DB "$__ApkToolsDir/apk.static" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ - -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" --initdb \ - add $__AlpinePackages + -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" --initdb add if [[ "$__AlpineLlvmLibsLookup" == 1 ]]; then - "$__ApkToolsDir/apk.static" \ + __AlpinePackages+=" $("$__ApkToolsDir/apk.static" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ - search 'llvm*-libs' | sort | tail -1 | while IFS=- read name rest; do - "$__ApkToolsDir/apk.static" \ - -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ - -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ - -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ - add "$name-libs" - done + search 'llvm*-libs' | sort | tail -1 | sed 's/-[^-]*//2g')" fi + # install all packages in one go + "$__ApkToolsDir/apk.static" \ + -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ + -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ + -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ + add $__AlpinePackages + rm -r "$__ApkToolsDir" elif [[ "$__CodeName" == "freebsd" ]]; then mkdir -p "$__RootfsDir"/usr/local/etc diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index 61914a1fbc..b214a31db2 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -101,7 +101,7 @@ jobs: # handle key-value variable syntax. # example: # - [key]: [value] - - ${{ if and(eq(variable.name, ''), eq(variable.group, '')) }}: + - ${{ if and(eq(variable.name, ''), eq(variable.group, ''), eq(variable.template, '')) }}: - ${{ each pair in variable }}: - name: ${{ pair.key }} value: ${{ pair.value }} diff --git a/eng/common/templates/job/source-index-stage1.yml b/eng/common/templates/job/source-index-stage1.yml index 71b66aeb8a..b98202aa02 100644 --- a/eng/common/templates/job/source-index-stage1.yml +++ b/eng/common/templates/job/source-index-stage1.yml @@ -1,6 +1,6 @@ parameters: runAsPublic: false - sourceIndexPackageVersion: 1.0.1-20221220.2 + sourceIndexPackageVersion: 1.0.1-20230228.2 sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci" preSteps: [] diff --git a/global.json b/global.json index 991af0384f..231b2b90ae 100644 --- a/global.json +++ b/global.json @@ -1,8 +1,8 @@ { "tools": { - "dotnet": "8.0.100-alpha.1.23061.8" + "dotnet": "8.0.100-preview.1.23115.2" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23120.1" + "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23152.1" } } From 8937ac7a3a2ea6efdf3b908a9d5cc14d37f911cf Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Fri, 3 Mar 2023 17:02:37 -0600 Subject: [PATCH 08/11] Move system.threading.tasks,4.3.0 to the correct folder (#554) --- .../4.3.0/System.Threading.Tasks.4.3.0.csproj | 0 .../4.3.0/ref/net45/_._ | 0 .../4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs | 0 .../4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs | 0 .../4.3.0/system.threading.tasks.nuspec | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename src/referencePackages/src/{system.reflection.metadata => system.threading.tasks}/4.3.0/System.Threading.Tasks.4.3.0.csproj (100%) rename src/referencePackages/src/{system.reflection.metadata => system.threading.tasks}/4.3.0/ref/net45/_._ (100%) rename src/referencePackages/src/{system.reflection.metadata => system.threading.tasks}/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs (100%) rename src/referencePackages/src/{system.reflection.metadata => system.threading.tasks}/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs (100%) rename src/referencePackages/src/{system.reflection.metadata => system.threading.tasks}/4.3.0/system.threading.tasks.nuspec (100%) diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj b/src/referencePackages/src/system.threading.tasks/4.3.0/System.Threading.Tasks.4.3.0.csproj similarity index 100% rename from src/referencePackages/src/system.reflection.metadata/4.3.0/System.Threading.Tasks.4.3.0.csproj rename to src/referencePackages/src/system.threading.tasks/4.3.0/System.Threading.Tasks.4.3.0.csproj diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/net45/_._ b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/net45/_._ similarity index 100% rename from src/referencePackages/src/system.reflection.metadata/4.3.0/ref/net45/_._ rename to src/referencePackages/src/system.threading.tasks/4.3.0/ref/net45/_._ diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs similarity index 100% rename from src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs rename to src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs similarity index 100% rename from src/referencePackages/src/system.reflection.metadata/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs rename to src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs diff --git a/src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec b/src/referencePackages/src/system.threading.tasks/4.3.0/system.threading.tasks.nuspec similarity index 100% rename from src/referencePackages/src/system.reflection.metadata/4.3.0/system.threading.tasks.nuspec rename to src/referencePackages/src/system.threading.tasks/4.3.0/system.threading.tasks.nuspec From a3ee2277e860df151d33d72e9b7fabf1e564b3d8 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Fri, 3 Mar 2023 17:27:08 -0600 Subject: [PATCH 09/11] Add Humanizer.Core,2.2.0 (#553) --- eng/Build.props | 1 + eng/Version.Details.xml | 7 - .../2.2.0/Humanizer.Core.2.2.0.csproj | 27 + .../2.2.0/humanizer.core.nuspec | 23 + .../2.2.0/lib/netstandard1.0/Humanizer.cs | 1222 +++++++++++++++++ .../src/humanizer.core/Directory.Build.props | 9 + 6 files changed, 1282 insertions(+), 7 deletions(-) create mode 100644 src/referencePackages/src/humanizer.core/2.2.0/Humanizer.Core.2.2.0.csproj create mode 100755 src/referencePackages/src/humanizer.core/2.2.0/humanizer.core.nuspec create mode 100644 src/referencePackages/src/humanizer.core/2.2.0/lib/netstandard1.0/Humanizer.cs create mode 100644 src/referencePackages/src/humanizer.core/Directory.Build.props diff --git a/eng/Build.props b/eng/Build.props index adbab9453e..cddebf6df8 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -19,6 +19,7 @@ --> + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 15c974f9b7..a60f7504dc 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,12 +1,5 @@ - - - https://github.com/dotnet/source-build-externals - 4b86d4b30ec51a3d8953a6b87e4a795197fa987f - - - https://github.com/dotnet/source-build-reference-packages diff --git a/src/referencePackages/src/humanizer.core/2.2.0/Humanizer.Core.2.2.0.csproj b/src/referencePackages/src/humanizer.core/2.2.0/Humanizer.Core.2.2.0.csproj new file mode 100644 index 0000000000..4639838ddf --- /dev/null +++ b/src/referencePackages/src/humanizer.core/2.2.0/Humanizer.Core.2.2.0.csproj @@ -0,0 +1,27 @@ + + + + + netstandard1.0 + $(ArtifactsBinDir)humanizer.core/2.2.0/humanizer.core.nuspec + + + + $(ArtifactsBinDir)humanizer.core/2.2.0/ref/ + $(ArtifactsObjDir)humanizer.core/2.2.0 + + + + $(ArtifactsBinDir)humanizer.core/2.2.0/lib/ + + + + + + + + + + + + diff --git a/src/referencePackages/src/humanizer.core/2.2.0/humanizer.core.nuspec b/src/referencePackages/src/humanizer.core/2.2.0/humanizer.core.nuspec new file mode 100755 index 0000000000..99d9dfcc9a --- /dev/null +++ b/src/referencePackages/src/humanizer.core/2.2.0/humanizer.core.nuspec @@ -0,0 +1,23 @@ + + + + Humanizer.Core + 2.2.0 + Humanizer Locale (en) + Mehdi Khalili, Oren Novotny + Mehdi Khalili, onovotny + false + https://raw.githubusercontent.com/Humanizr/Humanizer/master/LICENSE + https://github.com/Humanizr/Humanizer + https://raw.github.com/Humanizr/Humanizer/master/logo.png + Humanizer core package that contains the library and the neutral language (English) resources + Copyright 2012-2016 + en + + + + + + + + diff --git a/src/referencePackages/src/humanizer.core/2.2.0/lib/netstandard1.0/Humanizer.cs b/src/referencePackages/src/humanizer.core/2.2.0/lib/netstandard1.0/Humanizer.cs new file mode 100644 index 0000000000..11a08ba45f --- /dev/null +++ b/src/referencePackages/src/humanizer.core/2.2.0/lib/netstandard1.0/Humanizer.cs @@ -0,0 +1,1222 @@ +// 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. +// ------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security; + +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: AllowPartiallyTrustedCallers] +[assembly: ReferenceAssembly] +[assembly: AssemblyTitle("Humanizer.Core")] +[assembly: AssemblyDescription("Humanizer.Core")] +[assembly: AssemblyDefaultAlias("Humanizer.Core")] +[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyProduct("Microsoft® .NET Framework")] +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: AssemblyFileVersion("2.2.0.0")] +[assembly: AssemblyInformationalVersion("2.2.0.0 built by: SOURCEBUILD")] +[assembly: CLSCompliant(true)] +[assembly: AssemblyMetadata("", "")] +[assembly: AssemblyVersion("2.2.0.0")] + + + + +namespace Humanizer +{ + public static partial class ByteSizeExtensions + { + public static Humanizer.Bytes.ByteSize Bits(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Bits(this uint input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this double input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Bytes(this uint input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this double input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Gigabytes(this uint input) { throw null; } + public static string Humanize(this Humanizer.Bytes.ByteSize input, string format = null) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this double input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Kilobytes(this uint input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this double input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Megabytes(this uint input) { throw null; } + public static Humanizer.Bytes.ByteRate Per(this Humanizer.Bytes.ByteSize size, System.TimeSpan interval) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this byte input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this double input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this short input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this int input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this long input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this sbyte input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this ushort input) { throw null; } + public static Humanizer.Bytes.ByteSize Terabytes(this uint input) { throw null; } + } + public static partial class CasingExtensions + { + public static string ApplyCase(this string input, Humanizer.LetterCasing casing) { throw null; } + } + public static partial class CollectionHumanizeExtensions + { + public static string Humanize(this System.Collections.Generic.IEnumerable collection) { throw null; } + public static string Humanize(this System.Collections.Generic.IEnumerable collection, System.Func displayFormatter) { throw null; } + public static string Humanize(this System.Collections.Generic.IEnumerable collection, System.Func displayFormatter, string separator) { throw null; } + public static string Humanize(this System.Collections.Generic.IEnumerable collection, string separator) { throw null; } + } + public static partial class DateHumanizeExtensions + { + public static string Humanize(this System.DateTime input, bool utcDate = true, System.DateTime? dateToCompareAgainst = default(System.DateTime?), System.Globalization.CultureInfo culture = null) { throw null; } + public static string Humanize(this System.DateTimeOffset input, System.DateTimeOffset? dateToCompareAgainst = default(System.DateTimeOffset?), System.Globalization.CultureInfo culture = null) { throw null; } + public static string Humanize(this System.DateTimeOffset? input, System.DateTimeOffset? dateToCompareAgainst = default(System.DateTimeOffset?), System.Globalization.CultureInfo culture = null) { throw null; } + public static string Humanize(this System.DateTime? input, bool utcDate = true, System.DateTime? dateToCompareAgainst = default(System.DateTime?), System.Globalization.CultureInfo culture = null) { throw null; } + } + public static partial class DateToOrdinalWordsExtensions + { + public static string ToOrdinalWords(this System.DateTime input) { throw null; } + public static string ToOrdinalWords(this System.DateTime input, Humanizer.GrammaticalCase grammaticalCase) { throw null; } + } + public static partial class EnumDehumanizeExtensions + { + public static System.Enum DehumanizeTo(this string input, System.Type targetEnum, Humanizer.OnNoMatch onNoMatch = Humanizer.OnNoMatch.ThrowsException) { throw null; } + public static TTargetEnum DehumanizeTo(this string input) where TTargetEnum : struct { throw null; } + } + public static partial class EnumHumanizeExtensions + { + public static string Humanize(this System.Enum input) { throw null; } + public static string Humanize(this System.Enum input, Humanizer.LetterCasing casing) { throw null; } + } + public enum GrammaticalCase + { + Nominative = 0, + Genitive = 1, + Dative = 2, + Accusative = 3, + Instrumental = 4, + Prepositional = 5, + } + public enum GrammaticalGender + { + Masculine = 0, + Feminine = 1, + Neuter = 2, + } + public partial class In + { + public In() { } + public static System.DateTime April { get { throw null; } } + public static System.DateTime August { get { throw null; } } + public static System.DateTime December { get { throw null; } } + public static System.DateTime February { get { throw null; } } + public static System.DateTime January { get { throw null; } } + public static System.DateTime July { get { throw null; } } + public static System.DateTime June { get { throw null; } } + public static System.DateTime March { get { throw null; } } + public static System.DateTime May { get { throw null; } } + public static System.DateTime November { get { throw null; } } + public static System.DateTime October { get { throw null; } } + public static System.DateTime September { get { throw null; } } + public static System.DateTime AprilOf(int year) { throw null; } + public static System.DateTime AugustOf(int year) { throw null; } + public static System.DateTime DecemberOf(int year) { throw null; } + public static System.DateTime FebruaryOf(int year) { throw null; } + public static System.DateTime JanuaryOf(int year) { throw null; } + public static System.DateTime JulyOf(int year) { throw null; } + public static System.DateTime JuneOf(int year) { throw null; } + public static System.DateTime MarchOf(int year) { throw null; } + public static System.DateTime MayOf(int year) { throw null; } + public static System.DateTime NovemberOf(int year) { throw null; } + public static System.DateTime OctoberOf(int year) { throw null; } + public static System.DateTime SeptemberOf(int year) { throw null; } + public static System.DateTime TheYear(int year) { throw null; } + public static partial class Eight + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Five + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Four + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Nine + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class One + { + public static System.DateTime Day { get { throw null; } } + public static System.DateTime Hour { get { throw null; } } + public static System.DateTime Minute { get { throw null; } } + public static System.DateTime Month { get { throw null; } } + public static System.DateTime Second { get { throw null; } } + public static System.DateTime Week { get { throw null; } } + public static System.DateTime Year { get { throw null; } } + public static System.DateTime DayFrom(System.DateTime date) { throw null; } + public static System.DateTime HourFrom(System.DateTime date) { throw null; } + public static System.DateTime MinuteFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondFrom(System.DateTime date) { throw null; } + public static System.DateTime WeekFrom(System.DateTime date) { throw null; } + public static System.DateTime YearFrom(System.DateTime date) { throw null; } + } + public static partial class Seven + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Six + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Ten + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Three + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + public static partial class Two + { + public static System.DateTime Days { get { throw null; } } + public static System.DateTime Hours { get { throw null; } } + public static System.DateTime Minutes { get { throw null; } } + public static System.DateTime Months { get { throw null; } } + public static System.DateTime Seconds { get { throw null; } } + public static System.DateTime Weeks { get { throw null; } } + public static System.DateTime Years { get { throw null; } } + public static System.DateTime DaysFrom(System.DateTime date) { throw null; } + public static System.DateTime HoursFrom(System.DateTime date) { throw null; } + public static System.DateTime MinutesFrom(System.DateTime date) { throw null; } + public static System.DateTime MonthsFrom(System.DateTime date) { throw null; } + public static System.DateTime SecondsFrom(System.DateTime date) { throw null; } + public static System.DateTime WeeksFrom(System.DateTime date) { throw null; } + public static System.DateTime YearsFrom(System.DateTime date) { throw null; } + } + } + public static partial class InflectorExtensions + { + public static string Camelize(this string input) { throw null; } + public static string Dasherize(this string underscoredWord) { throw null; } + public static string Hyphenate(this string underscoredWord) { throw null; } + public static string Kebaberize(this string input) { throw null; } + public static string Pascalize(this string input) { throw null; } + public static string Pluralize(this string word, bool inputIsKnownToBeSingular = true) { throw null; } + public static string Singularize(this string word, bool inputIsKnownToBePlural = true) { throw null; } + public static string Titleize(this string input) { throw null; } + public static string Underscore(this string input) { throw null; } + } + public partial interface IStringTransformer + { + string Transform(string input); + } + public partial interface ITruncator + { + string Truncate(string value, int length, string truncationString, Humanizer.TruncateFrom truncateFrom = Humanizer.TruncateFrom.Right); + } + public enum LetterCasing + { + Title = 0, + AllCaps = 1, + LowerCase = 2, + Sentence = 3, + } + public static partial class MetricNumeralExtensions + { + public static double FromMetric(this string input) { throw null; } + public static string ToMetric(this double input, bool hasSpace = false, bool useSymbol = true, int? decimals = default(int?)) { throw null; } + public static string ToMetric(this int input, bool hasSpace = false, bool useSymbol = true, int? decimals = default(int?)) { throw null; } + } + public partial class NoMatchFoundException : System.Exception + { + public NoMatchFoundException() { } + public NoMatchFoundException(string message) { } + public NoMatchFoundException(string message, System.Exception inner) { } + } + public static partial class NumberToNumberExtensions + { + public static double Billions(this double input) { throw null; } + public static int Billions(this int input) { throw null; } + public static long Billions(this long input) { throw null; } + public static uint Billions(this uint input) { throw null; } + public static ulong Billions(this ulong input) { throw null; } + public static double Hundreds(this double input) { throw null; } + public static int Hundreds(this int input) { throw null; } + public static long Hundreds(this long input) { throw null; } + public static uint Hundreds(this uint input) { throw null; } + public static ulong Hundreds(this ulong input) { throw null; } + public static double Millions(this double input) { throw null; } + public static int Millions(this int input) { throw null; } + public static long Millions(this long input) { throw null; } + public static uint Millions(this uint input) { throw null; } + public static ulong Millions(this ulong input) { throw null; } + public static double Tens(this double input) { throw null; } + public static int Tens(this int input) { throw null; } + public static long Tens(this long input) { throw null; } + public static uint Tens(this uint input) { throw null; } + public static ulong Tens(this ulong input) { throw null; } + public static double Thousands(this double input) { throw null; } + public static int Thousands(this int input) { throw null; } + public static long Thousands(this long input) { throw null; } + public static uint Thousands(this uint input) { throw null; } + public static ulong Thousands(this ulong input) { throw null; } + } + public static partial class NumberToTimeSpanExtensions + { + public static System.TimeSpan Days(this byte days) { throw null; } + public static System.TimeSpan Days(this double days) { throw null; } + public static System.TimeSpan Days(this short days) { throw null; } + public static System.TimeSpan Days(this int days) { throw null; } + public static System.TimeSpan Days(this long days) { throw null; } + public static System.TimeSpan Days(this sbyte days) { throw null; } + public static System.TimeSpan Days(this ushort days) { throw null; } + public static System.TimeSpan Days(this uint days) { throw null; } + public static System.TimeSpan Days(this ulong days) { throw null; } + public static System.TimeSpan Hours(this byte hours) { throw null; } + public static System.TimeSpan Hours(this double hours) { throw null; } + public static System.TimeSpan Hours(this short hours) { throw null; } + public static System.TimeSpan Hours(this int hours) { throw null; } + public static System.TimeSpan Hours(this long hours) { throw null; } + public static System.TimeSpan Hours(this sbyte hours) { throw null; } + public static System.TimeSpan Hours(this ushort hours) { throw null; } + public static System.TimeSpan Hours(this uint hours) { throw null; } + public static System.TimeSpan Hours(this ulong hours) { throw null; } + public static System.TimeSpan Milliseconds(this byte ms) { throw null; } + public static System.TimeSpan Milliseconds(this double ms) { throw null; } + public static System.TimeSpan Milliseconds(this short ms) { throw null; } + public static System.TimeSpan Milliseconds(this int ms) { throw null; } + public static System.TimeSpan Milliseconds(this long ms) { throw null; } + public static System.TimeSpan Milliseconds(this sbyte ms) { throw null; } + public static System.TimeSpan Milliseconds(this ushort ms) { throw null; } + public static System.TimeSpan Milliseconds(this uint ms) { throw null; } + public static System.TimeSpan Milliseconds(this ulong ms) { throw null; } + public static System.TimeSpan Minutes(this byte minutes) { throw null; } + public static System.TimeSpan Minutes(this double minutes) { throw null; } + public static System.TimeSpan Minutes(this short minutes) { throw null; } + public static System.TimeSpan Minutes(this int minutes) { throw null; } + public static System.TimeSpan Minutes(this long minutes) { throw null; } + public static System.TimeSpan Minutes(this sbyte minutes) { throw null; } + public static System.TimeSpan Minutes(this ushort minutes) { throw null; } + public static System.TimeSpan Minutes(this uint minutes) { throw null; } + public static System.TimeSpan Minutes(this ulong minutes) { throw null; } + public static System.TimeSpan Seconds(this byte seconds) { throw null; } + public static System.TimeSpan Seconds(this double seconds) { throw null; } + public static System.TimeSpan Seconds(this short seconds) { throw null; } + public static System.TimeSpan Seconds(this int seconds) { throw null; } + public static System.TimeSpan Seconds(this long seconds) { throw null; } + public static System.TimeSpan Seconds(this sbyte seconds) { throw null; } + public static System.TimeSpan Seconds(this ushort seconds) { throw null; } + public static System.TimeSpan Seconds(this uint seconds) { throw null; } + public static System.TimeSpan Seconds(this ulong seconds) { throw null; } + public static System.TimeSpan Weeks(this byte input) { throw null; } + public static System.TimeSpan Weeks(this double input) { throw null; } + public static System.TimeSpan Weeks(this short input) { throw null; } + public static System.TimeSpan Weeks(this int input) { throw null; } + public static System.TimeSpan Weeks(this long input) { throw null; } + public static System.TimeSpan Weeks(this sbyte input) { throw null; } + public static System.TimeSpan Weeks(this ushort input) { throw null; } + public static System.TimeSpan Weeks(this uint input) { throw null; } + public static System.TimeSpan Weeks(this ulong input) { throw null; } + } + public static partial class NumberToWordsExtension + { + public static string ToOrdinalWords(this int number, Humanizer.GrammaticalGender gender, System.Globalization.CultureInfo culture = null) { throw null; } + public static string ToOrdinalWords(this int number, System.Globalization.CultureInfo culture = null) { throw null; } + public static string ToWords(this int number, Humanizer.GrammaticalGender gender, System.Globalization.CultureInfo culture = null) { throw null; } + public static string ToWords(this int number, System.Globalization.CultureInfo culture = null) { throw null; } + public static string ToWords(this long number, Humanizer.GrammaticalGender gender, System.Globalization.CultureInfo culture = null) { throw null; } + public static string ToWords(this long number, System.Globalization.CultureInfo culture = null) { throw null; } + } + public partial class On + { + public On() { } + public partial class April + { + public April() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class August + { + public August() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class December + { + public December() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class February + { + public February() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class January + { + public January() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class July + { + public July() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class June + { + public June() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class March + { + public March() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class May + { + public May() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class November + { + public November() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class October + { + public October() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The31st { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + public partial class September + { + public September() { } + public static System.DateTime The10th { get { throw null; } } + public static System.DateTime The11th { get { throw null; } } + public static System.DateTime The12th { get { throw null; } } + public static System.DateTime The13th { get { throw null; } } + public static System.DateTime The14th { get { throw null; } } + public static System.DateTime The15th { get { throw null; } } + public static System.DateTime The16th { get { throw null; } } + public static System.DateTime The17th { get { throw null; } } + public static System.DateTime The18th { get { throw null; } } + public static System.DateTime The19th { get { throw null; } } + public static System.DateTime The1st { get { throw null; } } + public static System.DateTime The20th { get { throw null; } } + public static System.DateTime The21st { get { throw null; } } + public static System.DateTime The22nd { get { throw null; } } + public static System.DateTime The23rd { get { throw null; } } + public static System.DateTime The24th { get { throw null; } } + public static System.DateTime The25th { get { throw null; } } + public static System.DateTime The26th { get { throw null; } } + public static System.DateTime The27th { get { throw null; } } + public static System.DateTime The28th { get { throw null; } } + public static System.DateTime The29th { get { throw null; } } + public static System.DateTime The2nd { get { throw null; } } + public static System.DateTime The30th { get { throw null; } } + public static System.DateTime The3rd { get { throw null; } } + public static System.DateTime The4th { get { throw null; } } + public static System.DateTime The5th { get { throw null; } } + public static System.DateTime The6th { get { throw null; } } + public static System.DateTime The7th { get { throw null; } } + public static System.DateTime The8th { get { throw null; } } + public static System.DateTime The9th { get { throw null; } } + public static System.DateTime The(int dayNumber) { throw null; } + } + } + public enum OnNoMatch + { + ThrowsException = 0, + ReturnsNull = 1, + } + public static partial class OrdinalizeExtensions + { + public static string Ordinalize(this int number) { throw null; } + public static string Ordinalize(this int number, Humanizer.GrammaticalGender gender) { throw null; } + public static string Ordinalize(this string numberString) { throw null; } + public static string Ordinalize(this string numberString, Humanizer.GrammaticalGender gender) { throw null; } + } + public enum Plurality + { + Singular = 0, + Plural = 1, + CouldBeEither = 2, + } + public static partial class PrepositionsExtensions + { + public static System.DateTime At(this System.DateTime date, int hour, int min = 0, int second = 0, int millisecond = 0) { throw null; } + public static System.DateTime AtMidnight(this System.DateTime date) { throw null; } + public static System.DateTime AtNoon(this System.DateTime date) { throw null; } + public static System.DateTime In(this System.DateTime date, int year) { throw null; } + } + public static partial class RomanNumeralExtensions + { + public static int FromRoman(this string input) { throw null; } + public static string ToRoman(this int input) { throw null; } + } + public enum ShowQuantityAs + { + None = 0, + Numeric = 1, + Words = 2, + } + public static partial class StringDehumanizeExtensions + { + public static string Dehumanize(this string input) { throw null; } + } + public static partial class StringExtensions + { + public static string FormatWith(this string format, System.IFormatProvider provider, params object[] args) { throw null; } + public static string FormatWith(this string format, params object[] args) { throw null; } + } + public static partial class StringHumanizeExtensions + { + public static string Humanize(this string input) { throw null; } + public static string Humanize(this string input, Humanizer.LetterCasing casing) { throw null; } + } + public static partial class TimeSpanHumanizeExtensions + { + public static string Humanize(this System.TimeSpan timeSpan, int precision, bool countEmptyUnits, System.Globalization.CultureInfo culture = null, Humanizer.Localisation.TimeUnit maxUnit = Humanizer.Localisation.TimeUnit.Week, Humanizer.Localisation.TimeUnit minUnit = Humanizer.Localisation.TimeUnit.Millisecond, string collectionSeparator = ", ") { throw null; } + public static string Humanize(this System.TimeSpan timeSpan, int precision = 1, System.Globalization.CultureInfo culture = null, Humanizer.Localisation.TimeUnit maxUnit = Humanizer.Localisation.TimeUnit.Week, Humanizer.Localisation.TimeUnit minUnit = Humanizer.Localisation.TimeUnit.Millisecond, string collectionSeparator = ", ") { throw null; } + } + public static partial class To + { + public static Humanizer.IStringTransformer LowerCase { get { throw null; } } + public static Humanizer.IStringTransformer SentenceCase { get { throw null; } } + public static Humanizer.IStringTransformer TitleCase { get { throw null; } } + public static Humanizer.IStringTransformer UpperCase { get { throw null; } } + public static string Transform(this string input, params Humanizer.IStringTransformer[] transformers) { throw null; } + } + public static partial class ToQuantityExtensions + { + public static string ToQuantity(this string input, int quantity, Humanizer.ShowQuantityAs showQuantityAs = Humanizer.ShowQuantityAs.Numeric) { throw null; } + public static string ToQuantity(this string input, int quantity, string format, System.IFormatProvider formatProvider = null) { throw null; } + public static string ToQuantity(this string input, long quantity, Humanizer.ShowQuantityAs showQuantityAs = Humanizer.ShowQuantityAs.Numeric) { throw null; } + public static string ToQuantity(this string input, long quantity, string format, System.IFormatProvider formatProvider = null) { throw null; } + } + public static partial class TruncateExtensions + { + public static string Truncate(this string input, int length) { throw null; } + public static string Truncate(this string input, int length, Humanizer.ITruncator truncator, Humanizer.TruncateFrom from = Humanizer.TruncateFrom.Right) { throw null; } + public static string Truncate(this string input, int length, string truncationString, Humanizer.ITruncator truncator, Humanizer.TruncateFrom from = Humanizer.TruncateFrom.Right) { throw null; } + public static string Truncate(this string input, int length, string truncationString, Humanizer.TruncateFrom from = Humanizer.TruncateFrom.Right) { throw null; } + } + public enum TruncateFrom + { + Left = 0, + Right = 1, + } + public static partial class Truncator + { + public static Humanizer.ITruncator FixedLength { get { throw null; } } + public static Humanizer.ITruncator FixedNumberOfCharacters { get { throw null; } } + public static Humanizer.ITruncator FixedNumberOfWords { get { throw null; } } + } +} +namespace Humanizer.Bytes +{ + public partial class ByteRate + { + public ByteRate(Humanizer.Bytes.ByteSize size, System.TimeSpan interval) { } + public System.TimeSpan Interval { get { throw null; } } + public Humanizer.Bytes.ByteSize Size { get { throw null; } } + public string Humanize(Humanizer.Localisation.TimeUnit timeUnit = Humanizer.Localisation.TimeUnit.Second) { throw null; } + public string Humanize(string format, Humanizer.Localisation.TimeUnit timeUnit = Humanizer.Localisation.TimeUnit.Second) { throw null; } + } + public partial struct ByteSize : System.IComparable, System.IComparable, System.IEquatable + { + private int _dummyPrimitive; + public const long BitsInByte = (long)8; + public const string BitSymbol = "b"; + public const long BytesInGigabyte = (long)1073741824; + public const long BytesInKilobyte = (long)1024; + public const long BytesInMegabyte = (long)1048576; + public const long BytesInTerabyte = (long)1099511627776; + public const string ByteSymbol = "B"; + public const string GigabyteSymbol = "GB"; + public const string KilobyteSymbol = "KB"; + public static readonly Humanizer.Bytes.ByteSize MaxValue; + public const string MegabyteSymbol = "MB"; + public static readonly Humanizer.Bytes.ByteSize MinValue; + public const string TerabyteSymbol = "TB"; + public ByteSize(double byteSize) { throw null; } + public long Bits { get { throw null; } } + public double Bytes { get { throw null; } } + public double Gigabytes { get { throw null; } } + public double Kilobytes { get { throw null; } } + public string LargestWholeNumberSymbol { get { throw null; } } + public double LargestWholeNumberValue { get { throw null; } } + public double Megabytes { get { throw null; } } + public double Terabytes { get { throw null; } } + public Humanizer.Bytes.ByteSize Add(Humanizer.Bytes.ByteSize bs) { throw null; } + public Humanizer.Bytes.ByteSize AddBits(long value) { throw null; } + public Humanizer.Bytes.ByteSize AddBytes(double value) { throw null; } + public Humanizer.Bytes.ByteSize AddGigabytes(double value) { throw null; } + public Humanizer.Bytes.ByteSize AddKilobytes(double value) { throw null; } + public Humanizer.Bytes.ByteSize AddMegabytes(double value) { throw null; } + public Humanizer.Bytes.ByteSize AddTerabytes(double value) { throw null; } + public int CompareTo(Humanizer.Bytes.ByteSize other) { throw null; } + public int CompareTo(object obj) { throw null; } + public bool Equals(Humanizer.Bytes.ByteSize value) { throw null; } + public override bool Equals(object value) { throw null; } + public static Humanizer.Bytes.ByteSize FromBits(long value) { throw null; } + public static Humanizer.Bytes.ByteSize FromBytes(double value) { throw null; } + public static Humanizer.Bytes.ByteSize FromGigabytes(double value) { throw null; } + public static Humanizer.Bytes.ByteSize FromKilobytes(double value) { throw null; } + public static Humanizer.Bytes.ByteSize FromMegabytes(double value) { throw null; } + public static Humanizer.Bytes.ByteSize FromTerabytes(double value) { throw null; } + public override int GetHashCode() { throw null; } + public static Humanizer.Bytes.ByteSize operator +(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static Humanizer.Bytes.ByteSize operator --(Humanizer.Bytes.ByteSize b) { throw null; } + public static bool operator ==(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static bool operator >(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static bool operator >=(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static Humanizer.Bytes.ByteSize operator ++(Humanizer.Bytes.ByteSize b) { throw null; } + public static bool operator !=(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static bool operator <(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static bool operator <=(Humanizer.Bytes.ByteSize b1, Humanizer.Bytes.ByteSize b2) { throw null; } + public static Humanizer.Bytes.ByteSize operator -(Humanizer.Bytes.ByteSize b) { throw null; } + public static Humanizer.Bytes.ByteSize Parse(string s) { throw null; } + public Humanizer.Bytes.ByteSize Subtract(Humanizer.Bytes.ByteSize bs) { throw null; } + public override string ToString() { throw null; } + public string ToString(string format) { throw null; } + public static bool TryParse(string s, out Humanizer.Bytes.ByteSize result) { throw null; } + } +} +namespace Humanizer.Configuration +{ + public static partial class Configurator + { + public static Humanizer.Configuration.LocaliserRegistry CollectionFormatters { get { throw null; } } + public static Humanizer.DateTimeHumanizeStrategy.IDateTimeHumanizeStrategy DateTimeHumanizeStrategy { get { throw null; } set { } } + public static Humanizer.DateTimeHumanizeStrategy.IDateTimeOffsetHumanizeStrategy DateTimeOffsetHumanizeStrategy { get { throw null; } set { } } + public static Humanizer.Configuration.LocaliserRegistry DateToOrdinalWordsConverters { get { throw null; } } + public static System.Func EnumDescriptionPropertyLocator { get { throw null; } set { } } + public static Humanizer.Configuration.LocaliserRegistry Formatters { get { throw null; } } + public static Humanizer.Configuration.LocaliserRegistry NumberToWordsConverters { get { throw null; } } + public static Humanizer.Configuration.LocaliserRegistry Ordinalizers { get { throw null; } } + } + public partial class LocaliserRegistry where TLocaliser : class + { + public LocaliserRegistry(System.Func defaultLocaliser) { } + public LocaliserRegistry(TLocaliser defaultLocaliser) { } + public void Register(string localeCode, System.Func localiser) { } + public void Register(string localeCode, TLocaliser localiser) { } + public TLocaliser ResolveForCulture(System.Globalization.CultureInfo culture) { throw null; } + public TLocaliser ResolveForUiCulture() { throw null; } + } +} +namespace Humanizer.DateTimeHumanizeStrategy +{ + public partial class DefaultDateTimeHumanizeStrategy : Humanizer.DateTimeHumanizeStrategy.IDateTimeHumanizeStrategy + { + public DefaultDateTimeHumanizeStrategy() { } + public string Humanize(System.DateTime input, System.DateTime comparisonBase, System.Globalization.CultureInfo culture) { throw null; } + } + public partial class DefaultDateTimeOffsetHumanizeStrategy : Humanizer.DateTimeHumanizeStrategy.IDateTimeOffsetHumanizeStrategy + { + public DefaultDateTimeOffsetHumanizeStrategy() { } + public string Humanize(System.DateTimeOffset input, System.DateTimeOffset comparisonBase, System.Globalization.CultureInfo culture) { throw null; } + } + public partial interface IDateTimeHumanizeStrategy + { + string Humanize(System.DateTime input, System.DateTime comparisonBase, System.Globalization.CultureInfo culture); + } + public partial interface IDateTimeOffsetHumanizeStrategy + { + string Humanize(System.DateTimeOffset input, System.DateTimeOffset comparisonBase, System.Globalization.CultureInfo culture); + } + public partial class PrecisionDateTimeHumanizeStrategy : Humanizer.DateTimeHumanizeStrategy.IDateTimeHumanizeStrategy + { + public PrecisionDateTimeHumanizeStrategy(double precision = 0.75) { } + public string Humanize(System.DateTime input, System.DateTime comparisonBase, System.Globalization.CultureInfo culture) { throw null; } + } + public partial class PrecisionDateTimeOffsetHumanizeStrategy : Humanizer.DateTimeHumanizeStrategy.IDateTimeOffsetHumanizeStrategy + { + public PrecisionDateTimeOffsetHumanizeStrategy(double precision = 0.75) { } + public string Humanize(System.DateTimeOffset input, System.DateTimeOffset comparisonBase, System.Globalization.CultureInfo culture) { throw null; } + } +} +namespace Humanizer.Inflections +{ + public static partial class Vocabularies + { + public static Humanizer.Inflections.Vocabulary Default { get { throw null; } } + } + public partial class Vocabulary + { + internal Vocabulary() { } + public void AddIrregular(string singular, string plural, bool matchEnding = true) { } + public void AddPlural(string rule, string replacement) { } + public void AddSingular(string rule, string replacement) { } + public void AddUncountable(string word) { } + public string Pluralize(string word, bool inputIsKnownToBeSingular = true) { throw null; } + public string Singularize(string word, bool inputIsKnownToBePlural = true) { throw null; } + } +} +namespace Humanizer.Localisation +{ + public partial class ResourceKeys + { + public ResourceKeys() { } + public static partial class DateHumanize + { + public const string Never = "DateHumanize_Never"; + public const string Now = "DateHumanize_Now"; + public static string GetResourceKey(Humanizer.Localisation.TimeUnit timeUnit, Humanizer.Localisation.Tense timeUnitTense, int count = 1) { throw null; } + } + public static partial class TimeSpanHumanize + { + public static string GetResourceKey(Humanizer.Localisation.TimeUnit unit, int count = 1) { throw null; } + } + } + public static partial class Resources + { + public static string GetResource(string resourceKey, System.Globalization.CultureInfo culture = null) { throw null; } + } + public enum Tense + { + Future = 0, + Past = 1, + } + public enum TimeUnit + { + Millisecond = 0, + Second = 1, + Minute = 2, + Hour = 3, + Day = 4, + Week = 5, + Month = 6, + Year = 7, + } +} +namespace Humanizer.Localisation.CollectionFormatters +{ + public partial interface ICollectionFormatter + { + string Humanize(System.Collections.Generic.IEnumerable collection); + string Humanize(System.Collections.Generic.IEnumerable collection, System.Func objectFormatter); + string Humanize(System.Collections.Generic.IEnumerable collection, System.Func objectFormatter, string separator); + string Humanize(System.Collections.Generic.IEnumerable collection, string separator); + } +} +namespace Humanizer.Localisation.DateToOrdinalWords +{ + public partial interface IDateToOrdinalWordConverter + { + string Convert(System.DateTime date); + string Convert(System.DateTime date, Humanizer.GrammaticalCase grammaticalCase); + } +} +namespace Humanizer.Localisation.Formatters +{ + public partial class DefaultFormatter : Humanizer.Localisation.Formatters.IFormatter + { + public DefaultFormatter(string localeCode) { } + public virtual string DateHumanize(Humanizer.Localisation.TimeUnit timeUnit, Humanizer.Localisation.Tense timeUnitTense, int unit) { throw null; } + public virtual string DateHumanize_Never() { throw null; } + public virtual string DateHumanize_Now() { throw null; } + protected virtual string Format(string resourceKey) { throw null; } + protected virtual string Format(string resourceKey, int number) { throw null; } + protected virtual string GetResourceKey(string resourceKey) { throw null; } + protected virtual string GetResourceKey(string resourceKey, int number) { throw null; } + public virtual string TimeSpanHumanize(Humanizer.Localisation.TimeUnit timeUnit, int unit) { throw null; } + public virtual string TimeSpanHumanize_Zero() { throw null; } + } + public partial interface IFormatter + { + string DateHumanize(Humanizer.Localisation.TimeUnit timeUnit, Humanizer.Localisation.Tense timeUnitTense, int unit); + string DateHumanize_Never(); + string DateHumanize_Now(); + string TimeSpanHumanize(Humanizer.Localisation.TimeUnit timeUnit, int unit); + string TimeSpanHumanize_Zero(); + } +} +namespace Humanizer.Localisation.NumberToWords +{ + public partial interface INumberToWordsConverter + { + string Convert(long number); + string Convert(long number, Humanizer.GrammaticalGender gender); + string ConvertToOrdinal(int number); + string ConvertToOrdinal(int number, Humanizer.GrammaticalGender gender); + } +} +namespace Humanizer.Localisation.Ordinalizers +{ + public partial interface IOrdinalizer + { + string Convert(int number, string numberString); + string Convert(int number, string numberString, Humanizer.GrammaticalGender gender); + } +} diff --git a/src/referencePackages/src/humanizer.core/Directory.Build.props b/src/referencePackages/src/humanizer.core/Directory.Build.props new file mode 100644 index 0000000000..18ffc5707d --- /dev/null +++ b/src/referencePackages/src/humanizer.core/Directory.Build.props @@ -0,0 +1,9 @@ + + + + + + Humanizer.Core + + + From c82102fd8b3b172f785c384535e04441ac261fd0 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 09:46:24 +0100 Subject: [PATCH 10/11] [main] Update dependencies from dotnet/sdk (#556) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index a60f7504dc..d01ab6a3ff 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -15,9 +15,9 @@ https://github.com/dotnet/arcade 6b3afa7543dd5d69e621015cd1569fb0960b5f24 - + https://github.com/dotnet/sdk - 76296007de509ede836e8d27481ef68c987e5faa + 1ea0e6909822242bc0bba406539bd2a7c4a1d56e https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index 02995b3532..1daf43e786 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,6 +16,6 @@ 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 - 8.0.100-preview.3.23152.9 + 8.0.100-preview.3.23154.6 From 8d7c07f5d7c46cc91ce8b13a6d04d702fe1899ec Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 09:47:11 +0100 Subject: [PATCH 11/11] [main] Update dependencies from dotnet/arcade (#555) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- global.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index d01ab6a3ff..3165fcbb9a 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -6,14 +6,14 @@ d114eecff6c3149a55cb643fba6c4e7580b9f0b7 - + https://github.com/dotnet/arcade - 6b3afa7543dd5d69e621015cd1569fb0960b5f24 + 7f6d9796cc7f594772f798358dbdd8c69b6a97af - + https://github.com/dotnet/arcade - 6b3afa7543dd5d69e621015cd1569fb0960b5f24 + 7f6d9796cc7f594772f798358dbdd8c69b6a97af https://github.com/dotnet/sdk diff --git a/eng/Versions.props b/eng/Versions.props index 1daf43e786..7306032699 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -11,7 +11,7 @@ 1.0.0-beta.20113.5 - 8.0.0-beta.23152.1 + 8.0.0-beta.23153.1 6.0.0-preview.6.21352.12 6.0.0-preview.6.21352.12 diff --git a/global.json b/global.json index 231b2b90ae..0ff945b63d 100644 --- a/global.json +++ b/global.json @@ -3,6 +3,6 @@ "dotnet": "8.0.100-preview.1.23115.2" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23152.1" + "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23153.1" } }