From 0ce83afae19c9aa940f57ec6ab86d1ac12cfbd49 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Wed, 31 May 2023 17:58:43 +0000 Subject: [PATCH 1/2] Add new reference packages required by vstest --- eng/Build.props | 6 + ...Microsoft.Bcl.AsyncInterfaces.1.0.0.csproj | 18 + .../microsoft.bcl.asyncinterfaces.nuspec | 33 + .../Microsoft.Bcl.AsyncInterfaces.cs | 144 +++ .../Microsoft.Bcl.AsyncInterfaces.cs | 34 + ...ft.Extensions.DependencyModel.3.0.0.csproj | 34 + .../Microsoft.Extensions.DependencyModel.cs | 333 +++++++ .../Microsoft.Extensions.DependencyModel.cs | 357 ++++++++ .../Microsoft.Extensions.DependencyModel.cs | 357 ++++++++ ...icrosoft.extensions.dependencymodel.nuspec | 40 + ...ntime.CompilerServices.Unsafe.4.6.0.csproj | 13 + .../System.Runtime.CompilerServices.Unsafe.cs | 100 ++ .../System.Runtime.CompilerServices.Unsafe.cs | 100 ++ ...tem.runtime.compilerservices.unsafe.nuspec | 29 + .../System.Text.Encodings.Web.4.6.0.csproj | 14 + .../System.Text.Encodings.Web.cs | 450 +++++++++ .../System.Text.Encodings.Web.cs | 437 +++++++++ .../System.Text.Encodings.Web.cs | 450 +++++++++ .../4.6.0/system.text.encodings.web.nuspec | 34 + .../4.6.0/System.Text.Json.4.6.0.csproj | 20 + .../lib/netcoreapp3.0/System.Text.Json.cs | 852 ++++++++++++++++++ .../lib/netstandard2.0/System.Text.Json.cs | 852 ++++++++++++++++++ .../4.6.0/system.text.json.nuspec | 39 + 23 files changed, 4746 insertions(+) create mode 100644 src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/Microsoft.Bcl.AsyncInterfaces.1.0.0.csproj create mode 100644 src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/microsoft.bcl.asyncinterfaces.nuspec create mode 100644 src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs create mode 100644 src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs create mode 100644 src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj create mode 100644 src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.3/Microsoft.Extensions.DependencyModel.cs create mode 100644 src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.6/Microsoft.Extensions.DependencyModel.cs create mode 100644 src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyModel.cs create mode 100644 src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/System.Runtime.CompilerServices.Unsafe.4.6.0.csproj create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.cs create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs create mode 100644 src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/system.runtime.compilerservices.unsafe.nuspec create mode 100644 src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj create mode 100644 src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netcoreapp3.0/System.Text.Encodings.Web.cs create mode 100644 src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard1.0/System.Text.Encodings.Web.cs create mode 100644 src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard2.0/System.Text.Encodings.Web.cs create mode 100644 src/referencePackages/src/system.text.encodings.web/4.6.0/system.text.encodings.web.nuspec create mode 100644 src/referencePackages/src/system.text.json/4.6.0/System.Text.Json.4.6.0.csproj create mode 100644 src/referencePackages/src/system.text.json/4.6.0/lib/netcoreapp3.0/System.Text.Json.cs create mode 100644 src/referencePackages/src/system.text.json/4.6.0/lib/netstandard2.0/System.Text.Json.cs create mode 100644 src/referencePackages/src/system.text.json/4.6.0/system.text.json.nuspec diff --git a/eng/Build.props b/eng/Build.props index 43d2b25a56..d93f0161e8 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -59,6 +59,12 @@ + + + + + + diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/Microsoft.Bcl.AsyncInterfaces.1.0.0.csproj b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/Microsoft.Bcl.AsyncInterfaces.1.0.0.csproj new file mode 100644 index 0000000000..3eb4a6619c --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/Microsoft.Bcl.AsyncInterfaces.1.0.0.csproj @@ -0,0 +1,18 @@ + + + + netstandard2.0;netstandard2.1 + Microsoft.Bcl.AsyncInterfaces + 2 + Open + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/microsoft.bcl.asyncinterfaces.nuspec b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/microsoft.bcl.asyncinterfaces.nuspec new file mode 100644 index 0000000000..40d753f210 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/microsoft.bcl.asyncinterfaces.nuspec @@ -0,0 +1,33 @@ + + + + Microsoft.Bcl.AsyncInterfaces + 1.0.0 + Microsoft.Bcl.AsyncInterfaces + Microsoft + microsoft,dotnetframework + false + https://github.com/dotnet/corefx/blob/master/LICENSE.TXT + https://github.com/dotnet/corefx + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides the IAsyncEnumerable<T> and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0. + +Commonly Used Types: +System.IAsyncDisposable +System.Collections.Generic.IAsyncEnumerable +System.Collections.Generic.IAsyncEnumerator + +When using NuGet 3.x this package requires at least version 3.4. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs new file mode 100644 index 0000000000..24d9590425 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs @@ -0,0 +1,144 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public partial interface IAsyncDisposable + { + Threading.Tasks.ValueTask DisposeAsync(); + } +} + +namespace System.Collections.Generic +{ + public partial interface IAsyncEnumerable + { + IAsyncEnumerator GetAsyncEnumerator(Threading.CancellationToken cancellationToken = default); + } + + public partial interface IAsyncEnumerator : IAsyncDisposable + { + T Current { get; } + + Threading.Tasks.ValueTask MoveNextAsync(); + } +} + +namespace System.Runtime.CompilerServices +{ + public partial struct AsyncIteratorMethodBuilder + { + private object _dummy; + private int _dummyPrimitive; + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void Complete() { } + + public static AsyncIteratorMethodBuilder Create() { throw null; } + + public void MoveNext(ref TStateMachine stateMachine) + where TStateMachine : IAsyncStateMachine { } + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] + public sealed partial class AsyncIteratorStateMachineAttribute : StateMachineAttribute + { + public AsyncIteratorStateMachineAttribute(Type stateMachineType) : base(default!) { } + } + + public readonly partial struct ConfiguredAsyncDisposable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } + } + + public readonly partial struct ConfiguredCancelableAsyncEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredCancelableAsyncEnumerable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + + public readonly ConfiguredCancelableAsyncEnumerable.Enumerator GetAsyncEnumerator() { throw null; } + + public readonly ConfiguredCancelableAsyncEnumerable WithCancellation(Threading.CancellationToken cancellationToken) { throw null; } + + public readonly partial struct Enumerator + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public T Current { get { throw null; } } + + public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } + + public readonly ConfiguredValueTaskAwaitable MoveNextAsync() { throw null; } + } + } + + [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] + public sealed partial class EnumeratorCancellationAttribute : Attribute + { + } +} + +namespace System.Threading.Tasks +{ + public static partial class TaskAsyncEnumerableExtensions + { + public static Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this IAsyncDisposable source, bool continueOnCapturedContext) { throw null; } + + public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) { throw null; } + + public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this Collections.Generic.IAsyncEnumerable source, CancellationToken cancellationToken) { throw null; } + } +} + +namespace System.Threading.Tasks.Sources +{ + public partial struct ManualResetValueTaskSourceCore + { + private TResult _result; + private object _dummy; + private int _dummyPrimitive; + public bool RunContinuationsAsynchronously { get { throw null; } set { } } + + public short Version { get { throw null; } } + + public TResult GetResult(short token) { throw null; } + + public ValueTaskSourceStatus GetStatus(short token) { throw null; } + + public void OnCompleted(Action continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) { } + + public void Reset() { } + + public void SetException(Exception error) { } + + public void SetResult(TResult result) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs new file mode 100644 index 0000000000..4f4c1a74fa --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerable<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerator<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IAsyncDisposable))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredAsyncDisposable))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.EnumeratorCancellationAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.TaskAsyncEnumerableExtensions))] diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj new file mode 100644 index 0000000000..f66e2bc179 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj @@ -0,0 +1,34 @@ + + + + netstandard1.3;netstandard1.6;netstandard2.0 + Microsoft.Extensions.DependencyModel + 2 + MicrosoftAspNetCore + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.3/Microsoft.Extensions.DependencyModel.cs b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.3/Microsoft.Extensions.DependencyModel.cs new file mode 100644 index 0000000000..b23b8ac612 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.3/Microsoft.Extensions.DependencyModel.cs @@ -0,0 +1,333 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.3", FrameworkDisplayName = "")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Abstractions for reading `.deps` files.")] +[assembly: System.Reflection.AssemblyFileVersion("3.0.19.46305")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+7d57652f33493fa022125b7f63aad0d70c52d810")] +[assembly: System.Reflection.AssemblyProduct("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.DotNet.PlatformAbstractions +{ + public partial struct HashCodeCombiner + { + private int _dummyPrimitive; + public int CombinedHash { get { throw null; } } + + public void Add(int i) { } + + public void Add(object o) { } + + public void Add(string s) { } + + public void Add(TValue value, System.Collections.Generic.IEqualityComparer comparer) { } + + public static HashCodeCombiner Start() { throw null; } + } +} + +namespace Microsoft.Extensions.DependencyModel +{ + public partial class CompilationLibrary : Library + { + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList Assemblies { get { throw null; } } + } + + public partial class CompilationOptions + { + public CompilationOptions(System.Collections.Generic.IEnumerable defines, string languageVersion, string platform, bool? allowUnsafe, bool? warningsAsErrors, bool? optimize, string keyFile, bool? delaySign, bool? publicSign, string debugType, bool? emitEntryPoint, bool? generateXmlDocumentation) { } + + public bool? AllowUnsafe { get { throw null; } } + + public string DebugType { get { throw null; } } + + public static CompilationOptions Default { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList Defines { get { throw null; } } + + public bool? DelaySign { get { throw null; } } + + public bool? EmitEntryPoint { get { throw null; } } + + public bool? GenerateXmlDocumentation { get { throw null; } } + + public string KeyFile { get { throw null; } } + + public string LanguageVersion { get { throw null; } } + + public bool? Optimize { get { throw null; } } + + public string Platform { get { throw null; } } + + public bool? PublicSign { get { throw null; } } + + public bool? WarningsAsErrors { get { throw null; } } + } + + public partial struct Dependency + { + private object _dummy; + private int _dummyPrimitive; + public Dependency(string name, string version) { } + + public string Name { get { throw null; } } + + public string Version { get { throw null; } } + + public bool Equals(Dependency other) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + } + + public partial class DependencyContext + { + public DependencyContext(TargetInfo target, CompilationOptions compilationOptions, System.Collections.Generic.IEnumerable compileLibraries, System.Collections.Generic.IEnumerable runtimeLibraries, System.Collections.Generic.IEnumerable runtimeGraph) { } + + public CompilationOptions CompilationOptions { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList CompileLibraries { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeGraph { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeLibraries { get { throw null; } } + + public TargetInfo Target { get { throw null; } } + + public DependencyContext Merge(DependencyContext other) { throw null; } + } + + public static partial class DependencyContextExtensions + { + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + } + + public partial class DependencyContextJsonReader : IDependencyContextReader, System.IDisposable + { + public void Dispose() { } + + protected virtual void Dispose(bool disposing) { } + + public DependencyContext Read(System.IO.Stream stream) { throw null; } + } + + public partial class DependencyContextWriter + { + public void Write(DependencyContext context, System.IO.Stream stream) { } + } + + public partial interface IDependencyContextReader : System.IDisposable + { + DependencyContext Read(System.IO.Stream stream); + } + + public partial class Library + { + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName = null) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable) { } + + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + + public string Hash { get { throw null; } } + + public string HashPath { get { throw null; } } + + public string Name { get { throw null; } } + + public string Path { get { throw null; } } + + public string RuntimeStoreManifestName { get { throw null; } } + + public bool Serviceable { get { throw null; } } + + public string Type { get { throw null; } } + + public string Version { get { throw null; } } + } + + public partial class ResourceAssembly + { + public ResourceAssembly(string path, string locale) { } + + public string Locale { get { throw null; } set { } } + + public string Path { get { throw null; } set { } } + } + + public partial class RuntimeAssembly + { + public RuntimeAssembly(string assemblyName, string path) { } + + public System.Reflection.AssemblyName Name { get { throw null; } } + + public string Path { get { throw null; } } + + public static RuntimeAssembly Create(string path) { throw null; } + } + + public partial class RuntimeAssetGroup + { + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable runtimeFiles) { } + + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable assetPaths) { } + + public RuntimeAssetGroup(string runtime, params string[] assetPaths) { } + + public System.Collections.Generic.IReadOnlyList AssetPaths { get { throw null; } } + + public string Runtime { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeFiles { get { throw null; } } + } + + public partial class RuntimeFallbacks + { + public RuntimeFallbacks(string runtime, System.Collections.Generic.IEnumerable fallbacks) { } + + public RuntimeFallbacks(string runtime, params string[] fallbacks) { } + + public System.Collections.Generic.IReadOnlyList Fallbacks { get { throw null; } set { } } + + public string Runtime { get { throw null; } set { } } + } + + public partial class RuntimeFile + { + public RuntimeFile(string path, string assemblyVersion, string fileVersion) { } + + public string AssemblyVersion { get { throw null; } } + + public string FileVersion { get { throw null; } } + + public string Path { get { throw null; } } + } + + public partial class RuntimeLibrary : Library + { + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList NativeLibraryGroups { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList ResourceAssemblies { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeAssemblyGroups { get { throw null; } } + } + + public partial class TargetInfo + { + public TargetInfo(string framework, string runtime, string runtimeSignature, bool isPortable) { } + + public string Framework { get { throw null; } } + + public bool IsPortable { get { throw null; } } + + public string Runtime { get { throw null; } } + + public string RuntimeSignature { get { throw null; } } + } +} + +namespace Microsoft.Extensions.DependencyModel.Resolution +{ + public partial class CompositeCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public CompositeCompilationAssemblyResolver(ICompilationAssemblyResolver[] resolvers) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class DotNetReferenceAssembliesPathResolver + { + public static readonly string DotNetReferenceAssembliesPathEnv; + public static string Resolve() { throw null; } + } + + public partial interface ICompilationAssemblyResolver + { + bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies); + } + + public partial class PackageCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public PackageCompilationAssemblyResolver() { } + + public PackageCompilationAssemblyResolver(string nugetPackageDirectory) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class ReferenceAssemblyPathResolver : ICompilationAssemblyResolver + { + public ReferenceAssemblyPathResolver() { } + + public ReferenceAssemblyPathResolver(string defaultReferenceAssembliesPath, string[] fallbackSearchPaths) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } +} + +namespace System.Collections.Generic +{ + public static partial class CollectionExtensions + { + public static IEnumerable GetDefaultAssets(this IEnumerable self) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetDefaultGroup(this IEnumerable self) { throw null; } + + public static IEnumerable GetDefaultRuntimeFileAssets(this IEnumerable self) { throw null; } + + public static IEnumerable GetRuntimeAssets(this IEnumerable self, string runtime) { throw null; } + + public static IEnumerable GetRuntimeFileAssets(this IEnumerable self, string runtime) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetRuntimeGroup(this IEnumerable self, string runtime) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.6/Microsoft.Extensions.DependencyModel.cs b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.6/Microsoft.Extensions.DependencyModel.cs new file mode 100644 index 0000000000..59e177770b --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard1.6/Microsoft.Extensions.DependencyModel.cs @@ -0,0 +1,357 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.6", FrameworkDisplayName = "")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Abstractions for reading `.deps` files.")] +[assembly: System.Reflection.AssemblyFileVersion("3.0.19.46305")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+7d57652f33493fa022125b7f63aad0d70c52d810")] +[assembly: System.Reflection.AssemblyProduct("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.DotNet.PlatformAbstractions +{ + public partial struct HashCodeCombiner + { + private int _dummyPrimitive; + public int CombinedHash { get { throw null; } } + + public void Add(int i) { } + + public void Add(object o) { } + + public void Add(string s) { } + + public void Add(TValue value, System.Collections.Generic.IEqualityComparer comparer) { } + + public static HashCodeCombiner Start() { throw null; } + } +} + +namespace Microsoft.Extensions.DependencyModel +{ + public partial class CompilationLibrary : Library + { + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList Assemblies { get { throw null; } } + + public System.Collections.Generic.IEnumerable ResolveReferencePaths() { throw null; } + + public System.Collections.Generic.IEnumerable ResolveReferencePaths(params Resolution.ICompilationAssemblyResolver[] customResolvers) { throw null; } + } + + public partial class CompilationOptions + { + public CompilationOptions(System.Collections.Generic.IEnumerable defines, string languageVersion, string platform, bool? allowUnsafe, bool? warningsAsErrors, bool? optimize, string keyFile, bool? delaySign, bool? publicSign, string debugType, bool? emitEntryPoint, bool? generateXmlDocumentation) { } + + public bool? AllowUnsafe { get { throw null; } } + + public string DebugType { get { throw null; } } + + public static CompilationOptions Default { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList Defines { get { throw null; } } + + public bool? DelaySign { get { throw null; } } + + public bool? EmitEntryPoint { get { throw null; } } + + public bool? GenerateXmlDocumentation { get { throw null; } } + + public string KeyFile { get { throw null; } } + + public string LanguageVersion { get { throw null; } } + + public bool? Optimize { get { throw null; } } + + public string Platform { get { throw null; } } + + public bool? PublicSign { get { throw null; } } + + public bool? WarningsAsErrors { get { throw null; } } + } + + public partial struct Dependency + { + private object _dummy; + private int _dummyPrimitive; + public Dependency(string name, string version) { } + + public string Name { get { throw null; } } + + public string Version { get { throw null; } } + + public bool Equals(Dependency other) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + } + + public partial class DependencyContext + { + public DependencyContext(TargetInfo target, CompilationOptions compilationOptions, System.Collections.Generic.IEnumerable compileLibraries, System.Collections.Generic.IEnumerable runtimeLibraries, System.Collections.Generic.IEnumerable runtimeGraph) { } + + public CompilationOptions CompilationOptions { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList CompileLibraries { get { throw null; } } + + public static DependencyContext Default { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeGraph { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeLibraries { get { throw null; } } + + public TargetInfo Target { get { throw null; } } + + public static DependencyContext Load(System.Reflection.Assembly assembly) { throw null; } + + public DependencyContext Merge(DependencyContext other) { throw null; } + } + + public static partial class DependencyContextExtensions + { + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + } + + public partial class DependencyContextJsonReader : IDependencyContextReader, System.IDisposable + { + public void Dispose() { } + + protected virtual void Dispose(bool disposing) { } + + public DependencyContext Read(System.IO.Stream stream) { throw null; } + } + + public partial class DependencyContextLoader + { + public static DependencyContextLoader Default { get { throw null; } } + + public DependencyContext Load(System.Reflection.Assembly assembly) { throw null; } + } + + public partial class DependencyContextWriter + { + public void Write(DependencyContext context, System.IO.Stream stream) { } + } + + public partial interface IDependencyContextReader : System.IDisposable + { + DependencyContext Read(System.IO.Stream stream); + } + + public partial class Library + { + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName = null) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable) { } + + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + + public string Hash { get { throw null; } } + + public string HashPath { get { throw null; } } + + public string Name { get { throw null; } } + + public string Path { get { throw null; } } + + public string RuntimeStoreManifestName { get { throw null; } } + + public bool Serviceable { get { throw null; } } + + public string Type { get { throw null; } } + + public string Version { get { throw null; } } + } + + public partial class ResourceAssembly + { + public ResourceAssembly(string path, string locale) { } + + public string Locale { get { throw null; } set { } } + + public string Path { get { throw null; } set { } } + } + + public partial class RuntimeAssembly + { + public RuntimeAssembly(string assemblyName, string path) { } + + public System.Reflection.AssemblyName Name { get { throw null; } } + + public string Path { get { throw null; } } + + public static RuntimeAssembly Create(string path) { throw null; } + } + + public partial class RuntimeAssetGroup + { + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable runtimeFiles) { } + + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable assetPaths) { } + + public RuntimeAssetGroup(string runtime, params string[] assetPaths) { } + + public System.Collections.Generic.IReadOnlyList AssetPaths { get { throw null; } } + + public string Runtime { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeFiles { get { throw null; } } + } + + public partial class RuntimeFallbacks + { + public RuntimeFallbacks(string runtime, System.Collections.Generic.IEnumerable fallbacks) { } + + public RuntimeFallbacks(string runtime, params string[] fallbacks) { } + + public System.Collections.Generic.IReadOnlyList Fallbacks { get { throw null; } set { } } + + public string Runtime { get { throw null; } set { } } + } + + public partial class RuntimeFile + { + public RuntimeFile(string path, string assemblyVersion, string fileVersion) { } + + public string AssemblyVersion { get { throw null; } } + + public string FileVersion { get { throw null; } } + + public string Path { get { throw null; } } + } + + public partial class RuntimeLibrary : Library + { + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList NativeLibraryGroups { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList ResourceAssemblies { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeAssemblyGroups { get { throw null; } } + } + + public partial class TargetInfo + { + public TargetInfo(string framework, string runtime, string runtimeSignature, bool isPortable) { } + + public string Framework { get { throw null; } } + + public bool IsPortable { get { throw null; } } + + public string Runtime { get { throw null; } } + + public string RuntimeSignature { get { throw null; } } + } +} + +namespace Microsoft.Extensions.DependencyModel.Resolution +{ + public partial class AppBaseCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public AppBaseCompilationAssemblyResolver() { } + + public AppBaseCompilationAssemblyResolver(string basePath) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class CompositeCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public CompositeCompilationAssemblyResolver(ICompilationAssemblyResolver[] resolvers) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class DotNetReferenceAssembliesPathResolver + { + public static readonly string DotNetReferenceAssembliesPathEnv; + public static string Resolve() { throw null; } + } + + public partial interface ICompilationAssemblyResolver + { + bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies); + } + + public partial class PackageCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public PackageCompilationAssemblyResolver() { } + + public PackageCompilationAssemblyResolver(string nugetPackageDirectory) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class ReferenceAssemblyPathResolver : ICompilationAssemblyResolver + { + public ReferenceAssemblyPathResolver() { } + + public ReferenceAssemblyPathResolver(string defaultReferenceAssembliesPath, string[] fallbackSearchPaths) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } +} + +namespace System.Collections.Generic +{ + public static partial class CollectionExtensions + { + public static IEnumerable GetDefaultAssets(this IEnumerable self) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetDefaultGroup(this IEnumerable self) { throw null; } + + public static IEnumerable GetDefaultRuntimeFileAssets(this IEnumerable self) { throw null; } + + public static IEnumerable GetRuntimeAssets(this IEnumerable self, string runtime) { throw null; } + + public static IEnumerable GetRuntimeFileAssets(this IEnumerable self, string runtime) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetRuntimeGroup(this IEnumerable self, string runtime) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyModel.cs b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyModel.cs new file mode 100644 index 0000000000..c9557bba59 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyModel.cs @@ -0,0 +1,357 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = "")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyConfiguration("Release")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Abstractions for reading `.deps` files.")] +[assembly: System.Reflection.AssemblyFileVersion("3.0.19.46305")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+7d57652f33493fa022125b7f63aad0d70c52d810")] +[assembly: System.Reflection.AssemblyProduct("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Extensions.DependencyModel")] +[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace Microsoft.DotNet.PlatformAbstractions +{ + public partial struct HashCodeCombiner + { + private int _dummyPrimitive; + public int CombinedHash { get { throw null; } } + + public void Add(int i) { } + + public void Add(object o) { } + + public void Add(string s) { } + + public void Add(TValue value, System.Collections.Generic.IEqualityComparer comparer) { } + + public static HashCodeCombiner Start() { throw null; } + } +} + +namespace Microsoft.Extensions.DependencyModel +{ + public partial class CompilationLibrary : Library + { + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public CompilationLibrary(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable assemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList Assemblies { get { throw null; } } + + public System.Collections.Generic.IEnumerable ResolveReferencePaths() { throw null; } + + public System.Collections.Generic.IEnumerable ResolveReferencePaths(params Resolution.ICompilationAssemblyResolver[] customResolvers) { throw null; } + } + + public partial class CompilationOptions + { + public CompilationOptions(System.Collections.Generic.IEnumerable defines, string languageVersion, string platform, bool? allowUnsafe, bool? warningsAsErrors, bool? optimize, string keyFile, bool? delaySign, bool? publicSign, string debugType, bool? emitEntryPoint, bool? generateXmlDocumentation) { } + + public bool? AllowUnsafe { get { throw null; } } + + public string DebugType { get { throw null; } } + + public static CompilationOptions Default { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList Defines { get { throw null; } } + + public bool? DelaySign { get { throw null; } } + + public bool? EmitEntryPoint { get { throw null; } } + + public bool? GenerateXmlDocumentation { get { throw null; } } + + public string KeyFile { get { throw null; } } + + public string LanguageVersion { get { throw null; } } + + public bool? Optimize { get { throw null; } } + + public string Platform { get { throw null; } } + + public bool? PublicSign { get { throw null; } } + + public bool? WarningsAsErrors { get { throw null; } } + } + + public partial struct Dependency + { + private object _dummy; + private int _dummyPrimitive; + public Dependency(string name, string version) { } + + public string Name { get { throw null; } } + + public string Version { get { throw null; } } + + public bool Equals(Dependency other) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + } + + public partial class DependencyContext + { + public DependencyContext(TargetInfo target, CompilationOptions compilationOptions, System.Collections.Generic.IEnumerable compileLibraries, System.Collections.Generic.IEnumerable runtimeLibraries, System.Collections.Generic.IEnumerable runtimeGraph) { } + + public CompilationOptions CompilationOptions { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList CompileLibraries { get { throw null; } } + + public static DependencyContext Default { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeGraph { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeLibraries { get { throw null; } } + + public TargetInfo Target { get { throw null; } } + + public static DependencyContext Load(System.Reflection.Assembly assembly) { throw null; } + + public DependencyContext Merge(DependencyContext other) { throw null; } + } + + public static partial class DependencyContextExtensions + { + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultAssemblyNames(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this DependencyContext self) { throw null; } + + public static System.Collections.Generic.IEnumerable GetDefaultNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeAssemblyNames(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this DependencyContext self, string runtimeIdentifier) { throw null; } + + public static System.Collections.Generic.IEnumerable GetRuntimeNativeRuntimeFileAssets(this RuntimeLibrary self, DependencyContext context, string runtimeIdentifier) { throw null; } + } + + public partial class DependencyContextJsonReader : IDependencyContextReader, System.IDisposable + { + public void Dispose() { } + + protected virtual void Dispose(bool disposing) { } + + public DependencyContext Read(System.IO.Stream stream) { throw null; } + } + + public partial class DependencyContextLoader + { + public static DependencyContextLoader Default { get { throw null; } } + + public DependencyContext Load(System.Reflection.Assembly assembly) { throw null; } + } + + public partial class DependencyContextWriter + { + public void Write(DependencyContext context, System.IO.Stream stream) { } + } + + public partial interface IDependencyContextReader : System.IDisposable + { + DependencyContext Read(System.IO.Stream stream); + } + + public partial class Library + { + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName = null) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) { } + + public Library(string type, string name, string version, string hash, System.Collections.Generic.IEnumerable dependencies, bool serviceable) { } + + public System.Collections.Generic.IReadOnlyList Dependencies { get { throw null; } } + + public string Hash { get { throw null; } } + + public string HashPath { get { throw null; } } + + public string Name { get { throw null; } } + + public string Path { get { throw null; } } + + public string RuntimeStoreManifestName { get { throw null; } } + + public bool Serviceable { get { throw null; } } + + public string Type { get { throw null; } } + + public string Version { get { throw null; } } + } + + public partial class ResourceAssembly + { + public ResourceAssembly(string path, string locale) { } + + public string Locale { get { throw null; } set { } } + + public string Path { get { throw null; } set { } } + } + + public partial class RuntimeAssembly + { + public RuntimeAssembly(string assemblyName, string path) { } + + public System.Reflection.AssemblyName Name { get { throw null; } } + + public string Path { get { throw null; } } + + public static RuntimeAssembly Create(string path) { throw null; } + } + + public partial class RuntimeAssetGroup + { + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable runtimeFiles) { } + + public RuntimeAssetGroup(string runtime, System.Collections.Generic.IEnumerable assetPaths) { } + + public RuntimeAssetGroup(string runtime, params string[] assetPaths) { } + + public System.Collections.Generic.IReadOnlyList AssetPaths { get { throw null; } } + + public string Runtime { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeFiles { get { throw null; } } + } + + public partial class RuntimeFallbacks + { + public RuntimeFallbacks(string runtime, System.Collections.Generic.IEnumerable fallbacks) { } + + public RuntimeFallbacks(string runtime, params string[] fallbacks) { } + + public System.Collections.Generic.IReadOnlyList Fallbacks { get { throw null; } set { } } + + public string Runtime { get { throw null; } set { } } + } + + public partial class RuntimeFile + { + public RuntimeFile(string path, string assemblyVersion, string fileVersion) { } + + public string AssemblyVersion { get { throw null; } } + + public string FileVersion { get { throw null; } } + + public string Path { get { throw null; } } + } + + public partial class RuntimeLibrary : Library + { + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable, string path, string hashPath) : base(default!, default!, default!, default!, default!, default) { } + + public RuntimeLibrary(string type, string name, string version, string hash, System.Collections.Generic.IReadOnlyList runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList nativeLibraryGroups, System.Collections.Generic.IEnumerable resourceAssemblies, System.Collections.Generic.IEnumerable dependencies, bool serviceable) : base(default!, default!, default!, default!, default!, default) { } + + public System.Collections.Generic.IReadOnlyList NativeLibraryGroups { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList ResourceAssemblies { get { throw null; } } + + public System.Collections.Generic.IReadOnlyList RuntimeAssemblyGroups { get { throw null; } } + } + + public partial class TargetInfo + { + public TargetInfo(string framework, string runtime, string runtimeSignature, bool isPortable) { } + + public string Framework { get { throw null; } } + + public bool IsPortable { get { throw null; } } + + public string Runtime { get { throw null; } } + + public string RuntimeSignature { get { throw null; } } + } +} + +namespace Microsoft.Extensions.DependencyModel.Resolution +{ + public partial class AppBaseCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public AppBaseCompilationAssemblyResolver() { } + + public AppBaseCompilationAssemblyResolver(string basePath) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class CompositeCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public CompositeCompilationAssemblyResolver(ICompilationAssemblyResolver[] resolvers) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class DotNetReferenceAssembliesPathResolver + { + public static readonly string DotNetReferenceAssembliesPathEnv; + public static string Resolve() { throw null; } + } + + public partial interface ICompilationAssemblyResolver + { + bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies); + } + + public partial class PackageCompilationAssemblyResolver : ICompilationAssemblyResolver + { + public PackageCompilationAssemblyResolver() { } + + public PackageCompilationAssemblyResolver(string nugetPackageDirectory) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } + + public partial class ReferenceAssemblyPathResolver : ICompilationAssemblyResolver + { + public ReferenceAssemblyPathResolver() { } + + public ReferenceAssemblyPathResolver(string defaultReferenceAssembliesPath, string[] fallbackSearchPaths) { } + + public bool TryResolveAssemblyPaths(CompilationLibrary library, System.Collections.Generic.List assemblies) { throw null; } + } +} + +namespace System.Collections.Generic +{ + public static partial class CollectionExtensions + { + public static IEnumerable GetDefaultAssets(this IEnumerable self) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetDefaultGroup(this IEnumerable self) { throw null; } + + public static IEnumerable GetDefaultRuntimeFileAssets(this IEnumerable self) { throw null; } + + public static IEnumerable GetRuntimeAssets(this IEnumerable self, string runtime) { throw null; } + + public static IEnumerable GetRuntimeFileAssets(this IEnumerable self, string runtime) { throw null; } + + public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetRuntimeGroup(this IEnumerable self, string runtime) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec new file mode 100644 index 0000000000..714ce00e09 --- /dev/null +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec @@ -0,0 +1,40 @@ + + + + Microsoft.Extensions.DependencyModel + 3.0.0 + Microsoft + Microsoft + true + LICENSE.TXT + https://aka.ms/deprecateLicenseUrl + https://dot.net/ + Abstractions for reading `.deps` files. + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/System.Runtime.CompilerServices.Unsafe.4.6.0.csproj b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/System.Runtime.CompilerServices.Unsafe.4.6.0.csproj new file mode 100644 index 0000000000..0de276db36 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/System.Runtime.CompilerServices.Unsafe.4.6.0.csproj @@ -0,0 +1,13 @@ + + + + netstandard1.0;netstandard2.0 + System.Runtime.CompilerServices.Unsafe + 2 + + + + + + + diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.cs b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.cs new file mode 100644 index 0000000000..7a9e872387 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.cs @@ -0,0 +1,100 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.5.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + public static partial class Unsafe + { + public static ref T Add(ref T source, int elementOffset) { throw null; } + + public static ref T Add(ref T source, IntPtr elementOffset) { throw null; } + + public static unsafe void* Add(void* source, int elementOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static bool AreSame(ref T left, ref T right) { throw null; } + + public static T As(object o) + where T : class { throw null; } + + public static ref TTo As(ref TFrom source) { throw null; } + + public static unsafe void* AsPointer(ref T value) { throw null; } + + public static ref T AsRef(in T source) { throw null; } + + public static unsafe ref T AsRef(void* source) { throw null; } + + public static IntPtr ByteOffset(ref T origin, ref T target) { throw null; } + + public static unsafe void Copy(ref T destination, void* source) { } + + public static unsafe void Copy(void* destination, ref T source) { } + + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } + + public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } + + public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } + + public static unsafe T Read(void* source) { throw null; } + + public static T ReadUnaligned(ref byte source) { throw null; } + + public static unsafe T ReadUnaligned(void* source) { throw null; } + + public static int SizeOf() { throw null; } + + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + + public static ref T Subtract(ref T source, IntPtr elementOffset) { throw null; } + + public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T Unbox(object box) + where T : struct { throw null; } + + public static unsafe void Write(void* destination, T value) { } + + public static void WriteUnaligned(ref byte destination, T value) { } + + public static unsafe void WriteUnaligned(void* destination, T value) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs new file mode 100644 index 0000000000..7a9e872387 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs @@ -0,0 +1,100 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.5.0")] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + public static partial class Unsafe + { + public static ref T Add(ref T source, int elementOffset) { throw null; } + + public static ref T Add(ref T source, IntPtr elementOffset) { throw null; } + + public static unsafe void* Add(void* source, int elementOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static bool AreSame(ref T left, ref T right) { throw null; } + + public static T As(object o) + where T : class { throw null; } + + public static ref TTo As(ref TFrom source) { throw null; } + + public static unsafe void* AsPointer(ref T value) { throw null; } + + public static ref T AsRef(in T source) { throw null; } + + public static unsafe ref T AsRef(void* source) { throw null; } + + public static IntPtr ByteOffset(ref T origin, ref T target) { throw null; } + + public static unsafe void Copy(ref T destination, void* source) { } + + public static unsafe void Copy(void* destination, ref T source) { } + + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } + + public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } + + public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } + + public static unsafe T Read(void* source) { throw null; } + + public static T ReadUnaligned(ref byte source) { throw null; } + + public static unsafe T ReadUnaligned(void* source) { throw null; } + + public static int SizeOf() { throw null; } + + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + + public static ref T Subtract(ref T source, IntPtr elementOffset) { throw null; } + + public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T Unbox(object box) + where T : struct { throw null; } + + public static unsafe void Write(void* destination, T value) { } + + public static void WriteUnaligned(ref byte destination, T value) { } + + public static unsafe void WriteUnaligned(void* destination, T value) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/system.runtime.compilerservices.unsafe.nuspec b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/system.runtime.compilerservices.unsafe.nuspec new file mode 100644 index 0000000000..1fafc2131d --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/4.6.0/system.runtime.compilerservices.unsafe.nuspec @@ -0,0 +1,29 @@ + + + + System.Runtime.CompilerServices.Unsafe + 4.6.0 + System.Runtime.CompilerServices.Unsafe + Microsoft + microsoft,dotnetframework + false + https://github.com/dotnet/corefx/blob/master/LICENSE.TXT + https://github.com/dotnet/corefx + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe + +When using NuGet 3.x this package requires at least version 3.4. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj b/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj new file mode 100644 index 0000000000..d54257bb6c --- /dev/null +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj @@ -0,0 +1,14 @@ + + + + netcoreapp3.0;netstandard1.0;netstandard2.0 + System.Text.Encodings.Web + 2 + Open + + + + + + + diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netcoreapp3.0/System.Text.Encodings.Web.cs b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netcoreapp3.0/System.Text.Encodings.Web.cs new file mode 100644 index 0000000000..36602a84ba --- /dev/null +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netcoreapp3.0/System.Text.Encodings.Web.cs @@ -0,0 +1,450 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Reflection.AssemblyTitle("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyDescription("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encodings.Web")] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.4.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text.Encodings.Web +{ + public abstract partial class HtmlEncoder : TextEncoder + { + public static HtmlEncoder Default { get { throw null; } } + + public static HtmlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static HtmlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class JavaScriptEncoder : TextEncoder + { + public static JavaScriptEncoder Default { get { throw null; } } + + public static JavaScriptEncoder UnsafeRelaxedJsonEscaping { get { throw null; } } + + public static JavaScriptEncoder Create(TextEncoderSettings settings) { throw null; } + + public static JavaScriptEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class TextEncoder + { + public abstract int MaxOutputCharactersPerInputCharacter { get; } + + public virtual void Encode(IO.TextWriter output, char[] value, int startIndex, int characterCount) { } + + public virtual void Encode(IO.TextWriter output, string value, int startIndex, int characterCount) { } + + public void Encode(IO.TextWriter output, string value) { } + + public virtual Buffers.OperationStatus Encode(ReadOnlySpan source, Span destination, out int charsConsumed, out int charsWritten, bool isFinalBlock = true) { throw null; } + + public virtual string Encode(string value) { throw null; } + + public virtual Buffers.OperationStatus EncodeUtf8(ReadOnlySpan utf8Source, Span utf8Destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + + [CLSCompliant(false)] + public abstract unsafe int FindFirstCharacterToEncode(char* text, int textLength); + public virtual int FindFirstCharacterToEncodeUtf8(ReadOnlySpan utf8Text) { throw null; } + + [CLSCompliant(false)] + public abstract unsafe bool TryEncodeUnicodeScalar(int unicodeScalar, char* buffer, int bufferLength, out int numberOfCharactersWritten); + public abstract bool WillEncode(int unicodeScalar); + } + + public partial class TextEncoderSettings + { + public TextEncoderSettings() { } + + public TextEncoderSettings(TextEncoderSettings other) { } + + public TextEncoderSettings(params Unicode.UnicodeRange[] allowedRanges) { } + + public virtual void AllowCharacter(char character) { } + + public virtual void AllowCharacters(params char[] characters) { } + + public virtual void AllowCodePoints(Collections.Generic.IEnumerable codePoints) { } + + public virtual void AllowRange(Unicode.UnicodeRange range) { } + + public virtual void AllowRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual void Clear() { } + + public virtual void ForbidCharacter(char character) { } + + public virtual void ForbidCharacters(params char[] characters) { } + + public virtual void ForbidRange(Unicode.UnicodeRange range) { } + + public virtual void ForbidRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual Collections.Generic.IEnumerable GetAllowedCodePoints() { throw null; } + } + + public abstract partial class UrlEncoder : TextEncoder + { + public static UrlEncoder Default { get { throw null; } } + + public static UrlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static UrlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } +} + +namespace System.Text.Unicode +{ + public sealed partial class UnicodeRange + { + public UnicodeRange(int firstCodePoint, int length) { } + + public int FirstCodePoint { get { throw null; } } + + public int Length { get { throw null; } } + + public static UnicodeRange Create(char firstCharacter, char lastCharacter) { throw null; } + } + + public static partial class UnicodeRanges + { + public static UnicodeRange All { get { throw null; } } + + public static UnicodeRange AlphabeticPresentationForms { get { throw null; } } + + public static UnicodeRange Arabic { get { throw null; } } + + public static UnicodeRange ArabicExtendedA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsB { get { throw null; } } + + public static UnicodeRange ArabicSupplement { get { throw null; } } + + public static UnicodeRange Armenian { get { throw null; } } + + public static UnicodeRange Arrows { get { throw null; } } + + public static UnicodeRange Balinese { get { throw null; } } + + public static UnicodeRange Bamum { get { throw null; } } + + public static UnicodeRange BasicLatin { get { throw null; } } + + public static UnicodeRange Batak { get { throw null; } } + + public static UnicodeRange Bengali { get { throw null; } } + + public static UnicodeRange BlockElements { get { throw null; } } + + public static UnicodeRange Bopomofo { get { throw null; } } + + public static UnicodeRange BopomofoExtended { get { throw null; } } + + public static UnicodeRange BoxDrawing { get { throw null; } } + + public static UnicodeRange BraillePatterns { get { throw null; } } + + public static UnicodeRange Buginese { get { throw null; } } + + public static UnicodeRange Buhid { get { throw null; } } + + public static UnicodeRange Cham { get { throw null; } } + + public static UnicodeRange Cherokee { get { throw null; } } + + public static UnicodeRange CherokeeSupplement { get { throw null; } } + + public static UnicodeRange CjkCompatibility { get { throw null; } } + + public static UnicodeRange CjkCompatibilityForms { get { throw null; } } + + public static UnicodeRange CjkCompatibilityIdeographs { get { throw null; } } + + public static UnicodeRange CjkRadicalsSupplement { get { throw null; } } + + public static UnicodeRange CjkStrokes { get { throw null; } } + + public static UnicodeRange CjkSymbolsandPunctuation { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographs { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographsExtensionA { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarks { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksExtended { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksforSymbols { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksSupplement { get { throw null; } } + + public static UnicodeRange CombiningHalfMarks { get { throw null; } } + + public static UnicodeRange CommonIndicNumberForms { get { throw null; } } + + public static UnicodeRange ControlPictures { get { throw null; } } + + public static UnicodeRange Coptic { get { throw null; } } + + public static UnicodeRange CurrencySymbols { get { throw null; } } + + public static UnicodeRange Cyrillic { get { throw null; } } + + public static UnicodeRange CyrillicExtendedA { get { throw null; } } + + public static UnicodeRange CyrillicExtendedB { get { throw null; } } + + public static UnicodeRange CyrillicExtendedC { get { throw null; } } + + public static UnicodeRange CyrillicSupplement { get { throw null; } } + + public static UnicodeRange Devanagari { get { throw null; } } + + public static UnicodeRange DevanagariExtended { get { throw null; } } + + public static UnicodeRange Dingbats { get { throw null; } } + + public static UnicodeRange EnclosedAlphanumerics { get { throw null; } } + + public static UnicodeRange EnclosedCjkLettersandMonths { get { throw null; } } + + public static UnicodeRange Ethiopic { get { throw null; } } + + public static UnicodeRange EthiopicExtended { get { throw null; } } + + public static UnicodeRange EthiopicExtendedA { get { throw null; } } + + public static UnicodeRange EthiopicSupplement { get { throw null; } } + + public static UnicodeRange GeneralPunctuation { get { throw null; } } + + public static UnicodeRange GeometricShapes { get { throw null; } } + + public static UnicodeRange Georgian { get { throw null; } } + + public static UnicodeRange GeorgianExtended { get { throw null; } } + + public static UnicodeRange GeorgianSupplement { get { throw null; } } + + public static UnicodeRange Glagolitic { get { throw null; } } + + public static UnicodeRange GreekandCoptic { get { throw null; } } + + public static UnicodeRange GreekExtended { get { throw null; } } + + public static UnicodeRange Gujarati { get { throw null; } } + + public static UnicodeRange Gurmukhi { get { throw null; } } + + public static UnicodeRange HalfwidthandFullwidthForms { get { throw null; } } + + public static UnicodeRange HangulCompatibilityJamo { get { throw null; } } + + public static UnicodeRange HangulJamo { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedA { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedB { get { throw null; } } + + public static UnicodeRange HangulSyllables { get { throw null; } } + + public static UnicodeRange Hanunoo { get { throw null; } } + + public static UnicodeRange Hebrew { get { throw null; } } + + public static UnicodeRange Hiragana { get { throw null; } } + + public static UnicodeRange IdeographicDescriptionCharacters { get { throw null; } } + + public static UnicodeRange IpaExtensions { get { throw null; } } + + public static UnicodeRange Javanese { get { throw null; } } + + public static UnicodeRange Kanbun { get { throw null; } } + + public static UnicodeRange KangxiRadicals { get { throw null; } } + + public static UnicodeRange Kannada { get { throw null; } } + + public static UnicodeRange Katakana { get { throw null; } } + + public static UnicodeRange KatakanaPhoneticExtensions { get { throw null; } } + + public static UnicodeRange KayahLi { get { throw null; } } + + public static UnicodeRange Khmer { get { throw null; } } + + public static UnicodeRange KhmerSymbols { get { throw null; } } + + public static UnicodeRange Lao { get { throw null; } } + + public static UnicodeRange Latin1Supplement { get { throw null; } } + + public static UnicodeRange LatinExtendedA { get { throw null; } } + + public static UnicodeRange LatinExtendedAdditional { get { throw null; } } + + public static UnicodeRange LatinExtendedB { get { throw null; } } + + public static UnicodeRange LatinExtendedC { get { throw null; } } + + public static UnicodeRange LatinExtendedD { get { throw null; } } + + public static UnicodeRange LatinExtendedE { get { throw null; } } + + public static UnicodeRange Lepcha { get { throw null; } } + + public static UnicodeRange LetterlikeSymbols { get { throw null; } } + + public static UnicodeRange Limbu { get { throw null; } } + + public static UnicodeRange Lisu { get { throw null; } } + + public static UnicodeRange Malayalam { get { throw null; } } + + public static UnicodeRange Mandaic { get { throw null; } } + + public static UnicodeRange MathematicalOperators { get { throw null; } } + + public static UnicodeRange MeeteiMayek { get { throw null; } } + + public static UnicodeRange MeeteiMayekExtensions { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsA { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsB { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbols { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbolsandArrows { get { throw null; } } + + public static UnicodeRange MiscellaneousTechnical { get { throw null; } } + + public static UnicodeRange ModifierToneLetters { get { throw null; } } + + public static UnicodeRange Mongolian { get { throw null; } } + + public static UnicodeRange Myanmar { get { throw null; } } + + public static UnicodeRange MyanmarExtendedA { get { throw null; } } + + public static UnicodeRange MyanmarExtendedB { get { throw null; } } + + public static UnicodeRange NewTaiLue { get { throw null; } } + + public static UnicodeRange NKo { get { throw null; } } + + public static UnicodeRange None { get { throw null; } } + + public static UnicodeRange NumberForms { get { throw null; } } + + public static UnicodeRange Ogham { get { throw null; } } + + public static UnicodeRange OlChiki { get { throw null; } } + + public static UnicodeRange OpticalCharacterRecognition { get { throw null; } } + + public static UnicodeRange Oriya { get { throw null; } } + + public static UnicodeRange Phagspa { get { throw null; } } + + public static UnicodeRange PhoneticExtensions { get { throw null; } } + + public static UnicodeRange PhoneticExtensionsSupplement { get { throw null; } } + + public static UnicodeRange Rejang { get { throw null; } } + + public static UnicodeRange Runic { get { throw null; } } + + public static UnicodeRange Samaritan { get { throw null; } } + + public static UnicodeRange Saurashtra { get { throw null; } } + + public static UnicodeRange Sinhala { get { throw null; } } + + public static UnicodeRange SmallFormVariants { get { throw null; } } + + public static UnicodeRange SpacingModifierLetters { get { throw null; } } + + public static UnicodeRange Specials { get { throw null; } } + + public static UnicodeRange Sundanese { get { throw null; } } + + public static UnicodeRange SundaneseSupplement { get { throw null; } } + + public static UnicodeRange SuperscriptsandSubscripts { get { throw null; } } + + public static UnicodeRange SupplementalArrowsA { get { throw null; } } + + public static UnicodeRange SupplementalArrowsB { get { throw null; } } + + public static UnicodeRange SupplementalMathematicalOperators { get { throw null; } } + + public static UnicodeRange SupplementalPunctuation { get { throw null; } } + + public static UnicodeRange SylotiNagri { get { throw null; } } + + public static UnicodeRange Syriac { get { throw null; } } + + public static UnicodeRange SyriacSupplement { get { throw null; } } + + public static UnicodeRange Tagalog { get { throw null; } } + + public static UnicodeRange Tagbanwa { get { throw null; } } + + public static UnicodeRange TaiLe { get { throw null; } } + + public static UnicodeRange TaiTham { get { throw null; } } + + public static UnicodeRange TaiViet { get { throw null; } } + + public static UnicodeRange Tamil { get { throw null; } } + + public static UnicodeRange Telugu { get { throw null; } } + + public static UnicodeRange Thaana { get { throw null; } } + + public static UnicodeRange Thai { get { throw null; } } + + public static UnicodeRange Tibetan { get { throw null; } } + + public static UnicodeRange Tifinagh { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabics { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabicsExtended { get { throw null; } } + + public static UnicodeRange Vai { get { throw null; } } + + public static UnicodeRange VariationSelectors { get { throw null; } } + + public static UnicodeRange VedicExtensions { get { throw null; } } + + public static UnicodeRange VerticalForms { get { throw null; } } + + public static UnicodeRange YijingHexagramSymbols { get { throw null; } } + + public static UnicodeRange YiRadicals { get { throw null; } } + + public static UnicodeRange YiSyllables { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard1.0/System.Text.Encodings.Web.cs b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard1.0/System.Text.Encodings.Web.cs new file mode 100644 index 0000000000..cb2285305f --- /dev/null +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard1.0/System.Text.Encodings.Web.cs @@ -0,0 +1,437 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Text.Encodings.Web.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010015c01ae1f50e8cc09ba9eac9147cf8fd9fce2cfe9f8dce4f7301c4132ca9fb50ce8cbf1df4dc18dd4d210e4345c744ecb3365ed327efdbc52603faa5e21daa11234c8c4a73e51f03bf192544581ebe107adee3a34928e39d04e524a9ce729d5090bfd7dad9d10c722c0def9ccc08ff0a03790e48bcd1f9b6c476063e1966a1c4")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyDescription("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyFileVersion("4.6.26515.06")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.26515.06 @BuiltBy: dlab-DDVSOWINAGE059 @Branch: release/2.1 @SrcCode: https://github.com/dotnet/corefx/tree/30ab651fcb4354552bd4891619a0bdd81e0ebdbf")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.3.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text.Encodings.Web +{ + public abstract partial class HtmlEncoder : TextEncoder + { + public static HtmlEncoder Default { get { throw null; } } + + public static HtmlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static HtmlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class JavaScriptEncoder : TextEncoder + { + public static JavaScriptEncoder Default { get { throw null; } } + + public static JavaScriptEncoder Create(TextEncoderSettings settings) { throw null; } + + public static JavaScriptEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class TextEncoder + { + public abstract int MaxOutputCharactersPerInputCharacter { get; } + + public virtual void Encode(IO.TextWriter output, char[] value, int startIndex, int characterCount) { } + + public virtual void Encode(IO.TextWriter output, string value, int startIndex, int characterCount) { } + + public void Encode(IO.TextWriter output, string value) { } + + public virtual string Encode(string value) { throw null; } + + [CLSCompliant(false)] + public abstract unsafe int FindFirstCharacterToEncode(char* text, int textLength); + [CLSCompliant(false)] + public abstract unsafe bool TryEncodeUnicodeScalar(int unicodeScalar, char* buffer, int bufferLength, out int numberOfCharactersWritten); + public abstract bool WillEncode(int unicodeScalar); + } + + public partial class TextEncoderSettings + { + public TextEncoderSettings() { } + + public TextEncoderSettings(TextEncoderSettings other) { } + + public TextEncoderSettings(params Unicode.UnicodeRange[] allowedRanges) { } + + public virtual void AllowCharacter(char character) { } + + public virtual void AllowCharacters(params char[] characters) { } + + public virtual void AllowCodePoints(Collections.Generic.IEnumerable codePoints) { } + + public virtual void AllowRange(Unicode.UnicodeRange range) { } + + public virtual void AllowRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual void Clear() { } + + public virtual void ForbidCharacter(char character) { } + + public virtual void ForbidCharacters(params char[] characters) { } + + public virtual void ForbidRange(Unicode.UnicodeRange range) { } + + public virtual void ForbidRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual Collections.Generic.IEnumerable GetAllowedCodePoints() { throw null; } + } + + public abstract partial class UrlEncoder : TextEncoder + { + public static UrlEncoder Default { get { throw null; } } + + public static UrlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static UrlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } +} + +namespace System.Text.Unicode +{ + public sealed partial class UnicodeRange + { + public UnicodeRange(int firstCodePoint, int length) { } + + public int FirstCodePoint { get { throw null; } } + + public int Length { get { throw null; } } + + public static UnicodeRange Create(char firstCharacter, char lastCharacter) { throw null; } + } + + public static partial class UnicodeRanges + { + public static UnicodeRange All { get { throw null; } } + + public static UnicodeRange AlphabeticPresentationForms { get { throw null; } } + + public static UnicodeRange Arabic { get { throw null; } } + + public static UnicodeRange ArabicExtendedA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsB { get { throw null; } } + + public static UnicodeRange ArabicSupplement { get { throw null; } } + + public static UnicodeRange Armenian { get { throw null; } } + + public static UnicodeRange Arrows { get { throw null; } } + + public static UnicodeRange Balinese { get { throw null; } } + + public static UnicodeRange Bamum { get { throw null; } } + + public static UnicodeRange BasicLatin { get { throw null; } } + + public static UnicodeRange Batak { get { throw null; } } + + public static UnicodeRange Bengali { get { throw null; } } + + public static UnicodeRange BlockElements { get { throw null; } } + + public static UnicodeRange Bopomofo { get { throw null; } } + + public static UnicodeRange BopomofoExtended { get { throw null; } } + + public static UnicodeRange BoxDrawing { get { throw null; } } + + public static UnicodeRange BraillePatterns { get { throw null; } } + + public static UnicodeRange Buginese { get { throw null; } } + + public static UnicodeRange Buhid { get { throw null; } } + + public static UnicodeRange Cham { get { throw null; } } + + public static UnicodeRange Cherokee { get { throw null; } } + + public static UnicodeRange CherokeeSupplement { get { throw null; } } + + public static UnicodeRange CjkCompatibility { get { throw null; } } + + public static UnicodeRange CjkCompatibilityForms { get { throw null; } } + + public static UnicodeRange CjkCompatibilityIdeographs { get { throw null; } } + + public static UnicodeRange CjkRadicalsSupplement { get { throw null; } } + + public static UnicodeRange CjkStrokes { get { throw null; } } + + public static UnicodeRange CjkSymbolsandPunctuation { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographs { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographsExtensionA { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarks { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksExtended { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksforSymbols { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksSupplement { get { throw null; } } + + public static UnicodeRange CombiningHalfMarks { get { throw null; } } + + public static UnicodeRange CommonIndicNumberForms { get { throw null; } } + + public static UnicodeRange ControlPictures { get { throw null; } } + + public static UnicodeRange Coptic { get { throw null; } } + + public static UnicodeRange CurrencySymbols { get { throw null; } } + + public static UnicodeRange Cyrillic { get { throw null; } } + + public static UnicodeRange CyrillicExtendedA { get { throw null; } } + + public static UnicodeRange CyrillicExtendedB { get { throw null; } } + + public static UnicodeRange CyrillicSupplement { get { throw null; } } + + public static UnicodeRange Devanagari { get { throw null; } } + + public static UnicodeRange DevanagariExtended { get { throw null; } } + + public static UnicodeRange Dingbats { get { throw null; } } + + public static UnicodeRange EnclosedAlphanumerics { get { throw null; } } + + public static UnicodeRange EnclosedCjkLettersandMonths { get { throw null; } } + + public static UnicodeRange Ethiopic { get { throw null; } } + + public static UnicodeRange EthiopicExtended { get { throw null; } } + + public static UnicodeRange EthiopicExtendedA { get { throw null; } } + + public static UnicodeRange EthiopicSupplement { get { throw null; } } + + public static UnicodeRange GeneralPunctuation { get { throw null; } } + + public static UnicodeRange GeometricShapes { get { throw null; } } + + public static UnicodeRange Georgian { get { throw null; } } + + public static UnicodeRange GeorgianSupplement { get { throw null; } } + + public static UnicodeRange Glagolitic { get { throw null; } } + + public static UnicodeRange GreekandCoptic { get { throw null; } } + + public static UnicodeRange GreekExtended { get { throw null; } } + + public static UnicodeRange Gujarati { get { throw null; } } + + public static UnicodeRange Gurmukhi { get { throw null; } } + + public static UnicodeRange HalfwidthandFullwidthForms { get { throw null; } } + + public static UnicodeRange HangulCompatibilityJamo { get { throw null; } } + + public static UnicodeRange HangulJamo { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedA { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedB { get { throw null; } } + + public static UnicodeRange HangulSyllables { get { throw null; } } + + public static UnicodeRange Hanunoo { get { throw null; } } + + public static UnicodeRange Hebrew { get { throw null; } } + + public static UnicodeRange Hiragana { get { throw null; } } + + public static UnicodeRange IdeographicDescriptionCharacters { get { throw null; } } + + public static UnicodeRange IpaExtensions { get { throw null; } } + + public static UnicodeRange Javanese { get { throw null; } } + + public static UnicodeRange Kanbun { get { throw null; } } + + public static UnicodeRange KangxiRadicals { get { throw null; } } + + public static UnicodeRange Kannada { get { throw null; } } + + public static UnicodeRange Katakana { get { throw null; } } + + public static UnicodeRange KatakanaPhoneticExtensions { get { throw null; } } + + public static UnicodeRange KayahLi { get { throw null; } } + + public static UnicodeRange Khmer { get { throw null; } } + + public static UnicodeRange KhmerSymbols { get { throw null; } } + + public static UnicodeRange Lao { get { throw null; } } + + public static UnicodeRange Latin1Supplement { get { throw null; } } + + public static UnicodeRange LatinExtendedA { get { throw null; } } + + public static UnicodeRange LatinExtendedAdditional { get { throw null; } } + + public static UnicodeRange LatinExtendedB { get { throw null; } } + + public static UnicodeRange LatinExtendedC { get { throw null; } } + + public static UnicodeRange LatinExtendedD { get { throw null; } } + + public static UnicodeRange LatinExtendedE { get { throw null; } } + + public static UnicodeRange Lepcha { get { throw null; } } + + public static UnicodeRange LetterlikeSymbols { get { throw null; } } + + public static UnicodeRange Limbu { get { throw null; } } + + public static UnicodeRange Lisu { get { throw null; } } + + public static UnicodeRange Malayalam { get { throw null; } } + + public static UnicodeRange Mandaic { get { throw null; } } + + public static UnicodeRange MathematicalOperators { get { throw null; } } + + public static UnicodeRange MeeteiMayek { get { throw null; } } + + public static UnicodeRange MeeteiMayekExtensions { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsA { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsB { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbols { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbolsandArrows { get { throw null; } } + + public static UnicodeRange MiscellaneousTechnical { get { throw null; } } + + public static UnicodeRange ModifierToneLetters { get { throw null; } } + + public static UnicodeRange Mongolian { get { throw null; } } + + public static UnicodeRange Myanmar { get { throw null; } } + + public static UnicodeRange MyanmarExtendedA { get { throw null; } } + + public static UnicodeRange MyanmarExtendedB { get { throw null; } } + + public static UnicodeRange NewTaiLue { get { throw null; } } + + public static UnicodeRange NKo { get { throw null; } } + + public static UnicodeRange None { get { throw null; } } + + public static UnicodeRange NumberForms { get { throw null; } } + + public static UnicodeRange Ogham { get { throw null; } } + + public static UnicodeRange OlChiki { get { throw null; } } + + public static UnicodeRange OpticalCharacterRecognition { get { throw null; } } + + public static UnicodeRange Oriya { get { throw null; } } + + public static UnicodeRange Phagspa { get { throw null; } } + + public static UnicodeRange PhoneticExtensions { get { throw null; } } + + public static UnicodeRange PhoneticExtensionsSupplement { get { throw null; } } + + public static UnicodeRange Rejang { get { throw null; } } + + public static UnicodeRange Runic { get { throw null; } } + + public static UnicodeRange Samaritan { get { throw null; } } + + public static UnicodeRange Saurashtra { get { throw null; } } + + public static UnicodeRange Sinhala { get { throw null; } } + + public static UnicodeRange SmallFormVariants { get { throw null; } } + + public static UnicodeRange SpacingModifierLetters { get { throw null; } } + + public static UnicodeRange Specials { get { throw null; } } + + public static UnicodeRange Sundanese { get { throw null; } } + + public static UnicodeRange SundaneseSupplement { get { throw null; } } + + public static UnicodeRange SuperscriptsandSubscripts { get { throw null; } } + + public static UnicodeRange SupplementalArrowsA { get { throw null; } } + + public static UnicodeRange SupplementalArrowsB { get { throw null; } } + + public static UnicodeRange SupplementalMathematicalOperators { get { throw null; } } + + public static UnicodeRange SupplementalPunctuation { get { throw null; } } + + public static UnicodeRange SylotiNagri { get { throw null; } } + + public static UnicodeRange Syriac { get { throw null; } } + + public static UnicodeRange Tagalog { get { throw null; } } + + public static UnicodeRange Tagbanwa { get { throw null; } } + + public static UnicodeRange TaiLe { get { throw null; } } + + public static UnicodeRange TaiTham { get { throw null; } } + + public static UnicodeRange TaiViet { get { throw null; } } + + public static UnicodeRange Tamil { get { throw null; } } + + public static UnicodeRange Telugu { get { throw null; } } + + public static UnicodeRange Thaana { get { throw null; } } + + public static UnicodeRange Thai { get { throw null; } } + + public static UnicodeRange Tibetan { get { throw null; } } + + public static UnicodeRange Tifinagh { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabics { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabicsExtended { get { throw null; } } + + public static UnicodeRange Vai { get { throw null; } } + + public static UnicodeRange VariationSelectors { get { throw null; } } + + public static UnicodeRange VedicExtensions { get { throw null; } } + + public static UnicodeRange VerticalForms { get { throw null; } } + + public static UnicodeRange YijingHexagramSymbols { get { throw null; } } + + public static UnicodeRange YiRadicals { get { throw null; } } + + public static UnicodeRange YiSyllables { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard2.0/System.Text.Encodings.Web.cs b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard2.0/System.Text.Encodings.Web.cs new file mode 100644 index 0000000000..e3f2b065be --- /dev/null +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/lib/netstandard2.0/System.Text.Encodings.Web.cs @@ -0,0 +1,450 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Text.Encodings.Web")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encodings.Web")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.4.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text.Encodings.Web +{ + public abstract partial class HtmlEncoder : TextEncoder + { + public static HtmlEncoder Default { get { throw null; } } + + public static HtmlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static HtmlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class JavaScriptEncoder : TextEncoder + { + public static JavaScriptEncoder Default { get { throw null; } } + + public static JavaScriptEncoder UnsafeRelaxedJsonEscaping { get { throw null; } } + + public static JavaScriptEncoder Create(TextEncoderSettings settings) { throw null; } + + public static JavaScriptEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } + + public abstract partial class TextEncoder + { + public abstract int MaxOutputCharactersPerInputCharacter { get; } + + public virtual void Encode(IO.TextWriter output, char[] value, int startIndex, int characterCount) { } + + public virtual void Encode(IO.TextWriter output, string value, int startIndex, int characterCount) { } + + public void Encode(IO.TextWriter output, string value) { } + + public virtual Buffers.OperationStatus Encode(ReadOnlySpan source, Span destination, out int charsConsumed, out int charsWritten, bool isFinalBlock = true) { throw null; } + + public virtual string Encode(string value) { throw null; } + + public virtual Buffers.OperationStatus EncodeUtf8(ReadOnlySpan utf8Source, Span utf8Destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + + [CLSCompliant(false)] + public abstract unsafe int FindFirstCharacterToEncode(char* text, int textLength); + public virtual int FindFirstCharacterToEncodeUtf8(ReadOnlySpan utf8Text) { throw null; } + + [CLSCompliant(false)] + public abstract unsafe bool TryEncodeUnicodeScalar(int unicodeScalar, char* buffer, int bufferLength, out int numberOfCharactersWritten); + public abstract bool WillEncode(int unicodeScalar); + } + + public partial class TextEncoderSettings + { + public TextEncoderSettings() { } + + public TextEncoderSettings(TextEncoderSettings other) { } + + public TextEncoderSettings(params Unicode.UnicodeRange[] allowedRanges) { } + + public virtual void AllowCharacter(char character) { } + + public virtual void AllowCharacters(params char[] characters) { } + + public virtual void AllowCodePoints(Collections.Generic.IEnumerable codePoints) { } + + public virtual void AllowRange(Unicode.UnicodeRange range) { } + + public virtual void AllowRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual void Clear() { } + + public virtual void ForbidCharacter(char character) { } + + public virtual void ForbidCharacters(params char[] characters) { } + + public virtual void ForbidRange(Unicode.UnicodeRange range) { } + + public virtual void ForbidRanges(params Unicode.UnicodeRange[] ranges) { } + + public virtual Collections.Generic.IEnumerable GetAllowedCodePoints() { throw null; } + } + + public abstract partial class UrlEncoder : TextEncoder + { + public static UrlEncoder Default { get { throw null; } } + + public static UrlEncoder Create(TextEncoderSettings settings) { throw null; } + + public static UrlEncoder Create(params Unicode.UnicodeRange[] allowedRanges) { throw null; } + } +} + +namespace System.Text.Unicode +{ + public sealed partial class UnicodeRange + { + public UnicodeRange(int firstCodePoint, int length) { } + + public int FirstCodePoint { get { throw null; } } + + public int Length { get { throw null; } } + + public static UnicodeRange Create(char firstCharacter, char lastCharacter) { throw null; } + } + + public static partial class UnicodeRanges + { + public static UnicodeRange All { get { throw null; } } + + public static UnicodeRange AlphabeticPresentationForms { get { throw null; } } + + public static UnicodeRange Arabic { get { throw null; } } + + public static UnicodeRange ArabicExtendedA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsA { get { throw null; } } + + public static UnicodeRange ArabicPresentationFormsB { get { throw null; } } + + public static UnicodeRange ArabicSupplement { get { throw null; } } + + public static UnicodeRange Armenian { get { throw null; } } + + public static UnicodeRange Arrows { get { throw null; } } + + public static UnicodeRange Balinese { get { throw null; } } + + public static UnicodeRange Bamum { get { throw null; } } + + public static UnicodeRange BasicLatin { get { throw null; } } + + public static UnicodeRange Batak { get { throw null; } } + + public static UnicodeRange Bengali { get { throw null; } } + + public static UnicodeRange BlockElements { get { throw null; } } + + public static UnicodeRange Bopomofo { get { throw null; } } + + public static UnicodeRange BopomofoExtended { get { throw null; } } + + public static UnicodeRange BoxDrawing { get { throw null; } } + + public static UnicodeRange BraillePatterns { get { throw null; } } + + public static UnicodeRange Buginese { get { throw null; } } + + public static UnicodeRange Buhid { get { throw null; } } + + public static UnicodeRange Cham { get { throw null; } } + + public static UnicodeRange Cherokee { get { throw null; } } + + public static UnicodeRange CherokeeSupplement { get { throw null; } } + + public static UnicodeRange CjkCompatibility { get { throw null; } } + + public static UnicodeRange CjkCompatibilityForms { get { throw null; } } + + public static UnicodeRange CjkCompatibilityIdeographs { get { throw null; } } + + public static UnicodeRange CjkRadicalsSupplement { get { throw null; } } + + public static UnicodeRange CjkStrokes { get { throw null; } } + + public static UnicodeRange CjkSymbolsandPunctuation { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographs { get { throw null; } } + + public static UnicodeRange CjkUnifiedIdeographsExtensionA { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarks { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksExtended { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksforSymbols { get { throw null; } } + + public static UnicodeRange CombiningDiacriticalMarksSupplement { get { throw null; } } + + public static UnicodeRange CombiningHalfMarks { get { throw null; } } + + public static UnicodeRange CommonIndicNumberForms { get { throw null; } } + + public static UnicodeRange ControlPictures { get { throw null; } } + + public static UnicodeRange Coptic { get { throw null; } } + + public static UnicodeRange CurrencySymbols { get { throw null; } } + + public static UnicodeRange Cyrillic { get { throw null; } } + + public static UnicodeRange CyrillicExtendedA { get { throw null; } } + + public static UnicodeRange CyrillicExtendedB { get { throw null; } } + + public static UnicodeRange CyrillicExtendedC { get { throw null; } } + + public static UnicodeRange CyrillicSupplement { get { throw null; } } + + public static UnicodeRange Devanagari { get { throw null; } } + + public static UnicodeRange DevanagariExtended { get { throw null; } } + + public static UnicodeRange Dingbats { get { throw null; } } + + public static UnicodeRange EnclosedAlphanumerics { get { throw null; } } + + public static UnicodeRange EnclosedCjkLettersandMonths { get { throw null; } } + + public static UnicodeRange Ethiopic { get { throw null; } } + + public static UnicodeRange EthiopicExtended { get { throw null; } } + + public static UnicodeRange EthiopicExtendedA { get { throw null; } } + + public static UnicodeRange EthiopicSupplement { get { throw null; } } + + public static UnicodeRange GeneralPunctuation { get { throw null; } } + + public static UnicodeRange GeometricShapes { get { throw null; } } + + public static UnicodeRange Georgian { get { throw null; } } + + public static UnicodeRange GeorgianExtended { get { throw null; } } + + public static UnicodeRange GeorgianSupplement { get { throw null; } } + + public static UnicodeRange Glagolitic { get { throw null; } } + + public static UnicodeRange GreekandCoptic { get { throw null; } } + + public static UnicodeRange GreekExtended { get { throw null; } } + + public static UnicodeRange Gujarati { get { throw null; } } + + public static UnicodeRange Gurmukhi { get { throw null; } } + + public static UnicodeRange HalfwidthandFullwidthForms { get { throw null; } } + + public static UnicodeRange HangulCompatibilityJamo { get { throw null; } } + + public static UnicodeRange HangulJamo { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedA { get { throw null; } } + + public static UnicodeRange HangulJamoExtendedB { get { throw null; } } + + public static UnicodeRange HangulSyllables { get { throw null; } } + + public static UnicodeRange Hanunoo { get { throw null; } } + + public static UnicodeRange Hebrew { get { throw null; } } + + public static UnicodeRange Hiragana { get { throw null; } } + + public static UnicodeRange IdeographicDescriptionCharacters { get { throw null; } } + + public static UnicodeRange IpaExtensions { get { throw null; } } + + public static UnicodeRange Javanese { get { throw null; } } + + public static UnicodeRange Kanbun { get { throw null; } } + + public static UnicodeRange KangxiRadicals { get { throw null; } } + + public static UnicodeRange Kannada { get { throw null; } } + + public static UnicodeRange Katakana { get { throw null; } } + + public static UnicodeRange KatakanaPhoneticExtensions { get { throw null; } } + + public static UnicodeRange KayahLi { get { throw null; } } + + public static UnicodeRange Khmer { get { throw null; } } + + public static UnicodeRange KhmerSymbols { get { throw null; } } + + public static UnicodeRange Lao { get { throw null; } } + + public static UnicodeRange Latin1Supplement { get { throw null; } } + + public static UnicodeRange LatinExtendedA { get { throw null; } } + + public static UnicodeRange LatinExtendedAdditional { get { throw null; } } + + public static UnicodeRange LatinExtendedB { get { throw null; } } + + public static UnicodeRange LatinExtendedC { get { throw null; } } + + public static UnicodeRange LatinExtendedD { get { throw null; } } + + public static UnicodeRange LatinExtendedE { get { throw null; } } + + public static UnicodeRange Lepcha { get { throw null; } } + + public static UnicodeRange LetterlikeSymbols { get { throw null; } } + + public static UnicodeRange Limbu { get { throw null; } } + + public static UnicodeRange Lisu { get { throw null; } } + + public static UnicodeRange Malayalam { get { throw null; } } + + public static UnicodeRange Mandaic { get { throw null; } } + + public static UnicodeRange MathematicalOperators { get { throw null; } } + + public static UnicodeRange MeeteiMayek { get { throw null; } } + + public static UnicodeRange MeeteiMayekExtensions { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsA { get { throw null; } } + + public static UnicodeRange MiscellaneousMathematicalSymbolsB { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbols { get { throw null; } } + + public static UnicodeRange MiscellaneousSymbolsandArrows { get { throw null; } } + + public static UnicodeRange MiscellaneousTechnical { get { throw null; } } + + public static UnicodeRange ModifierToneLetters { get { throw null; } } + + public static UnicodeRange Mongolian { get { throw null; } } + + public static UnicodeRange Myanmar { get { throw null; } } + + public static UnicodeRange MyanmarExtendedA { get { throw null; } } + + public static UnicodeRange MyanmarExtendedB { get { throw null; } } + + public static UnicodeRange NewTaiLue { get { throw null; } } + + public static UnicodeRange NKo { get { throw null; } } + + public static UnicodeRange None { get { throw null; } } + + public static UnicodeRange NumberForms { get { throw null; } } + + public static UnicodeRange Ogham { get { throw null; } } + + public static UnicodeRange OlChiki { get { throw null; } } + + public static UnicodeRange OpticalCharacterRecognition { get { throw null; } } + + public static UnicodeRange Oriya { get { throw null; } } + + public static UnicodeRange Phagspa { get { throw null; } } + + public static UnicodeRange PhoneticExtensions { get { throw null; } } + + public static UnicodeRange PhoneticExtensionsSupplement { get { throw null; } } + + public static UnicodeRange Rejang { get { throw null; } } + + public static UnicodeRange Runic { get { throw null; } } + + public static UnicodeRange Samaritan { get { throw null; } } + + public static UnicodeRange Saurashtra { get { throw null; } } + + public static UnicodeRange Sinhala { get { throw null; } } + + public static UnicodeRange SmallFormVariants { get { throw null; } } + + public static UnicodeRange SpacingModifierLetters { get { throw null; } } + + public static UnicodeRange Specials { get { throw null; } } + + public static UnicodeRange Sundanese { get { throw null; } } + + public static UnicodeRange SundaneseSupplement { get { throw null; } } + + public static UnicodeRange SuperscriptsandSubscripts { get { throw null; } } + + public static UnicodeRange SupplementalArrowsA { get { throw null; } } + + public static UnicodeRange SupplementalArrowsB { get { throw null; } } + + public static UnicodeRange SupplementalMathematicalOperators { get { throw null; } } + + public static UnicodeRange SupplementalPunctuation { get { throw null; } } + + public static UnicodeRange SylotiNagri { get { throw null; } } + + public static UnicodeRange Syriac { get { throw null; } } + + public static UnicodeRange SyriacSupplement { get { throw null; } } + + public static UnicodeRange Tagalog { get { throw null; } } + + public static UnicodeRange Tagbanwa { get { throw null; } } + + public static UnicodeRange TaiLe { get { throw null; } } + + public static UnicodeRange TaiTham { get { throw null; } } + + public static UnicodeRange TaiViet { get { throw null; } } + + public static UnicodeRange Tamil { get { throw null; } } + + public static UnicodeRange Telugu { get { throw null; } } + + public static UnicodeRange Thaana { get { throw null; } } + + public static UnicodeRange Thai { get { throw null; } } + + public static UnicodeRange Tibetan { get { throw null; } } + + public static UnicodeRange Tifinagh { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabics { get { throw null; } } + + public static UnicodeRange UnifiedCanadianAboriginalSyllabicsExtended { get { throw null; } } + + public static UnicodeRange Vai { get { throw null; } } + + public static UnicodeRange VariationSelectors { get { throw null; } } + + public static UnicodeRange VedicExtensions { get { throw null; } } + + public static UnicodeRange VerticalForms { get { throw null; } } + + public static UnicodeRange YijingHexagramSymbols { get { throw null; } } + + public static UnicodeRange YiRadicals { get { throw null; } } + + public static UnicodeRange YiSyllables { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/system.text.encodings.web.nuspec b/src/referencePackages/src/system.text.encodings.web/4.6.0/system.text.encodings.web.nuspec new file mode 100644 index 0000000000..c727a0c685 --- /dev/null +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/system.text.encodings.web.nuspec @@ -0,0 +1,34 @@ + + + + System.Text.Encodings.Web + 4.6.0 + System.Text.Encodings.Web + Microsoft + microsoft,dotnetframework + false + https://github.com/dotnet/corefx/blob/master/LICENSE.TXT + https://github.com/dotnet/corefx + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides types for encoding and escaping strings for use in JavaScript, HyperText Markup Language (HTML), and uniform resource locators (URL). + +Commonly Used Types: +System.Text.Encodings.Web.HtmlEncoder +System.Text.Encodings.Web.UrlEncoder +System.Text.Encodings.Web.JavaScriptEncoder + +When using NuGet 3.x this package requires at least version 3.4. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.text.json/4.6.0/System.Text.Json.4.6.0.csproj b/src/referencePackages/src/system.text.json/4.6.0/System.Text.Json.4.6.0.csproj new file mode 100644 index 0000000000..b92a3aad1b --- /dev/null +++ b/src/referencePackages/src/system.text.json/4.6.0/System.Text.Json.4.6.0.csproj @@ -0,0 +1,20 @@ + + + + netcoreapp3.0;netstandard2.0 + System.Text.Json + 2 + Open + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.text.json/4.6.0/lib/netcoreapp3.0/System.Text.Json.cs b/src/referencePackages/src/system.text.json/4.6.0/lib/netcoreapp3.0/System.Text.Json.cs new file mode 100644 index 0000000000..db5f6cfa3a --- /dev/null +++ b/src/referencePackages/src/system.text.json/4.6.0/lib/netcoreapp3.0/System.Text.Json.cs @@ -0,0 +1,852 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Json")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Text.Json")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Json")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text.Json +{ + public enum JsonCommentHandling : byte + { + Disallow = 0, + Skip = 1, + Allow = 2 + } + + public sealed partial class JsonDocument : IDisposable + { + internal JsonDocument() { } + + public JsonElement RootElement { get { throw null; } } + + public void Dispose() { } + + public static JsonDocument Parse(Buffers.ReadOnlySequence utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(IO.Stream utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(ReadOnlyMemory utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(ReadOnlyMemory json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(string json, JsonDocumentOptions options = default) { throw null; } + + public static Threading.Tasks.Task ParseAsync(IO.Stream utf8Json, JsonDocumentOptions options = default, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static JsonDocument ParseValue(ref Utf8JsonReader reader) { throw null; } + + public static bool TryParseValue(ref Utf8JsonReader reader, out JsonDocument document) { throw null; } + + public void WriteTo(Utf8JsonWriter writer) { } + } + + public partial struct JsonDocumentOptions + { + private int _dummyPrimitive; + public bool AllowTrailingCommas { get { throw null; } set { } } + + public JsonCommentHandling CommentHandling { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + } + + public readonly partial struct JsonElement + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public JsonElement this[int index] { get { throw null; } } + + public JsonValueKind ValueKind { get { throw null; } } + + public readonly JsonElement Clone() { throw null; } + + public readonly ArrayEnumerator EnumerateArray() { throw null; } + + public readonly ObjectEnumerator EnumerateObject() { throw null; } + + public readonly int GetArrayLength() { throw null; } + + public readonly bool GetBoolean() { throw null; } + + public readonly byte GetByte() { throw null; } + + public readonly byte[] GetBytesFromBase64() { throw null; } + + public readonly DateTime GetDateTime() { throw null; } + + public readonly DateTimeOffset GetDateTimeOffset() { throw null; } + + public readonly decimal GetDecimal() { throw null; } + + public readonly double GetDouble() { throw null; } + + public readonly Guid GetGuid() { throw null; } + + public readonly short GetInt16() { throw null; } + + public readonly int GetInt32() { throw null; } + + public readonly long GetInt64() { throw null; } + + public readonly JsonElement GetProperty(ReadOnlySpan utf8PropertyName) { throw null; } + + public readonly JsonElement GetProperty(ReadOnlySpan propertyName) { throw null; } + + public readonly JsonElement GetProperty(string propertyName) { throw null; } + + public readonly string GetRawText() { throw null; } + + [CLSCompliant(false)] + public readonly sbyte GetSByte() { throw null; } + + public readonly float GetSingle() { throw null; } + + public readonly string GetString() { throw null; } + + [CLSCompliant(false)] + public readonly ushort GetUInt16() { throw null; } + + [CLSCompliant(false)] + public readonly uint GetUInt32() { throw null; } + + [CLSCompliant(false)] + public readonly ulong GetUInt64() { throw null; } + + public override readonly string ToString() { throw null; } + + public readonly bool TryGetByte(out byte value) { throw null; } + + public readonly bool TryGetBytesFromBase64(out byte[] value) { throw null; } + + public readonly bool TryGetDateTime(out DateTime value) { throw null; } + + public readonly bool TryGetDateTimeOffset(out DateTimeOffset value) { throw null; } + + public readonly bool TryGetDecimal(out decimal value) { throw null; } + + public readonly bool TryGetDouble(out double value) { throw null; } + + public readonly bool TryGetGuid(out Guid value) { throw null; } + + public readonly bool TryGetInt16(out short value) { throw null; } + + public readonly bool TryGetInt32(out int value) { throw null; } + + public readonly bool TryGetInt64(out long value) { throw null; } + + public readonly bool TryGetProperty(ReadOnlySpan utf8PropertyName, out JsonElement value) { throw null; } + + public readonly bool TryGetProperty(ReadOnlySpan propertyName, out JsonElement value) { throw null; } + + public readonly bool TryGetProperty(string propertyName, out JsonElement value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetSByte(out sbyte value) { throw null; } + + public readonly bool TryGetSingle(out float value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt16(out ushort value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt32(out uint value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt64(out ulong value) { throw null; } + + public readonly bool ValueEquals(ReadOnlySpan utf8Text) { throw null; } + + public readonly bool ValueEquals(ReadOnlySpan text) { throw null; } + + public readonly bool ValueEquals(string text) { throw null; } + + public readonly void WriteTo(Utf8JsonWriter writer) { } + + public partial struct ArrayEnumerator : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public JsonElement Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public ArrayEnumerator GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public partial struct ObjectEnumerator : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public JsonProperty Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public ObjectEnumerator GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + } + + public readonly partial struct JsonEncodedText : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReadOnlySpan EncodedUtf8Bytes { get { throw null; } } + + public static JsonEncodedText Encode(ReadOnlySpan utf8Value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public static JsonEncodedText Encode(ReadOnlySpan value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public static JsonEncodedText Encode(string value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public override readonly bool Equals(object obj) { throw null; } + + public readonly bool Equals(JsonEncodedText other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public override readonly string ToString() { throw null; } + } + + public partial class JsonException : Exception + { + public JsonException() { } + + protected JsonException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public JsonException(string message, Exception innerException) { } + + public JsonException(string message, string path, long? lineNumber, long? bytePositionInLine, Exception innerException) { } + + public JsonException(string message, string path, long? lineNumber, long? bytePositionInLine) { } + + public JsonException(string message) { } + + public long? BytePositionInLine { get { throw null; } } + + public long? LineNumber { get { throw null; } } + + public override string Message { get { throw null; } } + + public string Path { get { throw null; } } + + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public abstract partial class JsonNamingPolicy + { + public static JsonNamingPolicy CamelCase { get { throw null; } } + + public abstract string ConvertName(string name); + } + + public readonly partial struct JsonProperty + { + public string Name { get { throw null; } } + + public JsonElement Value { get { throw null; } } + + public readonly bool NameEquals(ReadOnlySpan utf8Text) { throw null; } + + public readonly bool NameEquals(ReadOnlySpan text) { throw null; } + + public readonly bool NameEquals(string text) { throw null; } + + public override readonly string ToString() { throw null; } + + public readonly void WriteTo(Utf8JsonWriter writer) { } + } + + public partial struct JsonReaderOptions + { + private int _dummyPrimitive; + public bool AllowTrailingCommas { get { throw null; } set { } } + + public JsonCommentHandling CommentHandling { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + } + + public partial struct JsonReaderState + { + private int _dummyPrimitive; + public JsonReaderState(JsonReaderOptions options = default) { } + + public JsonReaderOptions Options { get { throw null; } } + } + + public static partial class JsonSerializer + { + public static object Deserialize(ReadOnlySpan utf8Json, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static object Deserialize(string json, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static object Deserialize(ref Utf8JsonReader reader, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(ReadOnlySpan utf8Json, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(string json, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(ref Utf8JsonReader reader, JsonSerializerOptions options = null) { throw null; } + + public static Threading.Tasks.ValueTask DeserializeAsync(IO.Stream utf8Json, Type returnType, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static Threading.Tasks.ValueTask DeserializeAsync(IO.Stream utf8Json, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static string Serialize(object value, Type inputType, JsonSerializerOptions options = null) { throw null; } + + public static void Serialize(Utf8JsonWriter writer, object value, Type inputType, JsonSerializerOptions options = null) { } + + public static string Serialize(TValue value, JsonSerializerOptions options = null) { throw null; } + + public static void Serialize(Utf8JsonWriter writer, TValue value, JsonSerializerOptions options = null) { } + + public static Threading.Tasks.Task SerializeAsync(IO.Stream utf8Json, object value, Type inputType, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static Threading.Tasks.Task SerializeAsync(IO.Stream utf8Json, TValue value, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static byte[] SerializeToUtf8Bytes(object value, Type inputType, JsonSerializerOptions options = null) { throw null; } + + public static byte[] SerializeToUtf8Bytes(TValue value, JsonSerializerOptions options = null) { throw null; } + } + + public sealed partial class JsonSerializerOptions + { + public bool AllowTrailingCommas { get { throw null; } set { } } + + public Collections.Generic.IList Converters { get { throw null; } } + + public int DefaultBufferSize { get { throw null; } set { } } + + public JsonNamingPolicy DictionaryKeyPolicy { get { throw null; } set { } } + + public Encodings.Web.JavaScriptEncoder Encoder { get { throw null; } set { } } + + public bool IgnoreNullValues { get { throw null; } set { } } + + public bool IgnoreReadOnlyProperties { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + + public bool PropertyNameCaseInsensitive { get { throw null; } set { } } + + public JsonNamingPolicy PropertyNamingPolicy { get { throw null; } set { } } + + public JsonCommentHandling ReadCommentHandling { get { throw null; } set { } } + + public bool WriteIndented { get { throw null; } set { } } + + public Serialization.JsonConverter GetConverter(Type typeToConvert) { throw null; } + } + + public enum JsonTokenType : byte + { + None = 0, + StartObject = 1, + EndObject = 2, + StartArray = 3, + EndArray = 4, + PropertyName = 5, + Comment = 6, + String = 7, + Number = 8, + True = 9, + False = 10, + Null = 11 + } + + public enum JsonValueKind : byte + { + Undefined = 0, + Object = 1, + Array = 2, + String = 3, + Number = 4, + True = 5, + False = 6, + Null = 7 + } + + public partial struct JsonWriterOptions + { + private object _dummy; + private int _dummyPrimitive; + public Encodings.Web.JavaScriptEncoder Encoder { get { throw null; } set { } } + + public bool Indented { get { throw null; } set { } } + + public bool SkipValidation { get { throw null; } set { } } + } + + public partial struct Utf8JsonReader + { + private object _dummy; + private int _dummyPrimitive; + public Utf8JsonReader(Buffers.ReadOnlySequence jsonData, bool isFinalBlock, JsonReaderState state) { } + + public Utf8JsonReader(Buffers.ReadOnlySequence jsonData, JsonReaderOptions options = default) { } + + public Utf8JsonReader(ReadOnlySpan jsonData, bool isFinalBlock, JsonReaderState state) { } + + public Utf8JsonReader(ReadOnlySpan jsonData, JsonReaderOptions options = default) { } + + public long BytesConsumed { get { throw null; } } + + public int CurrentDepth { get { throw null; } } + + public JsonReaderState CurrentState { get { throw null; } } + + public bool HasValueSequence { get { throw null; } } + + public bool IsFinalBlock { get { throw null; } } + + public SequencePosition Position { get { throw null; } } + + public long TokenStartIndex { get { throw null; } } + + public JsonTokenType TokenType { get { throw null; } } + + public Buffers.ReadOnlySequence ValueSequence { get { throw null; } } + + public ReadOnlySpan ValueSpan { get { throw null; } } + + public bool GetBoolean() { throw null; } + + public byte GetByte() { throw null; } + + public byte[] GetBytesFromBase64() { throw null; } + + public string GetComment() { throw null; } + + public DateTime GetDateTime() { throw null; } + + public DateTimeOffset GetDateTimeOffset() { throw null; } + + public decimal GetDecimal() { throw null; } + + public double GetDouble() { throw null; } + + public Guid GetGuid() { throw null; } + + public short GetInt16() { throw null; } + + public int GetInt32() { throw null; } + + public long GetInt64() { throw null; } + + [CLSCompliant(false)] + public sbyte GetSByte() { throw null; } + + public float GetSingle() { throw null; } + + public string GetString() { throw null; } + + [CLSCompliant(false)] + public ushort GetUInt16() { throw null; } + + [CLSCompliant(false)] + public uint GetUInt32() { throw null; } + + [CLSCompliant(false)] + public ulong GetUInt64() { throw null; } + + public bool Read() { throw null; } + + public void Skip() { } + + public bool TryGetByte(out byte value) { throw null; } + + public bool TryGetBytesFromBase64(out byte[] value) { throw null; } + + public bool TryGetDateTime(out DateTime value) { throw null; } + + public bool TryGetDateTimeOffset(out DateTimeOffset value) { throw null; } + + public bool TryGetDecimal(out decimal value) { throw null; } + + public bool TryGetDouble(out double value) { throw null; } + + public bool TryGetGuid(out Guid value) { throw null; } + + public bool TryGetInt16(out short value) { throw null; } + + public bool TryGetInt32(out int value) { throw null; } + + public bool TryGetInt64(out long value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetSByte(out sbyte value) { throw null; } + + public bool TryGetSingle(out float value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt16(out ushort value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt32(out uint value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt64(out ulong value) { throw null; } + + public bool TrySkip() { throw null; } + + public bool ValueTextEquals(ReadOnlySpan utf8Text) { throw null; } + + public bool ValueTextEquals(ReadOnlySpan text) { throw null; } + + public bool ValueTextEquals(string text) { throw null; } + } + + public sealed partial class Utf8JsonWriter : IDisposable, IAsyncDisposable + { + public Utf8JsonWriter(Buffers.IBufferWriter bufferWriter, JsonWriterOptions options = default) { } + + public Utf8JsonWriter(IO.Stream utf8Json, JsonWriterOptions options = default) { } + + public long BytesCommitted { get { throw null; } } + + public int BytesPending { get { throw null; } } + + public int CurrentDepth { get { throw null; } } + + public JsonWriterOptions Options { get { throw null; } } + + public void Dispose() { } + + public Threading.Tasks.ValueTask DisposeAsync() { throw null; } + + public void Flush() { } + + public Threading.Tasks.Task FlushAsync(Threading.CancellationToken cancellationToken = default) { throw null; } + + public void Reset() { } + + public void Reset(Buffers.IBufferWriter bufferWriter) { } + + public void Reset(IO.Stream utf8Json) { } + + public void WriteBase64String(ReadOnlySpan utf8PropertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(ReadOnlySpan propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(string propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(JsonEncodedText propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64StringValue(ReadOnlySpan bytes) { } + + public void WriteBoolean(ReadOnlySpan utf8PropertyName, bool value) { } + + public void WriteBoolean(ReadOnlySpan propertyName, bool value) { } + + public void WriteBoolean(string propertyName, bool value) { } + + public void WriteBoolean(JsonEncodedText propertyName, bool value) { } + + public void WriteBooleanValue(bool value) { } + + public void WriteCommentValue(ReadOnlySpan utf8Value) { } + + public void WriteCommentValue(ReadOnlySpan value) { } + + public void WriteCommentValue(string value) { } + + public void WriteEndArray() { } + + public void WriteEndObject() { } + + public void WriteNull(ReadOnlySpan utf8PropertyName) { } + + public void WriteNull(ReadOnlySpan propertyName) { } + + public void WriteNull(string propertyName) { } + + public void WriteNull(JsonEncodedText propertyName) { } + + public void WriteNullValue() { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, decimal value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, double value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, int value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, long value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan utf8PropertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan utf8PropertyName, ulong value) { } + + public void WriteNumber(ReadOnlySpan propertyName, decimal value) { } + + public void WriteNumber(ReadOnlySpan propertyName, double value) { } + + public void WriteNumber(ReadOnlySpan propertyName, int value) { } + + public void WriteNumber(ReadOnlySpan propertyName, long value) { } + + public void WriteNumber(ReadOnlySpan propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan propertyName, ulong value) { } + + public void WriteNumber(string propertyName, decimal value) { } + + public void WriteNumber(string propertyName, double value) { } + + public void WriteNumber(string propertyName, int value) { } + + public void WriteNumber(string propertyName, long value) { } + + public void WriteNumber(string propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(string propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(string propertyName, ulong value) { } + + public void WriteNumber(JsonEncodedText propertyName, decimal value) { } + + public void WriteNumber(JsonEncodedText propertyName, double value) { } + + public void WriteNumber(JsonEncodedText propertyName, int value) { } + + public void WriteNumber(JsonEncodedText propertyName, long value) { } + + public void WriteNumber(JsonEncodedText propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(JsonEncodedText propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(JsonEncodedText propertyName, ulong value) { } + + public void WriteNumberValue(decimal value) { } + + public void WriteNumberValue(double value) { } + + public void WriteNumberValue(int value) { } + + public void WriteNumberValue(long value) { } + + public void WriteNumberValue(float value) { } + + [CLSCompliant(false)] + public void WriteNumberValue(uint value) { } + + [CLSCompliant(false)] + public void WriteNumberValue(ulong value) { } + + public void WritePropertyName(ReadOnlySpan utf8PropertyName) { } + + public void WritePropertyName(ReadOnlySpan propertyName) { } + + public void WritePropertyName(string propertyName) { } + + public void WritePropertyName(JsonEncodedText propertyName) { } + + public void WriteStartArray() { } + + public void WriteStartArray(ReadOnlySpan utf8PropertyName) { } + + public void WriteStartArray(ReadOnlySpan propertyName) { } + + public void WriteStartArray(string propertyName) { } + + public void WriteStartArray(JsonEncodedText propertyName) { } + + public void WriteStartObject() { } + + public void WriteStartObject(ReadOnlySpan utf8PropertyName) { } + + public void WriteStartObject(ReadOnlySpan propertyName) { } + + public void WriteStartObject(string propertyName) { } + + public void WriteStartObject(JsonEncodedText propertyName) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, DateTime value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, DateTimeOffset value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, Guid value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, ReadOnlySpan value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, string value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, JsonEncodedText value) { } + + public void WriteString(ReadOnlySpan propertyName, DateTime value) { } + + public void WriteString(ReadOnlySpan propertyName, DateTimeOffset value) { } + + public void WriteString(ReadOnlySpan propertyName, Guid value) { } + + public void WriteString(ReadOnlySpan propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(ReadOnlySpan propertyName, ReadOnlySpan value) { } + + public void WriteString(ReadOnlySpan propertyName, string value) { } + + public void WriteString(ReadOnlySpan propertyName, JsonEncodedText value) { } + + public void WriteString(string propertyName, DateTime value) { } + + public void WriteString(string propertyName, DateTimeOffset value) { } + + public void WriteString(string propertyName, Guid value) { } + + public void WriteString(string propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(string propertyName, ReadOnlySpan value) { } + + public void WriteString(string propertyName, string value) { } + + public void WriteString(string propertyName, JsonEncodedText value) { } + + public void WriteString(JsonEncodedText propertyName, DateTime value) { } + + public void WriteString(JsonEncodedText propertyName, DateTimeOffset value) { } + + public void WriteString(JsonEncodedText propertyName, Guid value) { } + + public void WriteString(JsonEncodedText propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(JsonEncodedText propertyName, ReadOnlySpan value) { } + + public void WriteString(JsonEncodedText propertyName, string value) { } + + public void WriteString(JsonEncodedText propertyName, JsonEncodedText value) { } + + public void WriteStringValue(DateTime value) { } + + public void WriteStringValue(DateTimeOffset value) { } + + public void WriteStringValue(Guid value) { } + + public void WriteStringValue(ReadOnlySpan utf8Value) { } + + public void WriteStringValue(ReadOnlySpan value) { } + + public void WriteStringValue(string value) { } + + public void WriteStringValue(JsonEncodedText value) { } + } +} + +namespace System.Text.Json.Serialization +{ + public abstract partial class JsonAttribute : Attribute + { + } + + public abstract partial class JsonConverter + { + internal JsonConverter() { } + + public abstract bool CanConvert(Type typeToConvert); + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property, AllowMultiple = false)] + public partial class JsonConverterAttribute : JsonAttribute + { + protected JsonConverterAttribute() { } + + public JsonConverterAttribute(Type converterType) { } + + public Type ConverterType { get { throw null; } } + + public virtual JsonConverter CreateConverter(Type typeToConvert) { throw null; } + } + + public abstract partial class JsonConverterFactory : JsonConverter + { + protected JsonConverterFactory() { } + + public abstract JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options); + } + + public abstract partial class JsonConverter : JsonConverter + { + protected internal JsonConverter() { } + + public override bool CanConvert(Type typeToConvert) { throw null; } + + public abstract T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); + public abstract void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options); + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonExtensionDataAttribute : JsonAttribute + { + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonIgnoreAttribute : JsonAttribute + { + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonPropertyNameAttribute : JsonAttribute + { + public JsonPropertyNameAttribute(string name) { } + + public string Name { get { throw null; } } + } + + public sealed partial class JsonStringEnumConverter : JsonConverterFactory + { + public JsonStringEnumConverter() { } + + public JsonStringEnumConverter(JsonNamingPolicy namingPolicy = null, bool allowIntegerValues = true) { } + + public override bool CanConvert(Type typeToConvert) { throw null; } + + public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.json/4.6.0/lib/netstandard2.0/System.Text.Json.cs b/src/referencePackages/src/system.text.json/4.6.0/lib/netstandard2.0/System.Text.Json.cs new file mode 100644 index 0000000000..db5f6cfa3a --- /dev/null +++ b/src/referencePackages/src/system.text.json/4.6.0/lib/netstandard2.0/System.Text.Json.cs @@ -0,0 +1,852 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Json")] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("System.Text.Json")] +[assembly: System.Reflection.AssemblyFileVersion("4.700.19.46214")] +[assembly: System.Reflection.AssemblyInformationalVersion("3.0.0+4ac4c0367003fe3973a3648eb0715ddb0e3bbcea")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Core")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Json")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyVersionAttribute("4.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text.Json +{ + public enum JsonCommentHandling : byte + { + Disallow = 0, + Skip = 1, + Allow = 2 + } + + public sealed partial class JsonDocument : IDisposable + { + internal JsonDocument() { } + + public JsonElement RootElement { get { throw null; } } + + public void Dispose() { } + + public static JsonDocument Parse(Buffers.ReadOnlySequence utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(IO.Stream utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(ReadOnlyMemory utf8Json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(ReadOnlyMemory json, JsonDocumentOptions options = default) { throw null; } + + public static JsonDocument Parse(string json, JsonDocumentOptions options = default) { throw null; } + + public static Threading.Tasks.Task ParseAsync(IO.Stream utf8Json, JsonDocumentOptions options = default, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static JsonDocument ParseValue(ref Utf8JsonReader reader) { throw null; } + + public static bool TryParseValue(ref Utf8JsonReader reader, out JsonDocument document) { throw null; } + + public void WriteTo(Utf8JsonWriter writer) { } + } + + public partial struct JsonDocumentOptions + { + private int _dummyPrimitive; + public bool AllowTrailingCommas { get { throw null; } set { } } + + public JsonCommentHandling CommentHandling { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + } + + public readonly partial struct JsonElement + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public JsonElement this[int index] { get { throw null; } } + + public JsonValueKind ValueKind { get { throw null; } } + + public readonly JsonElement Clone() { throw null; } + + public readonly ArrayEnumerator EnumerateArray() { throw null; } + + public readonly ObjectEnumerator EnumerateObject() { throw null; } + + public readonly int GetArrayLength() { throw null; } + + public readonly bool GetBoolean() { throw null; } + + public readonly byte GetByte() { throw null; } + + public readonly byte[] GetBytesFromBase64() { throw null; } + + public readonly DateTime GetDateTime() { throw null; } + + public readonly DateTimeOffset GetDateTimeOffset() { throw null; } + + public readonly decimal GetDecimal() { throw null; } + + public readonly double GetDouble() { throw null; } + + public readonly Guid GetGuid() { throw null; } + + public readonly short GetInt16() { throw null; } + + public readonly int GetInt32() { throw null; } + + public readonly long GetInt64() { throw null; } + + public readonly JsonElement GetProperty(ReadOnlySpan utf8PropertyName) { throw null; } + + public readonly JsonElement GetProperty(ReadOnlySpan propertyName) { throw null; } + + public readonly JsonElement GetProperty(string propertyName) { throw null; } + + public readonly string GetRawText() { throw null; } + + [CLSCompliant(false)] + public readonly sbyte GetSByte() { throw null; } + + public readonly float GetSingle() { throw null; } + + public readonly string GetString() { throw null; } + + [CLSCompliant(false)] + public readonly ushort GetUInt16() { throw null; } + + [CLSCompliant(false)] + public readonly uint GetUInt32() { throw null; } + + [CLSCompliant(false)] + public readonly ulong GetUInt64() { throw null; } + + public override readonly string ToString() { throw null; } + + public readonly bool TryGetByte(out byte value) { throw null; } + + public readonly bool TryGetBytesFromBase64(out byte[] value) { throw null; } + + public readonly bool TryGetDateTime(out DateTime value) { throw null; } + + public readonly bool TryGetDateTimeOffset(out DateTimeOffset value) { throw null; } + + public readonly bool TryGetDecimal(out decimal value) { throw null; } + + public readonly bool TryGetDouble(out double value) { throw null; } + + public readonly bool TryGetGuid(out Guid value) { throw null; } + + public readonly bool TryGetInt16(out short value) { throw null; } + + public readonly bool TryGetInt32(out int value) { throw null; } + + public readonly bool TryGetInt64(out long value) { throw null; } + + public readonly bool TryGetProperty(ReadOnlySpan utf8PropertyName, out JsonElement value) { throw null; } + + public readonly bool TryGetProperty(ReadOnlySpan propertyName, out JsonElement value) { throw null; } + + public readonly bool TryGetProperty(string propertyName, out JsonElement value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetSByte(out sbyte value) { throw null; } + + public readonly bool TryGetSingle(out float value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt16(out ushort value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt32(out uint value) { throw null; } + + [CLSCompliant(false)] + public readonly bool TryGetUInt64(out ulong value) { throw null; } + + public readonly bool ValueEquals(ReadOnlySpan utf8Text) { throw null; } + + public readonly bool ValueEquals(ReadOnlySpan text) { throw null; } + + public readonly bool ValueEquals(string text) { throw null; } + + public readonly void WriteTo(Utf8JsonWriter writer) { } + + public partial struct ArrayEnumerator : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public JsonElement Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public ArrayEnumerator GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + + public partial struct ObjectEnumerator : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public JsonProperty Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public ObjectEnumerator GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + } + } + + public readonly partial struct JsonEncodedText : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReadOnlySpan EncodedUtf8Bytes { get { throw null; } } + + public static JsonEncodedText Encode(ReadOnlySpan utf8Value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public static JsonEncodedText Encode(ReadOnlySpan value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public static JsonEncodedText Encode(string value, Encodings.Web.JavaScriptEncoder encoder = null) { throw null; } + + public override readonly bool Equals(object obj) { throw null; } + + public readonly bool Equals(JsonEncodedText other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public override readonly string ToString() { throw null; } + } + + public partial class JsonException : Exception + { + public JsonException() { } + + protected JsonException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public JsonException(string message, Exception innerException) { } + + public JsonException(string message, string path, long? lineNumber, long? bytePositionInLine, Exception innerException) { } + + public JsonException(string message, string path, long? lineNumber, long? bytePositionInLine) { } + + public JsonException(string message) { } + + public long? BytePositionInLine { get { throw null; } } + + public long? LineNumber { get { throw null; } } + + public override string Message { get { throw null; } } + + public string Path { get { throw null; } } + + public override void GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + } + + public abstract partial class JsonNamingPolicy + { + public static JsonNamingPolicy CamelCase { get { throw null; } } + + public abstract string ConvertName(string name); + } + + public readonly partial struct JsonProperty + { + public string Name { get { throw null; } } + + public JsonElement Value { get { throw null; } } + + public readonly bool NameEquals(ReadOnlySpan utf8Text) { throw null; } + + public readonly bool NameEquals(ReadOnlySpan text) { throw null; } + + public readonly bool NameEquals(string text) { throw null; } + + public override readonly string ToString() { throw null; } + + public readonly void WriteTo(Utf8JsonWriter writer) { } + } + + public partial struct JsonReaderOptions + { + private int _dummyPrimitive; + public bool AllowTrailingCommas { get { throw null; } set { } } + + public JsonCommentHandling CommentHandling { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + } + + public partial struct JsonReaderState + { + private int _dummyPrimitive; + public JsonReaderState(JsonReaderOptions options = default) { } + + public JsonReaderOptions Options { get { throw null; } } + } + + public static partial class JsonSerializer + { + public static object Deserialize(ReadOnlySpan utf8Json, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static object Deserialize(string json, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static object Deserialize(ref Utf8JsonReader reader, Type returnType, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(ReadOnlySpan utf8Json, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(string json, JsonSerializerOptions options = null) { throw null; } + + public static TValue Deserialize(ref Utf8JsonReader reader, JsonSerializerOptions options = null) { throw null; } + + public static Threading.Tasks.ValueTask DeserializeAsync(IO.Stream utf8Json, Type returnType, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static Threading.Tasks.ValueTask DeserializeAsync(IO.Stream utf8Json, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static string Serialize(object value, Type inputType, JsonSerializerOptions options = null) { throw null; } + + public static void Serialize(Utf8JsonWriter writer, object value, Type inputType, JsonSerializerOptions options = null) { } + + public static string Serialize(TValue value, JsonSerializerOptions options = null) { throw null; } + + public static void Serialize(Utf8JsonWriter writer, TValue value, JsonSerializerOptions options = null) { } + + public static Threading.Tasks.Task SerializeAsync(IO.Stream utf8Json, object value, Type inputType, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static Threading.Tasks.Task SerializeAsync(IO.Stream utf8Json, TValue value, JsonSerializerOptions options = null, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static byte[] SerializeToUtf8Bytes(object value, Type inputType, JsonSerializerOptions options = null) { throw null; } + + public static byte[] SerializeToUtf8Bytes(TValue value, JsonSerializerOptions options = null) { throw null; } + } + + public sealed partial class JsonSerializerOptions + { + public bool AllowTrailingCommas { get { throw null; } set { } } + + public Collections.Generic.IList Converters { get { throw null; } } + + public int DefaultBufferSize { get { throw null; } set { } } + + public JsonNamingPolicy DictionaryKeyPolicy { get { throw null; } set { } } + + public Encodings.Web.JavaScriptEncoder Encoder { get { throw null; } set { } } + + public bool IgnoreNullValues { get { throw null; } set { } } + + public bool IgnoreReadOnlyProperties { get { throw null; } set { } } + + public int MaxDepth { get { throw null; } set { } } + + public bool PropertyNameCaseInsensitive { get { throw null; } set { } } + + public JsonNamingPolicy PropertyNamingPolicy { get { throw null; } set { } } + + public JsonCommentHandling ReadCommentHandling { get { throw null; } set { } } + + public bool WriteIndented { get { throw null; } set { } } + + public Serialization.JsonConverter GetConverter(Type typeToConvert) { throw null; } + } + + public enum JsonTokenType : byte + { + None = 0, + StartObject = 1, + EndObject = 2, + StartArray = 3, + EndArray = 4, + PropertyName = 5, + Comment = 6, + String = 7, + Number = 8, + True = 9, + False = 10, + Null = 11 + } + + public enum JsonValueKind : byte + { + Undefined = 0, + Object = 1, + Array = 2, + String = 3, + Number = 4, + True = 5, + False = 6, + Null = 7 + } + + public partial struct JsonWriterOptions + { + private object _dummy; + private int _dummyPrimitive; + public Encodings.Web.JavaScriptEncoder Encoder { get { throw null; } set { } } + + public bool Indented { get { throw null; } set { } } + + public bool SkipValidation { get { throw null; } set { } } + } + + public partial struct Utf8JsonReader + { + private object _dummy; + private int _dummyPrimitive; + public Utf8JsonReader(Buffers.ReadOnlySequence jsonData, bool isFinalBlock, JsonReaderState state) { } + + public Utf8JsonReader(Buffers.ReadOnlySequence jsonData, JsonReaderOptions options = default) { } + + public Utf8JsonReader(ReadOnlySpan jsonData, bool isFinalBlock, JsonReaderState state) { } + + public Utf8JsonReader(ReadOnlySpan jsonData, JsonReaderOptions options = default) { } + + public long BytesConsumed { get { throw null; } } + + public int CurrentDepth { get { throw null; } } + + public JsonReaderState CurrentState { get { throw null; } } + + public bool HasValueSequence { get { throw null; } } + + public bool IsFinalBlock { get { throw null; } } + + public SequencePosition Position { get { throw null; } } + + public long TokenStartIndex { get { throw null; } } + + public JsonTokenType TokenType { get { throw null; } } + + public Buffers.ReadOnlySequence ValueSequence { get { throw null; } } + + public ReadOnlySpan ValueSpan { get { throw null; } } + + public bool GetBoolean() { throw null; } + + public byte GetByte() { throw null; } + + public byte[] GetBytesFromBase64() { throw null; } + + public string GetComment() { throw null; } + + public DateTime GetDateTime() { throw null; } + + public DateTimeOffset GetDateTimeOffset() { throw null; } + + public decimal GetDecimal() { throw null; } + + public double GetDouble() { throw null; } + + public Guid GetGuid() { throw null; } + + public short GetInt16() { throw null; } + + public int GetInt32() { throw null; } + + public long GetInt64() { throw null; } + + [CLSCompliant(false)] + public sbyte GetSByte() { throw null; } + + public float GetSingle() { throw null; } + + public string GetString() { throw null; } + + [CLSCompliant(false)] + public ushort GetUInt16() { throw null; } + + [CLSCompliant(false)] + public uint GetUInt32() { throw null; } + + [CLSCompliant(false)] + public ulong GetUInt64() { throw null; } + + public bool Read() { throw null; } + + public void Skip() { } + + public bool TryGetByte(out byte value) { throw null; } + + public bool TryGetBytesFromBase64(out byte[] value) { throw null; } + + public bool TryGetDateTime(out DateTime value) { throw null; } + + public bool TryGetDateTimeOffset(out DateTimeOffset value) { throw null; } + + public bool TryGetDecimal(out decimal value) { throw null; } + + public bool TryGetDouble(out double value) { throw null; } + + public bool TryGetGuid(out Guid value) { throw null; } + + public bool TryGetInt16(out short value) { throw null; } + + public bool TryGetInt32(out int value) { throw null; } + + public bool TryGetInt64(out long value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetSByte(out sbyte value) { throw null; } + + public bool TryGetSingle(out float value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt16(out ushort value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt32(out uint value) { throw null; } + + [CLSCompliant(false)] + public bool TryGetUInt64(out ulong value) { throw null; } + + public bool TrySkip() { throw null; } + + public bool ValueTextEquals(ReadOnlySpan utf8Text) { throw null; } + + public bool ValueTextEquals(ReadOnlySpan text) { throw null; } + + public bool ValueTextEquals(string text) { throw null; } + } + + public sealed partial class Utf8JsonWriter : IDisposable, IAsyncDisposable + { + public Utf8JsonWriter(Buffers.IBufferWriter bufferWriter, JsonWriterOptions options = default) { } + + public Utf8JsonWriter(IO.Stream utf8Json, JsonWriterOptions options = default) { } + + public long BytesCommitted { get { throw null; } } + + public int BytesPending { get { throw null; } } + + public int CurrentDepth { get { throw null; } } + + public JsonWriterOptions Options { get { throw null; } } + + public void Dispose() { } + + public Threading.Tasks.ValueTask DisposeAsync() { throw null; } + + public void Flush() { } + + public Threading.Tasks.Task FlushAsync(Threading.CancellationToken cancellationToken = default) { throw null; } + + public void Reset() { } + + public void Reset(Buffers.IBufferWriter bufferWriter) { } + + public void Reset(IO.Stream utf8Json) { } + + public void WriteBase64String(ReadOnlySpan utf8PropertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(ReadOnlySpan propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(string propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64String(JsonEncodedText propertyName, ReadOnlySpan bytes) { } + + public void WriteBase64StringValue(ReadOnlySpan bytes) { } + + public void WriteBoolean(ReadOnlySpan utf8PropertyName, bool value) { } + + public void WriteBoolean(ReadOnlySpan propertyName, bool value) { } + + public void WriteBoolean(string propertyName, bool value) { } + + public void WriteBoolean(JsonEncodedText propertyName, bool value) { } + + public void WriteBooleanValue(bool value) { } + + public void WriteCommentValue(ReadOnlySpan utf8Value) { } + + public void WriteCommentValue(ReadOnlySpan value) { } + + public void WriteCommentValue(string value) { } + + public void WriteEndArray() { } + + public void WriteEndObject() { } + + public void WriteNull(ReadOnlySpan utf8PropertyName) { } + + public void WriteNull(ReadOnlySpan propertyName) { } + + public void WriteNull(string propertyName) { } + + public void WriteNull(JsonEncodedText propertyName) { } + + public void WriteNullValue() { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, decimal value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, double value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, int value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, long value) { } + + public void WriteNumber(ReadOnlySpan utf8PropertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan utf8PropertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan utf8PropertyName, ulong value) { } + + public void WriteNumber(ReadOnlySpan propertyName, decimal value) { } + + public void WriteNumber(ReadOnlySpan propertyName, double value) { } + + public void WriteNumber(ReadOnlySpan propertyName, int value) { } + + public void WriteNumber(ReadOnlySpan propertyName, long value) { } + + public void WriteNumber(ReadOnlySpan propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(ReadOnlySpan propertyName, ulong value) { } + + public void WriteNumber(string propertyName, decimal value) { } + + public void WriteNumber(string propertyName, double value) { } + + public void WriteNumber(string propertyName, int value) { } + + public void WriteNumber(string propertyName, long value) { } + + public void WriteNumber(string propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(string propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(string propertyName, ulong value) { } + + public void WriteNumber(JsonEncodedText propertyName, decimal value) { } + + public void WriteNumber(JsonEncodedText propertyName, double value) { } + + public void WriteNumber(JsonEncodedText propertyName, int value) { } + + public void WriteNumber(JsonEncodedText propertyName, long value) { } + + public void WriteNumber(JsonEncodedText propertyName, float value) { } + + [CLSCompliant(false)] + public void WriteNumber(JsonEncodedText propertyName, uint value) { } + + [CLSCompliant(false)] + public void WriteNumber(JsonEncodedText propertyName, ulong value) { } + + public void WriteNumberValue(decimal value) { } + + public void WriteNumberValue(double value) { } + + public void WriteNumberValue(int value) { } + + public void WriteNumberValue(long value) { } + + public void WriteNumberValue(float value) { } + + [CLSCompliant(false)] + public void WriteNumberValue(uint value) { } + + [CLSCompliant(false)] + public void WriteNumberValue(ulong value) { } + + public void WritePropertyName(ReadOnlySpan utf8PropertyName) { } + + public void WritePropertyName(ReadOnlySpan propertyName) { } + + public void WritePropertyName(string propertyName) { } + + public void WritePropertyName(JsonEncodedText propertyName) { } + + public void WriteStartArray() { } + + public void WriteStartArray(ReadOnlySpan utf8PropertyName) { } + + public void WriteStartArray(ReadOnlySpan propertyName) { } + + public void WriteStartArray(string propertyName) { } + + public void WriteStartArray(JsonEncodedText propertyName) { } + + public void WriteStartObject() { } + + public void WriteStartObject(ReadOnlySpan utf8PropertyName) { } + + public void WriteStartObject(ReadOnlySpan propertyName) { } + + public void WriteStartObject(string propertyName) { } + + public void WriteStartObject(JsonEncodedText propertyName) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, DateTime value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, DateTimeOffset value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, Guid value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, ReadOnlySpan value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, string value) { } + + public void WriteString(ReadOnlySpan utf8PropertyName, JsonEncodedText value) { } + + public void WriteString(ReadOnlySpan propertyName, DateTime value) { } + + public void WriteString(ReadOnlySpan propertyName, DateTimeOffset value) { } + + public void WriteString(ReadOnlySpan propertyName, Guid value) { } + + public void WriteString(ReadOnlySpan propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(ReadOnlySpan propertyName, ReadOnlySpan value) { } + + public void WriteString(ReadOnlySpan propertyName, string value) { } + + public void WriteString(ReadOnlySpan propertyName, JsonEncodedText value) { } + + public void WriteString(string propertyName, DateTime value) { } + + public void WriteString(string propertyName, DateTimeOffset value) { } + + public void WriteString(string propertyName, Guid value) { } + + public void WriteString(string propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(string propertyName, ReadOnlySpan value) { } + + public void WriteString(string propertyName, string value) { } + + public void WriteString(string propertyName, JsonEncodedText value) { } + + public void WriteString(JsonEncodedText propertyName, DateTime value) { } + + public void WriteString(JsonEncodedText propertyName, DateTimeOffset value) { } + + public void WriteString(JsonEncodedText propertyName, Guid value) { } + + public void WriteString(JsonEncodedText propertyName, ReadOnlySpan utf8Value) { } + + public void WriteString(JsonEncodedText propertyName, ReadOnlySpan value) { } + + public void WriteString(JsonEncodedText propertyName, string value) { } + + public void WriteString(JsonEncodedText propertyName, JsonEncodedText value) { } + + public void WriteStringValue(DateTime value) { } + + public void WriteStringValue(DateTimeOffset value) { } + + public void WriteStringValue(Guid value) { } + + public void WriteStringValue(ReadOnlySpan utf8Value) { } + + public void WriteStringValue(ReadOnlySpan value) { } + + public void WriteStringValue(string value) { } + + public void WriteStringValue(JsonEncodedText value) { } + } +} + +namespace System.Text.Json.Serialization +{ + public abstract partial class JsonAttribute : Attribute + { + } + + public abstract partial class JsonConverter + { + internal JsonConverter() { } + + public abstract bool CanConvert(Type typeToConvert); + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property, AllowMultiple = false)] + public partial class JsonConverterAttribute : JsonAttribute + { + protected JsonConverterAttribute() { } + + public JsonConverterAttribute(Type converterType) { } + + public Type ConverterType { get { throw null; } } + + public virtual JsonConverter CreateConverter(Type typeToConvert) { throw null; } + } + + public abstract partial class JsonConverterFactory : JsonConverter + { + protected JsonConverterFactory() { } + + public abstract JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options); + } + + public abstract partial class JsonConverter : JsonConverter + { + protected internal JsonConverter() { } + + public override bool CanConvert(Type typeToConvert) { throw null; } + + public abstract T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options); + public abstract void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options); + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonExtensionDataAttribute : JsonAttribute + { + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonIgnoreAttribute : JsonAttribute + { + } + + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] + public sealed partial class JsonPropertyNameAttribute : JsonAttribute + { + public JsonPropertyNameAttribute(string name) { } + + public string Name { get { throw null; } } + } + + public sealed partial class JsonStringEnumConverter : JsonConverterFactory + { + public JsonStringEnumConverter() { } + + public JsonStringEnumConverter(JsonNamingPolicy namingPolicy = null, bool allowIntegerValues = true) { } + + public override bool CanConvert(Type typeToConvert) { throw null; } + + public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.json/4.6.0/system.text.json.nuspec b/src/referencePackages/src/system.text.json/4.6.0/system.text.json.nuspec new file mode 100644 index 0000000000..f64281f73c --- /dev/null +++ b/src/referencePackages/src/system.text.json/4.6.0/system.text.json.nuspec @@ -0,0 +1,39 @@ + + + + System.Text.Json + 4.6.0 + System.Text.Json + Microsoft + microsoft,dotnetframework + false + https://github.com/dotnet/corefx/blob/master/LICENSE.TXT + https://github.com/dotnet/corefx + http://go.microsoft.com/fwlink/?LinkID=288859 + Provides high-performance and low-allocating types that serialize objects to JavaScript Object Notation (JSON) text and deserialize JSON text to objects, with UTF-8 support built-in. Also provides types to read and write JSON text encoded as UTF-8, and to create an in-memory document object model (DOM), that is read-only, for random access of the JSON elements within a structured view of the data. + +Commonly Used Types: +System.Text.Json.JsonSerializer +System.Text.Json.JsonDocument +System.Text.Json.JsonElement +System.Text.Json.Utf8JsonWriter +System.Text.Json.Utf8JsonReader + +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 0b2a4e39e50dfbce97c869353c748ccaf3ad8bc9 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Wed, 31 May 2023 18:29:49 +0000 Subject: [PATCH 2/2] Manual edits --- .../Microsoft.Extensions.DependencyModel.3.0.0.csproj | 6 ++++-- .../3.0.0/microsoft.extensions.dependencymodel.nuspec | 11 ++++++----- .../4.6.0/System.Text.Encodings.Web.4.6.0.csproj | 2 ++ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj index f66e2bc179..b92350a3b4 100644 --- a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/Microsoft.Extensions.DependencyModel.3.0.0.csproj @@ -8,7 +8,8 @@ - + + @@ -18,7 +19,8 @@ - + + diff --git a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec index 714ce00e09..711fa5ec1e 100644 --- a/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec +++ b/src/referencePackages/src/microsoft.extensions.dependencymodel/3.0.0/microsoft.extensions.dependencymodel.nuspec @@ -5,9 +5,8 @@ 3.0.0 Microsoft Microsoft - true - LICENSE.TXT - https://aka.ms/deprecateLicenseUrl + false + https://github.com/dotnet/core-setup/blob/master/LICENSE.TXT https://dot.net/ Abstractions for reading `.deps` files. © Microsoft Corporation. All rights reserved. @@ -15,7 +14,8 @@ - + + @@ -24,7 +24,8 @@ - + + diff --git a/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj b/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj index d54257bb6c..b9e9edb0a9 100644 --- a/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj +++ b/src/referencePackages/src/system.text.encodings.web/4.6.0/System.Text.Encodings.Web.4.6.0.csproj @@ -5,6 +5,8 @@ System.Text.Encodings.Web 2 Open + + $(NoWarn);CS3011