diff --git a/eng/Build.props b/eng/Build.props
index 2e64a8ddbe..10fac4ce33 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -152,6 +152,13 @@
+
+
+
+
+
+
+
diff --git a/src/referencePackages/src/nuget.common/6.5.0/NuGet.Common.6.5.0.csproj b/src/referencePackages/src/nuget.common/6.5.0/NuGet.Common.6.5.0.csproj
new file mode 100644
index 0000000000..ecadcd3c4e
--- /dev/null
+++ b/src/referencePackages/src/nuget.common/6.5.0/NuGet.Common.6.5.0.csproj
@@ -0,0 +1,14 @@
+
+
+
+ netstandard2.0
+ NuGet.Common
+ 2
+ MicrosoftShared
+
+
+
+
+
+
+
diff --git a/src/referencePackages/src/nuget.common/6.5.0/lib/netstandard2.0/NuGet.Common.cs b/src/referencePackages/src/nuget.common/6.5.0/lib/netstandard2.0/NuGet.Common.cs
new file mode 100644
index 0000000000..fe695b7962
--- /dev/null
+++ b/src/referencePackages/src/nuget.common/6.5.0/lib/netstandard2.0/NuGet.Common.cs
@@ -0,0 +1,1082 @@
+// 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.CLSCompliant(true)]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Common.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyConfiguration("release")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("Common utilities and interfaces for all NuGet libraries.")]
+[assembly: System.Reflection.AssemblyFileVersion("6.5.0.154")]
+[assembly: System.Reflection.AssemblyInformationalVersion("6.5.0+069970c727b254636c1ad29c5a7a767081482a9a.069970c727b254636c1ad29c5a7a767081482a9a")]
+[assembly: System.Reflection.AssemblyProduct("NuGet")]
+[assembly: System.Reflection.AssemblyTitle("NuGet.Common")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/NuGet/NuGet.Client")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.5.0.154")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace NuGet.Common
+{
+ public static partial class ActivityCorrelationId
+ {
+ public static string Current { get { throw null; } }
+
+ public static void Clear() { }
+
+ public static void StartNew() { }
+ }
+
+ public partial class AggregateEnumerableAsync : IEnumerableAsync
+ {
+ public AggregateEnumerableAsync(System.Collections.Generic.IList> asyncEnumerables, System.Collections.Generic.IComparer comparer, System.Collections.Generic.IEqualityComparer equalityComparer) { }
+
+ public IEnumeratorAsync GetEnumeratorAsync() { throw null; }
+ }
+
+ public partial class AggregateEnumeratorAsync : IEnumeratorAsync
+ {
+ public AggregateEnumeratorAsync(System.Collections.Generic.IList> asyncEnumerables, System.Collections.Generic.IComparer orderingComparer, System.Collections.Generic.IEqualityComparer equalityComparer) { }
+
+ public T Current { get { throw null; } }
+
+ public System.Threading.Tasks.Task MoveNextAsync() { throw null; }
+ }
+
+ public static partial class AsyncLazy
+ {
+ public static AsyncLazy New(T innerData) { throw null; }
+
+ public static AsyncLazy New(System.Func valueFactory) { throw null; }
+
+ public static AsyncLazy New(System.Func> asyncValueFactory) { throw null; }
+
+ public static AsyncLazy New(System.Lazy> inner) { throw null; }
+ }
+
+ [System.CLSCompliant(true)]
+ public partial class AsyncLazy
+ {
+ public AsyncLazy(System.Func> valueFactory) { }
+
+ public AsyncLazy(System.Lazy> inner) { }
+
+ public System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; }
+
+ public static implicit operator System.Lazy>(AsyncLazy outer) { throw null; }
+ }
+
+ public partial class AuthTypeFilteredCredentials : System.Net.ICredentials
+ {
+ public AuthTypeFilteredCredentials(System.Net.NetworkCredential innerCredential, System.Collections.Generic.IEnumerable authTypes) { }
+
+ public System.Collections.Generic.IReadOnlyList AuthTypes { get { throw null; } }
+
+ public System.Net.NetworkCredential InnerCredential { get { throw null; } }
+
+ public System.Net.NetworkCredential GetCredential(System.Uri uri, string authType) { throw null; }
+ }
+
+ public static partial class ClientVersionUtility
+ {
+ public static string GetNuGetAssemblyVersion() { throw null; }
+ }
+
+ public partial class CommandLineArgumentCombinationException : System.Exception, ILogMessageException
+ {
+ public CommandLineArgumentCombinationException(string message) { }
+
+ public virtual ILogMessage AsLogMessage() { throw null; }
+ }
+
+ public static partial class ComparisonUtility
+ {
+ public static readonly System.StringComparer FrameworkReferenceNameComparer;
+ }
+
+ public static partial class ConcurrencyUtilities
+ {
+ public static void ExecuteWithFileLocked(string filePath, System.Action action) { }
+
+ public static System.Threading.Tasks.Task ExecuteWithFileLockedAsync(string filePath, System.Func> action, System.Threading.CancellationToken token) { throw null; }
+ }
+
+ public partial class CryptoHashProvider
+ {
+ public CryptoHashProvider() { }
+
+ public CryptoHashProvider(string hashAlgorithm) { }
+
+ public byte[] CalculateHash(byte[] data) { throw null; }
+
+ public byte[] CalculateHash(System.IO.Stream stream) { throw null; }
+
+ public bool VerifyHash(byte[] data, byte[] hash) { throw null; }
+ }
+
+ public static partial class CryptoHashUtility
+ {
+ public static byte[] ComputeHash(this HashAlgorithmName hashAlgorithmName, byte[] data) { throw null; }
+
+ public static byte[] ComputeHash(this System.Security.Cryptography.HashAlgorithm hashAlgorithm, System.IO.Stream data, bool leaveStreamOpen) { throw null; }
+
+ public static byte[] ComputeHash(this System.Security.Cryptography.HashAlgorithm hashAlgorithm, System.IO.Stream data) { throw null; }
+
+ public static string ComputeHashAsBase64(this System.Security.Cryptography.HashAlgorithm hashAlgorithm, System.IO.Stream data, bool leaveStreamOpen) { throw null; }
+
+ public static string ComputeHashAsBase64(this System.Security.Cryptography.HashAlgorithm hashAlgorithm, System.IO.Stream data) { throw null; }
+
+ public static System.Security.Cryptography.Oid ConvertToOid(this HashAlgorithmName hashAlgorithm) { throw null; }
+
+ public static string ConvertToOidString(this HashAlgorithmName hashAlgorithmName) { throw null; }
+
+ public static string ConvertToOidString(this SignatureAlgorithmName signatureAlgorithmName) { throw null; }
+
+ public static System.Security.Cryptography.HashAlgorithmName ConvertToSystemSecurityHashAlgorithmName(this HashAlgorithmName hashAlgorithmName) { throw null; }
+
+ public static string GenerateUniqueToken(string caseInsensitiveKey) { throw null; }
+
+ public static System.Security.Cryptography.HashAlgorithm GetHashAlgorithm(HashAlgorithmName hashAlgorithmName) { throw null; }
+
+ public static System.Security.Cryptography.HashAlgorithm GetHashAlgorithm(string hashAlgorithmName) { throw null; }
+
+ public static HashAlgorithmName GetHashAlgorithmName(string hashAlgorithm) { throw null; }
+
+ public static System.Security.Cryptography.HashAlgorithm GetHashProvider(this HashAlgorithmName hashAlgorithmName) { throw null; }
+
+ public static HashAlgorithmName OidToHashAlgorithmName(string oid) { throw null; }
+ }
+
+ public static partial class CultureUtility
+ {
+ public static void DisableLocalization() { }
+ }
+
+ public static partial class DatetimeUtility
+ {
+ public static string ToReadableTimeFormat(System.TimeSpan time) { throw null; }
+ }
+
+ public partial class EnvironmentVariableWrapper : IEnvironmentVariableReader
+ {
+ public EnvironmentVariableWrapper() { }
+
+ public static IEnvironmentVariableReader Instance { get { throw null; } }
+
+ public string GetEnvironmentVariable(string variable) { throw null; }
+ }
+
+ public partial class ExceptionLogger
+ {
+ public ExceptionLogger(IEnvironmentVariableReader reader) { }
+
+ public static ExceptionLogger Instance { get { throw null; } }
+
+ public bool ShowStack { get { throw null; } }
+ }
+
+ public static partial class ExceptionUtilities
+ {
+ public static string DisplayMessage(System.AggregateException exception) { throw null; }
+
+ public static string DisplayMessage(System.Exception exception, bool indent) { throw null; }
+
+ public static string DisplayMessage(System.Exception exception) { throw null; }
+
+ public static string DisplayMessage(System.Reflection.TargetInvocationException exception) { throw null; }
+
+ public static void LogException(System.Exception ex, ILogger logger, bool logStackAsError) { }
+
+ public static void LogException(System.Exception ex, ILogger logger) { }
+
+ public static System.Exception Unwrap(System.Exception exception) { throw null; }
+ }
+
+ public static partial class FileUtility
+ {
+ public static readonly System.IO.FileShare FileSharePermissions;
+ public static readonly int MaxTries;
+ public static void Delete(string path) { }
+
+ public static System.Threading.Tasks.Task DeleteWithLock(string filePath) { throw null; }
+
+ public static string GetTempFilePath(string directory) { throw null; }
+
+ public static void Move(string sourceFileName, string destFileName) { }
+
+ public static void Replace(System.Action writeSourceFile, string destFilePath) { }
+
+ public static void Replace(string sourceFileName, string destFileName) { }
+
+ public static System.Threading.Tasks.Task ReplaceAsync(System.Func writeSourceFile, string destFilePath) { throw null; }
+
+ public static System.Threading.Tasks.Task ReplaceWithLock(System.Action writeSourceFile, string destFilePath) { throw null; }
+
+ public static T SafeRead(string filePath, System.Func read) { throw null; }
+
+ public static System.Threading.Tasks.Task SafeReadAsync(string filePath, System.Func> read) { throw null; }
+ }
+
+ public enum HashAlgorithmName
+ {
+ Unknown = 0,
+ SHA256 = 1,
+ SHA384 = 2,
+ SHA512 = 3
+ }
+
+ public partial interface ICollectorLogger : ILogger
+ {
+ System.Collections.Generic.IEnumerable Errors { get; }
+ }
+
+ public partial interface IEnumerableAsync
+ {
+ IEnumeratorAsync GetEnumeratorAsync();
+ }
+
+ public partial interface IEnumeratorAsync
+ {
+ T Current { get; }
+
+ System.Threading.Tasks.Task MoveNextAsync();
+ }
+
+ public partial interface IEnvironmentVariableReader
+ {
+ string GetEnvironmentVariable(string variable);
+ }
+
+ public partial interface ILogFileContext
+ {
+ int EndColumnNumber { get; set; }
+
+ int EndLineNumber { get; set; }
+
+ string FilePath { get; set; }
+
+ int StartColumnNumber { get; set; }
+
+ int StartLineNumber { get; set; }
+ }
+
+ public partial interface ILogger
+ {
+ void Log(ILogMessage message);
+ void Log(LogLevel level, string data);
+ System.Threading.Tasks.Task LogAsync(ILogMessage message);
+ System.Threading.Tasks.Task LogAsync(LogLevel level, string data);
+ void LogDebug(string data);
+ void LogError(string data);
+ void LogInformation(string data);
+ void LogInformationSummary(string data);
+ void LogMinimal(string data);
+ void LogVerbose(string data);
+ void LogWarning(string data);
+ }
+
+ public partial interface ILogMessage
+ {
+ NuGetLogCode Code { get; set; }
+
+ LogLevel Level { get; set; }
+
+ string Message { get; set; }
+
+ string ProjectPath { get; set; }
+
+ System.DateTimeOffset Time { get; set; }
+
+ WarningLevel WarningLevel { get; set; }
+ }
+
+ public partial interface ILogMessageException
+ {
+ ILogMessage AsLogMessage();
+ }
+
+ public partial interface INuGetLogMessage : ILogMessage, ILogFileContext
+ {
+ }
+
+ public partial interface INuGetPathContext
+ {
+ System.Collections.Generic.IReadOnlyList FallbackPackageFolders { get; }
+
+ string HttpCacheFolder { get; }
+
+ string UserPackageFolder { get; }
+ }
+
+ public partial interface INuGetTelemetryService
+ {
+ void EmitTelemetryEvent(TelemetryEvent telemetryData);
+ System.IDisposable StartActivity(string activityName);
+ }
+
+ public partial interface IPackLogMessage : INuGetLogMessage, ILogMessage, ILogFileContext
+ {
+ Frameworks.NuGetFramework Framework { get; set; }
+
+ string LibraryId { get; set; }
+ }
+
+ public partial interface IRestoreLogMessage : INuGetLogMessage, ILogMessage, ILogFileContext
+ {
+ string LibraryId { get; set; }
+
+ bool ShouldDisplay { get; set; }
+
+ System.Collections.Generic.IReadOnlyList TargetGraphs { get; set; }
+ }
+
+ public partial interface ITelemetrySession
+ {
+ void PostEvent(TelemetryEvent telemetryEvent);
+ }
+
+ public abstract partial class LegacyLoggerAdapter : ILogger
+ {
+ protected LegacyLoggerAdapter() { }
+
+ public virtual void Log(ILogMessage message) { }
+
+ public void Log(LogLevel level, string data) { }
+
+ public virtual System.Threading.Tasks.Task LogAsync(ILogMessage message) { throw null; }
+
+ public System.Threading.Tasks.Task LogAsync(LogLevel level, string data) { throw null; }
+
+ public abstract void LogDebug(string data);
+ public abstract void LogError(string data);
+ public abstract void LogInformation(string data);
+ public abstract void LogInformationSummary(string data);
+ public abstract void LogMinimal(string data);
+ public abstract void LogVerbose(string data);
+ public abstract void LogWarning(string data);
+ }
+
+ public static partial class LocalResourceUtils
+ {
+ public static void DeleteDirectoryTree(string folderPath, System.Collections.Generic.List failedDeletes) { }
+ }
+
+ public abstract partial class LoggerBase : ILogger
+ {
+ public LoggerBase() { }
+
+ public LoggerBase(LogLevel verbosityLevel) { }
+
+ public LogLevel VerbosityLevel { get { throw null; } set { } }
+
+ protected virtual bool CollectMessage(LogLevel messageLevel) { throw null; }
+
+ protected virtual bool DisplayMessage(LogLevel messageLevel) { throw null; }
+
+ public abstract void Log(ILogMessage message);
+ public virtual void Log(LogLevel level, string data) { }
+
+ public abstract System.Threading.Tasks.Task LogAsync(ILogMessage message);
+ public virtual System.Threading.Tasks.Task LogAsync(LogLevel level, string data) { throw null; }
+
+ public virtual void LogDebug(string data) { }
+
+ public virtual void LogError(string data) { }
+
+ public virtual void LogInformation(string data) { }
+
+ public virtual void LogInformationSummary(string data) { }
+
+ public virtual void LogMinimal(string data) { }
+
+ public virtual void LogVerbose(string data) { }
+
+ public virtual void LogWarning(string data) { }
+ }
+
+ public static partial class LoggingExtensions
+ {
+ public static string FormatWithCode(this ILogMessage message) { throw null; }
+
+ public static string GetName(this NuGetLogCode code) { throw null; }
+
+ public static bool TryGetName(this NuGetLogCode code, out string codeString) { throw null; }
+ }
+
+ public enum LogLevel
+ {
+ Debug = 0,
+ Verbose = 1,
+ Information = 2,
+ Minimal = 3,
+ Warning = 4,
+ Error = 5
+ }
+
+ public partial class LogMessage : ILogMessage
+ {
+ public LogMessage(LogLevel level, string message, NuGetLogCode code) { }
+
+ public LogMessage(LogLevel level, string message) { }
+
+ public NuGetLogCode Code { get { throw null; } set { } }
+
+ public LogLevel Level { get { throw null; } set { } }
+
+ public string Message { get { throw null; } set { } }
+
+ public string ProjectPath { get { throw null; } set { } }
+
+ public System.DateTimeOffset Time { get { throw null; } set { } }
+
+ public WarningLevel WarningLevel { get { throw null; } set { } }
+
+ public static LogMessage Create(LogLevel level, string message) { throw null; }
+
+ public static LogMessage CreateError(NuGetLogCode code, string message) { throw null; }
+
+ public static LogMessage CreateWarning(NuGetLogCode code, string message) { throw null; }
+
+ public override string ToString() { throw null; }
+ }
+
+ public static partial class LogMessageProperties
+ {
+ public const string CODE = "code";
+ public const string END_COLUMN_NUMBER = "endColumnNumber";
+ public const string END_LINE_NUMBER = "endLineNumber";
+ public const string FILE_PATH = "filePath";
+ public const string LEVEL = "level";
+ public const string LIBRARY_ID = "libraryId";
+ public const string MESSAGE = "message";
+ public const string START_COLUMN_NUMBER = "startColumnNumber";
+ public const string START_LINE_NUMBER = "startLineNumber";
+ public const string TARGET_GRAPHS = "targetGraphs";
+ public const string WARNING_LEVEL = "warningLevel";
+ }
+
+ public static partial class MSBuildStringUtility
+ {
+ public static string Convert(string value) { throw null; }
+
+ public static bool? GetBooleanOrNull(string value) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable GetDistinctNuGetLogCodesOrDefault(System.Collections.Generic.IEnumerable> nugetLogCodeLists) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable GetNuGetLogCodes(string s) { throw null; }
+
+ public static bool IsTrue(string value) { throw null; }
+
+ public static bool IsTrueOrEmpty(string value) { throw null; }
+
+ public static string[] Split(string s, params char[] chars) { throw null; }
+
+ public static string[] Split(string s) { throw null; }
+
+ public static string[] TrimAndExcludeNullOrEmpty(string[] strings) { throw null; }
+
+ public static string TrimAndGetNullForEmpty(string s) { throw null; }
+ }
+
+ public static partial class NetworkProtocolUtility
+ {
+ public static void SetConnectionLimit() { }
+ }
+
+ public static partial class NuGetEnvironment
+ {
+ public static string GetDotNetLocation() { throw null; }
+
+ public static string GetFolderPath(NuGetFolderPath folder) { throw null; }
+ }
+
+ public enum NuGetFolderPath
+ {
+ MachineWideSettingsBaseDirectory = 0,
+ MachineWideConfigDirectory = 1,
+ UserSettingsDirectory = 2,
+ HttpCacheDirectory = 3,
+ NuGetHome = 4,
+ DefaultMsBuildPath = 5,
+ Temp = 6,
+ NuGetPluginsCacheDirectory = 7
+ }
+
+ public enum NuGetLogCode
+ {
+ Undefined = 0,
+ NU1000 = 1000,
+ NU1001 = 1001,
+ NU1002 = 1002,
+ NU1003 = 1003,
+ NU1004 = 1004,
+ NU1005 = 1005,
+ NU1006 = 1006,
+ NU1007 = 1007,
+ NU1008 = 1008,
+ NU1009 = 1009,
+ NU1010 = 1010,
+ NU1011 = 1011,
+ NU1012 = 1012,
+ NU1013 = 1013,
+ NU1100 = 1100,
+ NU1101 = 1101,
+ NU1102 = 1102,
+ NU1103 = 1103,
+ NU1104 = 1104,
+ NU1105 = 1105,
+ NU1106 = 1106,
+ NU1107 = 1107,
+ NU1108 = 1108,
+ NU1109 = 1109,
+ NU1201 = 1201,
+ NU1202 = 1202,
+ NU1203 = 1203,
+ NU1204 = 1204,
+ NU1211 = 1211,
+ NU1212 = 1212,
+ NU1213 = 1213,
+ NU1301 = 1301,
+ NU1401 = 1401,
+ NU1402 = 1402,
+ NU1403 = 1403,
+ NU1410 = 1410,
+ NU1500 = 1500,
+ NU1501 = 1501,
+ NU1502 = 1502,
+ NU1503 = 1503,
+ NU1504 = 1504,
+ NU1505 = 1505,
+ NU1506 = 1506,
+ NU1507 = 1507,
+ NU1601 = 1601,
+ NU1602 = 1602,
+ NU1603 = 1603,
+ NU1604 = 1604,
+ NU1605 = 1605,
+ NU1608 = 1608,
+ NU1701 = 1701,
+ NU1702 = 1702,
+ NU1703 = 1703,
+ NU1801 = 1801,
+ NU1802 = 1802,
+ NU1803 = 1803,
+ NU3000 = 3000,
+ NU3001 = 3001,
+ NU3002 = 3002,
+ NU3003 = 3003,
+ NU3004 = 3004,
+ NU3005 = 3005,
+ NU3006 = 3006,
+ NU3007 = 3007,
+ NU3008 = 3008,
+ NU3009 = 3009,
+ NU3010 = 3010,
+ NU3011 = 3011,
+ NU3012 = 3012,
+ NU3013 = 3013,
+ NU3014 = 3014,
+ NU3015 = 3015,
+ NU3016 = 3016,
+ NU3017 = 3017,
+ NU3018 = 3018,
+ NU3019 = 3019,
+ NU3020 = 3020,
+ NU3021 = 3021,
+ NU3022 = 3022,
+ NU3023 = 3023,
+ NU3024 = 3024,
+ NU3025 = 3025,
+ NU3026 = 3026,
+ NU3027 = 3027,
+ NU3028 = 3028,
+ NU3029 = 3029,
+ NU3030 = 3030,
+ NU3031 = 3031,
+ NU3032 = 3032,
+ NU3033 = 3033,
+ NU3034 = 3034,
+ NU3035 = 3035,
+ NU3036 = 3036,
+ NU3037 = 3037,
+ NU3038 = 3038,
+ NU3039 = 3039,
+ NU3040 = 3040,
+ NU3041 = 3041,
+ NU5000 = 5000,
+ NU5001 = 5001,
+ NU5002 = 5002,
+ NU5003 = 5003,
+ NU5004 = 5004,
+ NU5005 = 5005,
+ NU5007 = 5007,
+ NU5008 = 5008,
+ NU5009 = 5009,
+ NU5010 = 5010,
+ NU5011 = 5011,
+ NU5012 = 5012,
+ NU5013 = 5013,
+ NU5014 = 5014,
+ NU5015 = 5015,
+ NU5016 = 5016,
+ NU5017 = 5017,
+ NU5018 = 5018,
+ NU5019 = 5019,
+ NU5020 = 5020,
+ NU5021 = 5021,
+ NU5022 = 5022,
+ NU5023 = 5023,
+ NU5024 = 5024,
+ NU5025 = 5025,
+ NU5026 = 5026,
+ NU5027 = 5027,
+ NU5028 = 5028,
+ NU5029 = 5029,
+ NU5030 = 5030,
+ NU5031 = 5031,
+ NU5032 = 5032,
+ NU5033 = 5033,
+ NU5034 = 5034,
+ NU5035 = 5035,
+ NU5036 = 5036,
+ NU5037 = 5037,
+ NU5038 = 5038,
+ NU5039 = 5039,
+ NU5040 = 5040,
+ NU5041 = 5041,
+ NU5042 = 5042,
+ NU5045 = 5045,
+ NU5046 = 5046,
+ NU5047 = 5047,
+ NU5048 = 5048,
+ NU5049 = 5049,
+ NU5050 = 5050,
+ NU5100 = 5100,
+ NU5101 = 5101,
+ NU5102 = 5102,
+ NU5103 = 5103,
+ NU5104 = 5104,
+ NU5105 = 5105,
+ NU5106 = 5106,
+ NU5107 = 5107,
+ NU5108 = 5108,
+ NU5109 = 5109,
+ NU5110 = 5110,
+ NU5111 = 5111,
+ NU5112 = 5112,
+ NU5114 = 5114,
+ NU5115 = 5115,
+ NU5116 = 5116,
+ NU5117 = 5117,
+ NU5118 = 5118,
+ NU5119 = 5119,
+ NU5120 = 5120,
+ NU5121 = 5121,
+ NU5122 = 5122,
+ NU5123 = 5123,
+ NU5124 = 5124,
+ NU5125 = 5125,
+ NU5126 = 5126,
+ NU5127 = 5127,
+ NU5128 = 5128,
+ NU5129 = 5129,
+ NU5130 = 5130,
+ NU5131 = 5131,
+ NU5132 = 5132,
+ NU5133 = 5133,
+ NU5500 = 5500,
+ NU5501 = 5501
+ }
+
+ public enum NuGetOperationStatus
+ {
+ NoOp = 0,
+ Succeeded = 1,
+ Failed = 2,
+ Cancelled = 3
+ }
+
+ public partial class NullLogger : LoggerBase
+ {
+ public NullLogger() { }
+
+ public static ILogger Instance { get { throw null; } }
+
+ public override void Log(ILogMessage message) { }
+
+ public override void Log(LogLevel level, string data) { }
+
+ public override System.Threading.Tasks.Task LogAsync(ILogMessage message) { throw null; }
+
+ public override System.Threading.Tasks.Task LogAsync(LogLevel level, string data) { throw null; }
+ }
+
+ public partial class PackagingLogMessage : IPackLogMessage, INuGetLogMessage, ILogMessage, ILogFileContext
+ {
+ public NuGetLogCode Code { get { throw null; } set { } }
+
+ public int EndColumnNumber { get { throw null; } set { } }
+
+ public int EndLineNumber { get { throw null; } set { } }
+
+ public string FilePath { get { throw null; } set { } }
+
+ public Frameworks.NuGetFramework Framework { get { throw null; } set { } }
+
+ public LogLevel Level { get { throw null; } set { } }
+
+ public string LibraryId { get { throw null; } set { } }
+
+ public string Message { get { throw null; } set { } }
+
+ public string ProjectPath { get { throw null; } set { } }
+
+ public int StartColumnNumber { get { throw null; } set { } }
+
+ public int StartLineNumber { get { throw null; } set { } }
+
+ public System.DateTimeOffset Time { get { throw null; } set { } }
+
+ public WarningLevel WarningLevel { get { throw null; } set { } }
+
+ public static PackagingLogMessage CreateError(string message, NuGetLogCode code) { throw null; }
+
+ public static PackagingLogMessage CreateMessage(string message, LogLevel logLevel) { throw null; }
+
+ public static PackagingLogMessage CreateWarning(string message, NuGetLogCode code, string libraryId, Frameworks.NuGetFramework framework) { throw null; }
+
+ public static PackagingLogMessage CreateWarning(string message, NuGetLogCode code) { throw null; }
+ }
+
+ public static partial class PathResolver
+ {
+ public static void FilterPackageFiles(System.Collections.Generic.ICollection source, System.Func getPath, System.Collections.Generic.IEnumerable wildcards) { }
+
+ public static System.Collections.Generic.IEnumerable GetFilteredPackageFiles(System.Collections.Generic.ICollection source, System.Func getPath, System.Collections.Generic.IEnumerable wildcards) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable GetMatches(System.Collections.Generic.IEnumerable source, System.Func getPath, System.Collections.Generic.IEnumerable wildcards) { throw null; }
+
+ public static bool IsDirectoryPath(string path) { throw null; }
+
+ public static bool IsWildcardSearch(string filter) { throw null; }
+
+ public static string NormalizeWildcardForExcludedFiles(string basePath, string wildcard) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable PerformWildcardSearch(string basePath, string searchPath, bool includeEmptyDirectories, out string normalizedBasePath) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable PerformWildcardSearch(string basePath, string searchPath) { throw null; }
+
+ public partial struct SearchPathResult
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ public SearchPathResult(string path, bool isFile) { }
+
+ public bool IsFile { get { throw null; } }
+
+ public string Path { get { throw null; } }
+ }
+ }
+
+ public static partial class PathUtility
+ {
+ public static bool IsFileSystemCaseInsensitive { get { throw null; } }
+
+ public static void EnsureParentDirectory(string filePath) { }
+
+ public static string EnsureTrailingForwardSlash(string path) { throw null; }
+
+ public static string EnsureTrailingSlash(string path) { throw null; }
+
+ public static string EscapePSPath(string path) { throw null; }
+
+ public static string GetAbsolutePath(string basePath, string relativePath) { throw null; }
+
+ public static string GetDirectoryName(string path) { throw null; }
+
+ public static System.IO.Compression.ZipArchiveEntry GetEntry(System.IO.Compression.ZipArchive archive, string path) { throw null; }
+
+ public static string GetPath(System.Uri uri) { throw null; }
+
+ public static string GetPathWithBackSlashes(string path) { throw null; }
+
+ public static string GetPathWithDirectorySeparator(string path) { throw null; }
+
+ public static string GetPathWithForwardSlashes(string path) { throw null; }
+
+ public static string GetRelativePath(string path1, string path2, char separator) { throw null; }
+
+ public static string GetRelativePath(string path1, string path2) { throw null; }
+
+ public static System.StringComparer GetStringComparerBasedOnOS() { throw null; }
+
+ public static System.StringComparison GetStringComparisonBasedOnOS() { throw null; }
+
+ public static System.Collections.Generic.IEnumerable GetUniquePathsBasedOnOS(System.Collections.Generic.IEnumerable paths) { throw null; }
+
+ public static bool HasTrailingDirectorySeparator(string path) { throw null; }
+
+ public static bool IsChildOfDirectory(string dir, string candidate) { throw null; }
+
+ public static bool IsDirectorySeparatorChar(char ch) { throw null; }
+
+ public static bool IsSubdirectory(string basePath, string path) { throw null; }
+
+ public static string ReplaceAltDirSeparatorWithDirSeparator(string path) { throw null; }
+
+ public static string ReplaceDirSeparatorWithAltDirSeparator(string path) { throw null; }
+
+ public static string SmartTruncate(string path, int maxWidth) { throw null; }
+
+ public static string StripLeadingDirectorySeparators(string filename) { throw null; }
+ }
+
+ public static partial class PathValidator
+ {
+ public static bool IsValidLocalPath(string path) { throw null; }
+
+ public static bool IsValidRelativePath(string path) { throw null; }
+
+ public static bool IsValidSource(string source) { throw null; }
+
+ public static bool IsValidUncPath(string path) { throw null; }
+
+ public static bool IsValidUrl(string url) { throw null; }
+ }
+
+ public static partial class Preprocessor
+ {
+ public static string Process(System.IO.Stream stream, System.Func tokenReplacement) { throw null; }
+
+ public static System.Threading.Tasks.Task ProcessAsync(System.Func> streamTaskFactory, System.Func tokenReplacement, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public static partial class ProjectJsonPathUtilities
+ {
+ public static readonly string ProjectConfigFileEnding;
+ public static readonly string ProjectConfigFileName;
+ public static readonly string ProjectLockFileName;
+ public static string GetLockFilePath(string configFilePath) { throw null; }
+
+ public static string GetProjectConfigPath(string directoryPath, string projectName) { throw null; }
+
+ public static string GetProjectConfigWithProjectName(string projectName) { throw null; }
+
+ public static string GetProjectLockFileNameWithProjectName(string projectName) { throw null; }
+
+ public static string GetProjectNameFromConfigFileName(string configPath) { throw null; }
+
+ public static bool IsProjectConfig(string configPath) { throw null; }
+ }
+
+ public partial class RestoreLogMessage : IRestoreLogMessage, INuGetLogMessage, ILogMessage, ILogFileContext
+ {
+ public RestoreLogMessage(LogLevel logLevel, NuGetLogCode errorCode, string errorString, string targetGraph, bool logToInnerLogger) { }
+
+ public RestoreLogMessage(LogLevel logLevel, NuGetLogCode errorCode, string errorString, string targetGraph) { }
+
+ public RestoreLogMessage(LogLevel logLevel, NuGetLogCode errorCode, string errorString) { }
+
+ public RestoreLogMessage(LogLevel logLevel, string errorString) { }
+
+ public NuGetLogCode Code { get { throw null; } set { } }
+
+ public int EndColumnNumber { get { throw null; } set { } }
+
+ public int EndLineNumber { get { throw null; } set { } }
+
+ public string FilePath { get { throw null; } set { } }
+
+ public LogLevel Level { get { throw null; } set { } }
+
+ public string LibraryId { get { throw null; } set { } }
+
+ public string Message { get { throw null; } set { } }
+
+ public string ProjectPath { get { throw null; } set { } }
+
+ public bool ShouldDisplay { get { throw null; } set { } }
+
+ public int StartColumnNumber { get { throw null; } set { } }
+
+ public int StartLineNumber { get { throw null; } set { } }
+
+ public System.Collections.Generic.IReadOnlyList TargetGraphs { get { throw null; } set { } }
+
+ public System.DateTimeOffset Time { get { throw null; } set { } }
+
+ public WarningLevel WarningLevel { get { throw null; } set { } }
+
+ public static RestoreLogMessage CreateError(NuGetLogCode code, string message, string libraryId, params string[] targetGraphs) { throw null; }
+
+ public static RestoreLogMessage CreateError(NuGetLogCode code, string message) { throw null; }
+
+ public static RestoreLogMessage CreateWarning(NuGetLogCode code, string message, string libraryId, params string[] targetGraphs) { throw null; }
+
+ public static RestoreLogMessage CreateWarning(NuGetLogCode code, string message) { throw null; }
+ }
+
+ public enum RevocationMode
+ {
+ Online = 0,
+ Offline = 1
+ }
+
+ public static partial class RuntimeEnvironmentHelper
+ {
+ public static bool IsLinux { get { throw null; } }
+
+ public static bool IsMacOSX { get { throw null; } }
+
+ public static bool IsMono { get { throw null; } }
+
+ public static bool IsRunningInVisualStudio { get { throw null; } }
+
+ public static bool IsWindows { get { throw null; } }
+ }
+
+ public enum SignatureAlgorithmName
+ {
+ Unknown = 0,
+ SHA256RSA = 1,
+ SHA384RSA = 2,
+ SHA512RSA = 3
+ }
+
+ public enum SignatureValidationMode
+ {
+ Accept = 0,
+ Require = 1
+ }
+
+ public partial class TelemetryActivity : System.IDisposable
+ {
+ public static INuGetTelemetryService NuGetTelemetryService { get { throw null; } set { } }
+
+ public System.Guid OperationId { get { throw null; } }
+
+ public System.Guid ParentId { get { throw null; } }
+
+ public TelemetryEvent TelemetryEvent { get { throw null; } set { } }
+
+ public static TelemetryActivity Create(TelemetryEvent telemetryEvent) { throw null; }
+
+ public static TelemetryActivity Create(System.Guid parentId, TelemetryEvent telemetryEvent) { throw null; }
+
+ public static TelemetryActivity Create(System.Guid parentId, string eventName) { throw null; }
+
+ public static TelemetryActivity Create(string eventName) { throw null; }
+
+ public void Dispose() { }
+
+ protected virtual void Dispose(bool disposing) { }
+
+ public static void EmitTelemetryEvent(TelemetryEvent TelemetryEvent) { }
+
+ public void EndIntervalMeasure(string propertyName) { }
+
+ public System.IDisposable StartIndependentInterval(string propertyName) { throw null; }
+
+ public void StartIntervalMeasure() { }
+ }
+
+ public partial class TelemetryEvent
+ {
+ public TelemetryEvent(string eventName, System.Collections.Generic.Dictionary properties) { }
+
+ public TelemetryEvent(string eventName) { }
+
+ public System.Collections.Generic.IDictionary ComplexData { get { throw null; } }
+
+ public int Count { get { throw null; } }
+
+ public object this[string key] { get { throw null; } set { } }
+
+ public string Name { get { throw null; } }
+
+ public void AddPiiData(string key, object value) { }
+
+ public System.Collections.Generic.IEnumerator> GetEnumerator() { throw null; }
+
+ public System.Collections.Generic.IEnumerable> GetPiiData() { throw null; }
+ }
+
+ public static partial class TelemetryServiceUtility
+ {
+ public static System.TimeSpan GetTimerElapsedTime() { throw null; }
+
+ public static double GetTimerElapsedTimeInSeconds() { throw null; }
+
+ public static void StartOrResumeTimer() { }
+
+ public static void StopTimer() { }
+ }
+
+ public partial class Token
+ {
+ public Token(TokenCategory category, string value) { }
+
+ public TokenCategory Category { get { throw null; } }
+
+ public string Value { get { throw null; } }
+ }
+
+ public enum TokenCategory
+ {
+ Text = 0,
+ Variable = 1
+ }
+
+ public partial class Tokenizer
+ {
+ public Tokenizer(string text) { }
+
+ public Token Read() { throw null; }
+ }
+
+ public static partial class UriUtility
+ {
+ public static System.Uri CreateSourceUri(string source, System.UriKind kind = System.UriKind.Absolute) { throw null; }
+
+ public static string GetAbsolutePath(string rootDirectory, string path) { throw null; }
+
+ public static string GetAbsolutePathFromFile(string sourceFile, string path) { throw null; }
+
+ public static string GetLocalPath(string localOrUriPath) { throw null; }
+
+ public static bool IsNuGetOrg(string source) { throw null; }
+
+ public static System.Uri TryCreateSourceUri(string source, System.UriKind kind) { throw null; }
+
+ public static string UrlEncodeOdataParameter(string value) { throw null; }
+ }
+
+ public enum WarningLevel
+ {
+ Severe = 1,
+ Important = 2,
+ Minimal = 3,
+ Default = 4
+ }
+
+ [System.Obsolete("This class is obsolete and will be removed in a future release.")]
+ public static partial class XmlUtility
+ {
+ public static System.Xml.Linq.XDocument Load(string filePath) { throw null; }
+ }
+}
+
+namespace NuGet.Common.Migrations
+{
+ public static partial class MigrationRunner
+ {
+ public static void Run() { }
+ }
+}
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.common/6.5.0/nuget.common.nuspec b/src/referencePackages/src/nuget.common/6.5.0/nuget.common.nuspec
new file mode 100644
index 0000000000..d014332f83
--- /dev/null
+++ b/src/referencePackages/src/nuget.common/6.5.0/nuget.common.nuspec
@@ -0,0 +1,24 @@
+
+
+
+ NuGet.Common
+ 6.5.0
+ Microsoft
+ true
+ Apache-2.0
+ https://licenses.nuget.org/Apache-2.0
+ https://aka.ms/nugetprj
+ Common utilities and interfaces for all NuGet libraries.
+ © Microsoft Corporation. All rights reserved.
+ nuget
+ true
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.configuration/6.5.0/NuGet.Configuration.6.5.0.csproj b/src/referencePackages/src/nuget.configuration/6.5.0/NuGet.Configuration.6.5.0.csproj
new file mode 100644
index 0000000000..f6af55ce7b
--- /dev/null
+++ b/src/referencePackages/src/nuget.configuration/6.5.0/NuGet.Configuration.6.5.0.csproj
@@ -0,0 +1,15 @@
+
+
+
+ netstandard2.0
+ NuGet.Configuration
+ 2
+ MicrosoftShared
+
+
+
+
+
+
+
+
diff --git a/src/referencePackages/src/nuget.configuration/6.5.0/lib/netstandard2.0/NuGet.Configuration.cs b/src/referencePackages/src/nuget.configuration/6.5.0/lib/netstandard2.0/NuGet.Configuration.cs
new file mode 100644
index 0000000000..f1589fda44
--- /dev/null
+++ b/src/referencePackages/src/nuget.configuration/6.5.0/lib/netstandard2.0/NuGet.Configuration.cs
@@ -0,0 +1,1029 @@
+// 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.CLSCompliant(true)]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Credentials.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.SolutionRestoreManager.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.VisualStudio.Implementation.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Configuration.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.DependencyResolver.Core.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Commands.FuncTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Test.Utility, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Commands.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyConfiguration("release")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("NuGet's configuration settings implementation.")]
+[assembly: System.Reflection.AssemblyFileVersion("6.5.0.154")]
+[assembly: System.Reflection.AssemblyInformationalVersion("6.5.0+069970c727b254636c1ad29c5a7a767081482a9a.069970c727b254636c1ad29c5a7a767081482a9a")]
+[assembly: System.Reflection.AssemblyProduct("NuGet")]
+[assembly: System.Reflection.AssemblyTitle("NuGet.Configuration")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/NuGet/NuGet.Client")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.5.0.154")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace NuGet.Configuration
+{
+ public partial class AddItem : SettingItem
+ {
+ public AddItem(string key, string value, System.Collections.Generic.IReadOnlyDictionary additionalAttributes) { }
+
+ public AddItem(string key, string value) { }
+
+ public System.Collections.Generic.IReadOnlyDictionary AdditionalAttributes { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyDictionary> DisallowedValues { get { throw null; } }
+
+ public override string ElementName { get { throw null; } }
+
+ public string Key { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public virtual string Value { get { throw null; } set { } }
+
+ public void AddOrUpdateAdditionalAttribute(string attributeName, string value) { }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public virtual string GetValueAsPath() { throw null; }
+ }
+
+ public sealed partial class AuthorItem : TrustedSignerItem
+ {
+ public AuthorItem(string name, params CertificateItem[] certificates) : base(default!, default!) { }
+
+ public override string ElementName { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public sealed partial class CertificateItem : SettingItem
+ {
+ public CertificateItem(string fingerprint, Common.HashAlgorithmName hashAlgorithm, bool allowUntrustedRoot = false) { }
+
+ public bool AllowUntrustedRoot { get { throw null; } set { } }
+
+ public override string ElementName { get { throw null; } }
+
+ public string Fingerprint { get { throw null; } set { } }
+
+ public Common.HashAlgorithmName HashAlgorithm { get { throw null; } set { } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public sealed partial class ClearItem : SettingItem
+ {
+ public ClearItem() { }
+
+ public override string ElementName { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public override bool IsEmpty() { throw null; }
+ }
+
+ public partial class ClientCertificateProvider : IClientCertificateProvider
+ {
+ public ClientCertificateProvider(ISettings settings) { }
+
+ public void AddOrUpdate(ClientCertItem item) { }
+
+ public ClientCertItem GetClientCertificate(string packageSourceName) { throw null; }
+
+ public System.Collections.Generic.IReadOnlyList GetClientCertificates() { throw null; }
+
+ public void Remove(System.Collections.Generic.IReadOnlyList items) { }
+ }
+
+ public abstract partial class ClientCertItem : SettingItem
+ {
+ protected ClientCertItem(string packageSource) { }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public string PackageSource { get { throw null; } }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public abstract System.Collections.Generic.IEnumerable Search();
+ protected void SetPackageSource(string value) { }
+ }
+
+ public static partial class ConfigurationConstants
+ {
+ public static readonly string ActivePackageSourceSectionName;
+ public static readonly string Add;
+ public static readonly string AllowUntrustedRoot;
+ public static readonly string ApiKeys;
+ public static readonly string Author;
+ public static readonly string BeginIgnoreMarker;
+ public static readonly string BindingRedirectsSection;
+ public static readonly string Certificate;
+ public static readonly string Clear;
+ public static readonly string ClearTextPasswordAttribute;
+ public static readonly string ClearTextPasswordToken;
+ public static readonly string ClientCertificates;
+ public static readonly string Config;
+ public static readonly string Configuration;
+ public static readonly string ConfigurationDefaultsFile;
+ public static readonly string CredentialsSectionName;
+ public static readonly string DefaultPackageManagementFormatKey;
+ public static readonly string DefaultPushSource;
+ public static readonly string DependencyVersion;
+ public static readonly string DisabledPackageSources;
+ public static readonly string DoNotShowPackageManagementSelectionKey;
+ public static readonly string Enabled;
+ public static readonly string EndIgnoreMarker;
+ public static readonly string FailOnBindingRedirects;
+ public static readonly string FallbackPackageFolders;
+ public static readonly string FileCertificate;
+ public static readonly string FindByAttribute;
+ public static readonly string FindValueAttribute;
+ public static readonly string Fingerprint;
+ public static readonly string FingerprintAlgorithm;
+ public static readonly string GlobalPackagesFolder;
+ public static readonly string HashAlgorithm;
+ public static readonly string HostKey;
+ public static readonly string KeyAttribute;
+ public static readonly string MaxHttpRequestsPerSource;
+ public static readonly string NameAttribute;
+ public static readonly string NoProxy;
+ public static readonly string Owners;
+ public static readonly string Package;
+ public static readonly string PackageManagementSection;
+ public static readonly string PackageRestore;
+ public static readonly string PackageSourceAttribute;
+ public static readonly string PackageSourceMapping;
+ public static readonly string PackageSources;
+ public static readonly string PasswordAttribute;
+ public static readonly string PasswordKey;
+ public static readonly string PasswordToken;
+ public static readonly string PathAttribute;
+ public static readonly string PatternAttribute;
+ public static readonly string ProtocolVersionAttribute;
+ public static readonly string Repository;
+ public static readonly string RepositoryPath;
+ public static readonly string ServiceIndex;
+ public static readonly string SignatureValidationMode;
+ public static readonly string SkipBindingRedirectsKey;
+ public static readonly string StoreCertificate;
+ public static readonly string StoreLocationAttribute;
+ public static readonly string StoreNameAttribute;
+ public static readonly string TrustedSigners;
+ public static readonly string UpdatePackageLastAccessTime;
+ public static readonly string UserKey;
+ public static readonly string UsernameToken;
+ public static readonly string ValidAuthenticationTypesToken;
+ public static readonly string ValueAttribute;
+ }
+
+ public partial class ConfigurationDefaults
+ {
+ public string DefaultPackageRestoreConsent { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable DefaultPackageSources { get { throw null; } }
+
+ public string DefaultPushSource { get { throw null; } }
+
+ public static ConfigurationDefaults Instance { get { throw null; } }
+ }
+
+ public enum CredentialRequestType
+ {
+ Proxy = 0,
+ Unauthorized = 1,
+ Forbidden = 2
+ }
+
+ public sealed partial class CredentialsItem : SettingItem
+ {
+ public CredentialsItem(string name, string username, string password, bool isPasswordClearText, string validAuthenticationTypes) { }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public override string ElementName { get { throw null; } protected set { } }
+
+ public bool IsPasswordClearText { get { throw null; } }
+
+ public string Password { get { throw null; } }
+
+ public string Username { get { throw null; } set { } }
+
+ public string ValidAuthenticationTypes { get { throw null; } set { } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public override bool IsEmpty() { throw null; }
+
+ public void UpdatePassword(string password, bool isPasswordClearText = true) { }
+ }
+
+ public static partial class EncryptionUtility
+ {
+ public static string DecryptString(string encryptedString) { throw null; }
+
+ public static string EncryptString(string value) { throw null; }
+ }
+
+ public sealed partial class FileClientCertItem : ClientCertItem
+ {
+ public FileClientCertItem(string packageSource, string filePath, string password, bool storePasswordInClearText, string settingsFilePath) : base(default!) { }
+
+ protected override System.Collections.Generic.IReadOnlyCollection AllowedAttributes { get { throw null; } }
+
+ public override string ElementName { get { throw null; } }
+
+ public string FilePath { get { throw null; } }
+
+ public bool IsPasswordIsClearText { get { throw null; } }
+
+ public string Password { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override System.Collections.Generic.IEnumerable Search() { throw null; }
+
+ public void Update(string filePath, string password, bool storePasswordInClearText) { }
+ }
+
+ public partial interface IClientCertificateProvider
+ {
+ void AddOrUpdate(ClientCertItem item);
+ System.Collections.Generic.IReadOnlyList GetClientCertificates();
+ void Remove(System.Collections.Generic.IReadOnlyList items);
+ }
+
+ public partial interface ICredentialCache
+ {
+ void Add(System.Uri uri, System.Net.ICredentials credentials);
+ System.Net.ICredentials GetCredentials(System.Uri uri);
+ }
+
+ public partial interface ICredentialService
+ {
+ bool HandlesDefaultCredentials { get; }
+
+ System.Threading.Tasks.Task GetCredentialsAsync(System.Uri uri, System.Net.IWebProxy proxy, CredentialRequestType type, string message, System.Threading.CancellationToken cancellationToken);
+ bool TryGetLastKnownGoodCredentialsFromCache(System.Uri uri, bool isProxy, out System.Net.ICredentials credentials);
+ }
+
+ public partial interface IExtensionLocator
+ {
+ System.Collections.Generic.IEnumerable FindCredentialProviders();
+ System.Collections.Generic.IEnumerable FindExtensions();
+ }
+
+ public partial interface IMachineWideSettings
+ {
+ ISettings Settings { get; }
+ }
+
+ public partial interface IPackageSourceProvider
+ {
+ string ActivePackageSourceName { get; }
+
+ string DefaultPushSource { get; }
+
+ event System.EventHandler PackageSourcesChanged;
+ void AddPackageSource(PackageSource source);
+ void DisablePackageSource(string name);
+ void EnablePackageSource(string name);
+ PackageSource GetPackageSourceByName(string name);
+ PackageSource GetPackageSourceBySource(string source);
+ bool IsPackageSourceEnabled(string name);
+ System.Collections.Generic.IEnumerable LoadPackageSources();
+ void RemovePackageSource(string name);
+ void SaveActivePackageSource(PackageSource source);
+ void SavePackageSources(System.Collections.Generic.IEnumerable sources);
+ void UpdatePackageSource(PackageSource source, bool updateCredentials, bool updateEnabled);
+ }
+
+ [System.Obsolete("https://github.com/NuGet/Home/issues/10098")]
+ public partial interface IPackageSourceProvider2 : IPackageSourceProvider
+ {
+ void SavePackageSources(System.Collections.Generic.IEnumerable sources, PackageSourceUpdateOptions packageSourceUpdateOptions);
+ }
+
+ public partial interface IProxyCache
+ {
+ void Add(System.Net.IWebProxy proxy);
+ System.Net.IWebProxy GetProxy(System.Uri uri);
+ }
+
+ public partial interface IProxyCredentialCache : System.Net.ICredentials
+ {
+ System.Guid Version { get; }
+
+ void UpdateCredential(System.Uri proxyAddress, System.Net.NetworkCredential credentials);
+ }
+
+ public partial interface ISettings
+ {
+ event System.EventHandler SettingsChanged;
+ void AddOrUpdate(string sectionName, SettingItem item);
+ System.Collections.Generic.IList GetConfigFilePaths();
+ System.Collections.Generic.IList GetConfigRoots();
+ SettingSection GetSection(string sectionName);
+ void Remove(string sectionName, SettingItem item);
+ void SaveToDisk();
+ }
+
+ public partial class NuGetConfigurationException : System.Exception
+ {
+ protected NuGetConfigurationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+
+ public NuGetConfigurationException(string message, System.Exception innerException) { }
+
+ public NuGetConfigurationException(string message) { }
+ }
+
+ public static partial class NuGetConstants
+ {
+ public static readonly string DefaultConfigContent;
+ public static readonly string DefaultGalleryServerUrl;
+ public static readonly string FeedName;
+ public static readonly string ManifestExtension;
+ public static readonly string ManifestSymbolsExtension;
+ public static readonly string NuGetHostName;
+ public static readonly string NuGetSolutionSettingsFolder;
+ public static readonly string NuGetSymbolHostName;
+ public static readonly string PackageExtension;
+ public static readonly string PackageReferenceFile;
+ public static readonly string PackageSpecFileName;
+ public static readonly string ReadmeExtension;
+ public static readonly string ReadmeFileName;
+ public static readonly string SnupkgExtension;
+ public static readonly string SymbolsExtension;
+ public static readonly string V1FeedUrl;
+ public const string V2FeedUrl = "https://www.nuget.org/api/v2/";
+ public static readonly string V2LegacyFeedUrl;
+ public static readonly string V2LegacyOfficialPackageSourceUrl;
+ public const string V3FeedUrl = "https://api.nuget.org/v3/index.json";
+ }
+
+ public partial class NuGetPathContext : Common.INuGetPathContext
+ {
+ public NuGetPathContext() { }
+
+ public System.Collections.Generic.IReadOnlyList FallbackPackageFolders { get { throw null; } }
+
+ public string HttpCacheFolder { get { throw null; } }
+
+ public string UserPackageFolder { get { throw null; } }
+
+ public static NuGetPathContext Create(ISettings settings) { throw null; }
+
+ public static NuGetPathContext Create(string settingsRoot) { throw null; }
+ }
+
+ public partial class NullSettings : ISettings
+ {
+ public NullSettings() { }
+
+ public static NullSettings Instance { get { throw null; } }
+
+ public event System.EventHandler SettingsChanged { add { } remove { } }
+
+ public void AddOrUpdate(string sectionName, SettingItem item) { }
+
+ public System.Collections.Generic.IList GetConfigFilePaths() { throw null; }
+
+ public System.Collections.Generic.IList GetConfigRoots() { throw null; }
+
+ public SettingSection GetSection(string sectionName) { throw null; }
+
+ public void Remove(string sectionName, SettingItem item) { }
+
+ public void SaveToDisk() { }
+ }
+
+ public sealed partial class OwnersItem : SettingItem
+ {
+ public static readonly char OwnersListSeparator;
+ public OwnersItem(string owners) { }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public System.Collections.Generic.IList Content { get { throw null; } }
+
+ public override string ElementName { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public sealed partial class PackagePatternItem : SettingItem
+ {
+ public PackagePatternItem(string pattern) { }
+
+ public override string ElementName { get { throw null; } }
+
+ public string Pattern { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public partial class PackageSource : System.IEquatable
+ {
+ public const int DefaultProtocolVersion = 2;
+ public PackageSource(string source, string name, bool isEnabled, bool isOfficial, bool isPersistable = true) { }
+
+ public PackageSource(string source, string name, bool isEnabled) { }
+
+ public PackageSource(string source, string name) { }
+
+ public PackageSource(string source) { }
+
+ public System.Collections.Generic.IReadOnlyList ClientCertificates { get { throw null; } set { } }
+
+ public PackageSourceCredential Credentials { get { throw null; } set { } }
+
+ public string Description { get { throw null; } set { } }
+
+ public bool IsEnabled { get { throw null; } set { } }
+
+ public bool IsHttp { get { throw null; } }
+
+ public bool IsHttps { get { throw null; } }
+
+ public bool IsLocal { get { throw null; } }
+
+ public bool IsMachineWide { get { throw null; } set { } }
+
+ public bool IsOfficial { get { throw null; } set { } }
+
+ public bool IsPersistable { get { throw null; } }
+
+ public int MaxHttpRequestsPerSource { get { throw null; } set { } }
+
+ public string Name { get { throw null; } }
+
+ public int ProtocolVersion { get { throw null; } set { } }
+
+ public string Source { get { throw null; } set { } }
+
+ public System.Uri SourceUri { get { throw null; } }
+
+ public System.Uri TrySourceAsUri { get { throw null; } }
+
+ public SourceItem AsSourceItem() { throw null; }
+
+ public PackageSource Clone() { throw null; }
+
+ public bool Equals(PackageSource other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public override string ToString() { throw null; }
+ }
+
+ public partial class PackageSourceCredential : System.IEquatable
+ {
+ public PackageSourceCredential(string source, string username, string passwordText, bool isPasswordClearText, string validAuthenticationTypesText) { }
+
+ public bool IsPasswordClearText { get { throw null; } }
+
+ public string Password { get { throw null; } }
+
+ public string PasswordText { get { throw null; } }
+
+ public string Source { get { throw null; } }
+
+ public string Username { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable ValidAuthenticationTypes { get { throw null; } }
+
+ public string ValidAuthenticationTypesText { get { throw null; } }
+
+ public CredentialsItem AsCredentialsItem() { throw null; }
+
+ public bool Equals(PackageSourceCredential other) { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public static PackageSourceCredential FromUserInput(string source, string username, string password, bool storePasswordInClearText, string validAuthenticationTypesText) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public bool IsValid() { throw null; }
+
+ public System.Net.ICredentials ToICredentials() { throw null; }
+ }
+
+ public partial class PackageSourceMapping
+ {
+ public PackageSourceMapping(System.Collections.Generic.IReadOnlyDictionary> patterns) { }
+
+ public bool IsEnabled { get { throw null; } }
+
+ public System.Collections.Generic.IReadOnlyList GetConfiguredPackageSources(string packageId) { throw null; }
+
+ public static PackageSourceMapping GetPackageSourceMapping(ISettings settings) { throw null; }
+ }
+
+ public partial class PackageSourceMappingProvider
+ {
+ public PackageSourceMappingProvider(ISettings settings) { }
+
+ public System.Collections.Generic.IReadOnlyList GetPackageSourceMappingItems() { throw null; }
+
+ public void SavePackageSourceMappings(System.Collections.Generic.IReadOnlyList packageSourceMappingsSourceItems) { }
+ }
+
+ public partial class PackageSourceMappingSourceItem : SettingItem
+ {
+ public PackageSourceMappingSourceItem(string name, System.Collections.Generic.IEnumerable packagePatternItems) { }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public override string ElementName { get { throw null; } }
+
+ public virtual string Key { get { throw null; } }
+
+ public System.Collections.Generic.IList Patterns { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ protected void SetKey(string value) { }
+ }
+
+ public partial class PackageSourceProvider : IPackageSourceProvider, IPackageSourceProvider2
+ {
+ [System.Obsolete("https://github.com/NuGet/Home/issues/8479")]
+ public PackageSourceProvider(ISettings settings, bool enablePackageSourcesChangedEvent) { }
+
+ [System.Obsolete("https://github.com/NuGet/Home/issues/8479")]
+ public PackageSourceProvider(ISettings settings, System.Collections.Generic.IEnumerable configurationDefaultSources, bool enablePackageSourcesChangedEvent) { }
+
+ public PackageSourceProvider(ISettings settings, System.Collections.Generic.IEnumerable configurationDefaultSources) { }
+
+ public PackageSourceProvider(ISettings settings) { }
+
+ public string ActivePackageSourceName { get { throw null; } }
+
+ public string DefaultPushSource { get { throw null; } }
+
+ public ISettings Settings { get { throw null; } }
+
+ public event System.EventHandler PackageSourcesChanged { add { } remove { } }
+
+ public void AddPackageSource(PackageSource source) { }
+
+ [System.Obsolete("DisablePackageSource(PackageSource source) is deprecated. Please use DisablePackageSource(string name) instead.")]
+ public void DisablePackageSource(PackageSource source) { }
+
+ public void DisablePackageSource(string name) { }
+
+ public void EnablePackageSource(string name) { }
+
+ public PackageSource GetPackageSourceByName(string name) { throw null; }
+
+ public PackageSource GetPackageSourceBySource(string source) { throw null; }
+
+ public System.Collections.Generic.HashSet GetPackageSourceNamesMatchingNamePrefix(string namePrefix) { throw null; }
+
+ [System.Obsolete("IsPackageSourceEnabled(PackageSource source) is deprecated. Please use IsPackageSourceEnabled(string name) instead.")]
+ public bool IsPackageSourceEnabled(PackageSource source) { throw null; }
+
+ public bool IsPackageSourceEnabled(string name) { throw null; }
+
+ public System.Collections.Generic.IEnumerable LoadPackageSources() { throw null; }
+
+ public static System.Collections.Generic.IEnumerable LoadPackageSources(ISettings settings) { throw null; }
+
+ public void RemovePackageSource(string name) { }
+
+ public void SaveActivePackageSource(PackageSource source) { }
+
+ [System.Obsolete("https://github.com/NuGet/Home/issues/10098")]
+ public void SavePackageSources(System.Collections.Generic.IEnumerable sources, PackageSourceUpdateOptions sourceUpdateSettings) { }
+
+ public void SavePackageSources(System.Collections.Generic.IEnumerable sources) { }
+
+ public void UpdatePackageSource(PackageSource source, bool updateCredentials, bool updateEnabled) { }
+ }
+
+ [System.Obsolete("https://github.com/NuGet/Home/issues/10098")]
+ public sealed partial class PackageSourceUpdateOptions
+ {
+ public static readonly PackageSourceUpdateOptions Default;
+ public PackageSourceUpdateOptions(bool updateCredentials, bool updateEnabled) { }
+
+ public bool UpdateCredentials { get { throw null; } }
+
+ public bool UpdateEnabled { get { throw null; } }
+ }
+
+ public partial class ProxyCache : IProxyCache, IProxyCredentialCache, System.Net.ICredentials
+ {
+ public ProxyCache(ISettings settings, Common.IEnvironmentVariableReader environment) { }
+
+ public static ProxyCache Instance { get { throw null; } }
+
+ public System.Guid Version { get { throw null; } }
+
+ [System.Obsolete("Retained for backcompat only. Use UpdateCredential instead")]
+ public void Add(System.Net.IWebProxy proxy) { }
+
+ public System.Net.NetworkCredential GetCredential(System.Uri proxyAddress, string authType) { throw null; }
+
+ public System.Net.IWebProxy GetProxy(System.Uri sourceUri) { throw null; }
+
+ public WebProxy GetUserConfiguredProxy() { throw null; }
+
+ public void UpdateCredential(System.Uri proxyAddress, System.Net.NetworkCredential credentials) { }
+ }
+
+ public sealed partial class RepositoryItem : TrustedSignerItem
+ {
+ public RepositoryItem(string name, string serviceIndex, params CertificateItem[] certificates) : base(default!, default!) { }
+
+ public RepositoryItem(string name, string serviceIndex, string owners, params CertificateItem[] certificates) : base(default!, default!) { }
+
+ public override string ElementName { get { throw null; } }
+
+ public new string Name { get { throw null; } set { } }
+
+ public System.Collections.Generic.IList Owners { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public string ServiceIndex { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public abstract partial class SettingBase
+ {
+ protected SettingBase() { }
+
+ public abstract SettingBase Clone();
+ public abstract bool IsEmpty();
+ }
+
+ public abstract partial class SettingElement : SettingBase
+ {
+ protected SettingElement() { }
+
+ protected SettingElement(System.Collections.Generic.IReadOnlyDictionary attributes) { }
+
+ protected virtual System.Collections.Generic.IReadOnlyCollection AllowedAttributes { get { throw null; } }
+
+ protected virtual System.Collections.Generic.IReadOnlyDictionary> AllowedValues { get { throw null; } }
+
+ protected virtual System.Collections.Generic.IReadOnlyDictionary> DisallowedValues { get { throw null; } }
+
+ public virtual string ElementName { get { throw null; } protected set { } }
+
+ protected System.Collections.Generic.Dictionary MutableAttributes { get { throw null; } }
+
+ protected virtual System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ protected void AddAttribute(string attributeName, string value) { }
+
+ protected void AddOrUpdateAttribute(string attributeName, string value) { }
+
+ public override bool IsEmpty() { throw null; }
+ }
+
+ public enum SettingElementType
+ {
+ Unknown = 0,
+ Configuration = 1,
+ ActivePackageSource = 2,
+ BindingRedirects = 3,
+ Config = 4,
+ PackageManagement = 5,
+ PackageRestore = 6,
+ PackageSourceCredentials = 7,
+ PackageSources = 8,
+ Add = 9,
+ Author = 10,
+ Certificate = 11,
+ Clear = 12,
+ Owners = 13,
+ Repository = 14,
+ FileCert = 15,
+ StoreCert = 16,
+ PackageSourceMapping = 17,
+ PackageSource = 18,
+ Package = 19
+ }
+
+ public abstract partial class SettingItem : SettingElement
+ {
+ protected SettingItem() { }
+
+ protected SettingItem(System.Collections.Generic.IReadOnlyDictionary attributes) { }
+
+ protected virtual bool CanHaveChildren { get { throw null; } }
+ }
+
+ public partial class Settings : ISettings
+ {
+ public static readonly string DefaultSettingsFileName;
+ public static readonly string[] OrderedSettingsFileNames;
+ public static readonly string[] SupportedMachineWideConfigExtension;
+ public Settings(string root, string fileName, bool isMachineWide) { }
+
+ public Settings(string root, string fileName) { }
+
+ public Settings(string root) { }
+
+ public event System.EventHandler SettingsChanged { add { } remove { } }
+
+ public void AddOrUpdate(string sectionName, SettingItem item) { }
+
+ public static string ApplyEnvironmentTransform(string value) { throw null; }
+
+ public System.Collections.Generic.IList GetConfigFilePaths() { throw null; }
+
+ public System.Collections.Generic.IList GetConfigRoots() { throw null; }
+
+ public static System.Tuple GetFileNameAndItsRoot(string root, string settingsPath) { throw null; }
+
+ public SettingSection GetSection(string sectionName) { throw null; }
+
+ public static ISettings LoadDefaultSettings(string root, string configFileName, IMachineWideSettings machineWideSettings, SettingsLoadingContext settingsLoadingContext) { throw null; }
+
+ public static ISettings LoadDefaultSettings(string root, string configFileName, IMachineWideSettings machineWideSettings) { throw null; }
+
+ public static ISettings LoadDefaultSettings(string root) { throw null; }
+
+ public static ISettings LoadImmutableSettingsGivenConfigPaths(System.Collections.Generic.IList configFilePaths, SettingsLoadingContext settingsLoadingContext) { throw null; }
+
+ public static ISettings LoadMachineWideSettings(string root, params string[] paths) { throw null; }
+
+ public static ISettings LoadSettingsGivenConfigPaths(System.Collections.Generic.IList configFilePaths) { throw null; }
+
+ public static ISettings LoadSpecificSettings(string root, string configFileName) { throw null; }
+
+ public void Remove(string sectionName, SettingItem item) { }
+
+ public void SaveToDisk() { }
+ }
+
+ public abstract partial class SettingSection : SettingsGroup
+ {
+ protected SettingSection(string name, System.Collections.Generic.IReadOnlyDictionary attributes, System.Collections.Generic.IEnumerable children) { }
+
+ public override string ElementName { get { throw null; } protected set { } }
+
+ public System.Collections.Generic.IReadOnlyCollection Items { get { throw null; } }
+
+ public override bool Equals(object other) { throw null; }
+
+ public T GetFirstItemWithAttribute(string attributeName, string expectedAttributeValue)
+ where T : SettingItem { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public abstract partial class SettingsGroup : SettingElement where T : SettingElement
+ {
+ protected SettingsGroup() { }
+
+ protected SettingsGroup(System.Collections.Generic.IReadOnlyDictionary attributes, System.Collections.Generic.IEnumerable children) { }
+
+ protected virtual bool CanBeCleared { get { throw null; } }
+
+ protected System.Collections.Generic.IList Children { get { throw null; } }
+
+ public override bool IsEmpty() { throw null; }
+
+ protected bool TryGetChild(T expectedChild, out T currentChild) { throw null; }
+ }
+
+ public sealed partial class SettingsLoadingContext : System.IDisposable
+ {
+ public SettingsLoadingContext() { }
+
+ public void Dispose() { }
+ }
+
+ public static partial class SettingsUtility
+ {
+ public static readonly string DefaultGlobalPackagesFolderPath;
+ public static bool DeleteConfigValue(ISettings settings, string key) { throw null; }
+
+ public static bool DeleteValue(ISettings settings, string section, string attributeKey, string attributeValue) { throw null; }
+
+ public static string GetConfigValue(ISettings settings, string key, bool decrypt = false, bool isPath = false) { throw null; }
+
+ public static string GetDecryptedValueForAddItem(ISettings settings, string section, string key, bool isPath = false) { throw null; }
+
+ public static string GetDefaultPushSource(ISettings settings) { throw null; }
+
+ public static System.Collections.Generic.IEnumerable GetEnabledSources(ISettings settings) { throw null; }
+
+ public static System.Collections.Generic.IReadOnlyList GetFallbackPackageFolders(ISettings settings) { throw null; }
+
+ public static string GetGlobalPackagesFolder(ISettings settings) { throw null; }
+
+ public static string GetHttpCacheFolder() { throw null; }
+
+ public static int GetMaxHttpRequest(ISettings settings) { throw null; }
+
+ public static string GetPluginsCacheFolder() { throw null; }
+
+ public static string GetRepositoryPath(ISettings settings) { throw null; }
+
+ public static Common.RevocationMode GetRevocationMode(Common.IEnvironmentVariableReader environmentVariableReader = null) { throw null; }
+
+ public static Common.SignatureValidationMode GetSignatureValidationMode(ISettings settings) { throw null; }
+
+ public static bool GetUpdatePackageLastAccessTimeEnabledStatus(ISettings settings) { throw null; }
+
+ public static string GetValueForAddItem(ISettings settings, string section, string key, bool isPath = false) { throw null; }
+
+ public static void SetConfigValue(ISettings settings, string key, string value, bool encrypt = false) { }
+
+ public static void SetEncryptedValueForAddItem(ISettings settings, string section, string key, string value) { }
+ }
+
+ public sealed partial class SettingText : SettingBase
+ {
+ public SettingText(string value) { }
+
+ public string Value { get { throw null; } set { } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public override bool IsEmpty() { throw null; }
+ }
+
+ public sealed partial class SourceItem : AddItem
+ {
+ public SourceItem(string key, string value, string protocolVersion = "") : base(default!, default!) { }
+
+ public string ProtocolVersion { get { throw null; } set { } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public sealed partial class StoreClientCertItem : ClientCertItem
+ {
+ public StoreClientCertItem(string packageSource, string findValue, System.Security.Cryptography.X509Certificates.StoreLocation? storeLocation = null, System.Security.Cryptography.X509Certificates.StoreName? storeName = null, System.Security.Cryptography.X509Certificates.X509FindType? findBy = null) : base(default!) { }
+
+ protected override System.Collections.Generic.IReadOnlyCollection AllowedAttributes { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyDictionary> AllowedValues { get { throw null; } }
+
+ public override string ElementName { get { throw null; } }
+
+ public System.Security.Cryptography.X509Certificates.X509FindType FindType { get { throw null; } }
+
+ public string FindValue { get { throw null; } }
+
+ protected override System.Collections.Generic.IReadOnlyCollection RequiredAttributes { get { throw null; } }
+
+ public System.Security.Cryptography.X509Certificates.StoreLocation StoreLocation { get { throw null; } }
+
+ public System.Security.Cryptography.X509Certificates.StoreName StoreName { get { throw null; } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public static string GetString(System.Security.Cryptography.X509Certificates.StoreLocation storeLocation) { throw null; }
+
+ public static string GetString(System.Security.Cryptography.X509Certificates.StoreName storeName) { throw null; }
+
+ public static string GetString(System.Security.Cryptography.X509Certificates.X509FindType type) { throw null; }
+
+ public override System.Collections.Generic.IEnumerable Search() { throw null; }
+
+ public void Update(string findValue, System.Security.Cryptography.X509Certificates.StoreLocation? storeLocation = null, System.Security.Cryptography.X509Certificates.StoreName? storeName = null, System.Security.Cryptography.X509Certificates.X509FindType? findBy = null) { }
+ }
+
+ public abstract partial class TrustedSignerItem : SettingItem
+ {
+ protected TrustedSignerItem(string name, System.Collections.Generic.IEnumerable certificates) { }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public System.Collections.Generic.IList Certificates { get { throw null; } }
+
+ public virtual string Name { get { throw null; } }
+
+ protected void SetName(string value) { }
+ }
+
+ public sealed partial class UnknownItem : SettingItem
+ {
+ public UnknownItem(string name, System.Collections.Generic.IReadOnlyDictionary attributes, System.Collections.Generic.IEnumerable children) { }
+
+ public System.Collections.Generic.IReadOnlyDictionary Attributes { get { throw null; } }
+
+ protected override bool CanHaveChildren { get { throw null; } }
+
+ public System.Collections.Generic.IReadOnlyList Children { get { throw null; } }
+
+ public override string ElementName { get { throw null; } protected set { } }
+
+ public override SettingBase Clone() { throw null; }
+
+ public override bool Equals(object other) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public override bool IsEmpty() { throw null; }
+ }
+
+ public sealed partial class VirtualSettingSection : SettingSection
+ {
+ internal VirtualSettingSection() : base(default!, default!, default!) { }
+
+ public override SettingBase Clone() { throw null; }
+ }
+
+ public partial class WebProxy : System.Net.IWebProxy
+ {
+ public WebProxy(string proxyAddress) { }
+
+ public WebProxy(System.Uri proxyAddress) { }
+
+ public System.Collections.Generic.IReadOnlyList BypassList { get { throw null; } set { } }
+
+ public System.Net.ICredentials Credentials { get { throw null; } set { } }
+
+ public System.Uri ProxyAddress { get { throw null; } }
+
+ public System.Uri GetProxy(System.Uri destination) { throw null; }
+
+ public bool IsBypassed(System.Uri uri) { throw null; }
+ }
+
+ public partial class XPlatMachineWideSetting : IMachineWideSettings
+ {
+ public XPlatMachineWideSetting() { }
+
+ public ISettings Settings { get { throw null; } }
+ }
+}
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.configuration/6.5.0/nuget.configuration.nuspec b/src/referencePackages/src/nuget.configuration/6.5.0/nuget.configuration.nuspec
new file mode 100644
index 0000000000..c239196d8e
--- /dev/null
+++ b/src/referencePackages/src/nuget.configuration/6.5.0/nuget.configuration.nuspec
@@ -0,0 +1,25 @@
+
+
+
+ NuGet.Configuration
+ 6.5.0
+ Microsoft
+ true
+ Apache-2.0
+ https://licenses.nuget.org/Apache-2.0
+ https://aka.ms/nugetprj
+ NuGet's configuration settings implementation.
+ © Microsoft Corporation. All rights reserved.
+ nuget
+ true
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.credentials/6.5.0/NuGet.Credentials.6.5.0.csproj b/src/referencePackages/src/nuget.credentials/6.5.0/NuGet.Credentials.6.5.0.csproj
new file mode 100644
index 0000000000..3df714c59d
--- /dev/null
+++ b/src/referencePackages/src/nuget.credentials/6.5.0/NuGet.Credentials.6.5.0.csproj
@@ -0,0 +1,18 @@
+
+
+
+ net5.0;netstandard2.0
+ NuGet.Credentials
+ 2
+ MicrosoftShared
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/referencePackages/src/nuget.credentials/6.5.0/lib/net5.0/NuGet.Credentials.cs b/src/referencePackages/src/nuget.credentials/6.5.0/lib/net5.0/NuGet.Credentials.cs
new file mode 100644
index 0000000000..1fdb79fcd6
--- /dev/null
+++ b/src/referencePackages/src/nuget.credentials/6.5.0/lib/net5.0/NuGet.Credentials.cs
@@ -0,0 +1,210 @@
+// 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.CLSCompliant(true)]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Credentials.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName = ".NET 5.0")]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyConfiguration("release")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("NuGet client's authentication models.")]
+[assembly: System.Reflection.AssemblyFileVersion("6.5.0.154")]
+[assembly: System.Reflection.AssemblyInformationalVersion("6.5.0+069970c727b254636c1ad29c5a7a767081482a9a.069970c727b254636c1ad29c5a7a767081482a9a")]
+[assembly: System.Reflection.AssemblyProduct("NuGet")]
+[assembly: System.Reflection.AssemblyTitle("NuGet.Credentials")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/NuGet/NuGet.Client")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.5.0.154")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace NuGet.Credentials
+{
+ public partial class CredentialResponse
+ {
+ public CredentialResponse(CredentialStatus status) { }
+
+ public CredentialResponse(System.Net.ICredentials credentials) { }
+
+ public System.Net.ICredentials Credentials { get { throw null; } }
+
+ public CredentialStatus Status { get { throw null; } }
+ }
+
+ public static partial class CredentialsConstants
+ {
+ public static readonly int ProviderTimeoutSecondsDefault;
+ public static readonly string ProviderTimeoutSecondsEnvar;
+ public static readonly string ProviderTimeoutSecondsSetting;
+ }
+
+ public partial class CredentialService : Configuration.ICredentialService
+ {
+ public CredentialService(Common.AsyncLazy> providers, bool nonInteractive, bool handlesDefaultCredentials) { }
+
+ public bool HandlesDefaultCredentials { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetCredentialsAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, System.Threading.CancellationToken cancellationToken) { throw null; }
+
+ public bool TryGetLastKnownGoodCredentialsFromCache(System.Uri uri, bool isProxy, out System.Net.ICredentials credentials) { throw null; }
+ }
+
+ public enum CredentialStatus
+ {
+ Success = 0,
+ ProviderNotApplicable = 1,
+ UserCanceled = 2
+ }
+
+ public static partial class DefaultCredentialServiceUtility
+ {
+ public static void SetupDefaultCredentialService(Common.ILogger logger, bool nonInteractive) { }
+
+ public static void UpdateCredentialServiceDelegatingLogger(Common.ILogger log) { }
+ }
+
+ public partial class DefaultNetworkCredentialsCredentialProvider : ICredentialProvider
+ {
+ public DefaultNetworkCredentialsCredentialProvider() { }
+
+ public string Id { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial interface ICredentialProvider
+ {
+ string Id { get; }
+
+ System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken);
+ }
+
+ public partial class PluginCredentialProvider : ICredentialProvider
+ {
+ public PluginCredentialProvider(Common.ILogger logger, string path, int timeoutSeconds, string verbosity) { }
+
+ public string Id { get { throw null; } }
+
+ public string Path { get { throw null; } }
+
+ public int TimeoutSeconds { get { throw null; } }
+
+ public virtual int Execute(System.Diagnostics.ProcessStartInfo startInfo, System.Threading.CancellationToken cancellationToken, out string stdOut) { throw null; }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial class PluginCredentialProviderBuilder
+ {
+ public PluginCredentialProviderBuilder(Configuration.IExtensionLocator extensionLocator, Configuration.ISettings settings, Common.ILogger logger, Common.IEnvironmentVariableReader envarReader) { }
+
+ public PluginCredentialProviderBuilder(Configuration.IExtensionLocator extensionLocator, Configuration.ISettings settings, Common.ILogger logger) { }
+
+ public System.Collections.Generic.IEnumerable BuildAll(string verbosity) { throw null; }
+ }
+
+ public partial class PluginCredentialRequest
+ {
+ public PluginCredentialRequest() { }
+
+ public bool IsRetry { get { throw null; } set { } }
+
+ public bool NonInteractive { get { throw null; } set { } }
+
+ public string Uri { get { throw null; } set { } }
+
+ public string Verbosity { get { throw null; } set { } }
+ }
+
+ public partial class PluginCredentialResponse
+ {
+ public PluginCredentialResponse() { }
+
+ public System.Collections.Generic.IList AuthTypes { get { throw null; } set { } }
+
+ public bool IsValid { get { throw null; } }
+
+ public string Message { get { throw null; } set { } }
+
+ public string Password { get { throw null; } set { } }
+
+ public string Username { get { throw null; } set { } }
+ }
+
+ public enum PluginCredentialResponseExitCode
+ {
+ Success = 0,
+ ProviderNotApplicable = 1,
+ Failure = 2
+ }
+
+ public partial class PluginException : System.Exception
+ {
+ public PluginException() { }
+
+ public PluginException(string message, System.Exception inner) { }
+
+ public PluginException(string message) { }
+
+ public static PluginException Create(string path, System.Exception inner) { throw null; }
+
+ public static PluginException CreateAbortMessage(string path, string message) { throw null; }
+
+ public static PluginException CreateInvalidResponseExceptionMessage(string path, PluginCredentialResponseExitCode status, PluginCredentialResponse response) { throw null; }
+
+ public static PluginException CreateNotStartedMessage(string path) { throw null; }
+
+ public static PluginException CreatePathNotFoundMessage(string path, string attempted) { throw null; }
+
+ public static PluginException CreateTimeoutMessage(string path, int timeoutMillis) { throw null; }
+
+ public static PluginException CreateUnreadableResponseExceptionMessage(string path, PluginCredentialResponseExitCode status) { throw null; }
+ }
+
+ public partial class PluginUnexpectedStatusException : PluginException
+ {
+ public PluginUnexpectedStatusException() { }
+
+ public PluginUnexpectedStatusException(string message, System.Exception inner) { }
+
+ public PluginUnexpectedStatusException(string message) { }
+
+ public static PluginException CreateUnexpectedStatusMessage(string path, PluginCredentialResponseExitCode status) { throw null; }
+ }
+
+ public static partial class PreviewFeatureSettings
+ {
+ public const string DefaultCredentialsAfterCredentialProvidersEnvironmentVariableName = "NUGET_CREDENTIAL_PROVIDER_OVERRIDE_DEFAULT";
+ public static bool DefaultCredentialsAfterCredentialProviders { get { throw null; } set { } }
+ }
+
+ public partial class ProviderException : System.Exception
+ {
+ public ProviderException() { }
+
+ public ProviderException(string message, System.Exception inner) { }
+
+ public ProviderException(string message) { }
+ }
+
+ public sealed partial class SecurePluginCredentialProvider : ICredentialProvider
+ {
+ public SecurePluginCredentialProvider(Protocol.Plugins.IPluginManager pluginManager, Protocol.Plugins.PluginDiscoveryResult pluginDiscoveryResult, bool canShowDialog, Common.ILogger logger) { }
+
+ public string Id { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial class SecurePluginCredentialProviderBuilder
+ {
+ public SecurePluginCredentialProviderBuilder(Protocol.Plugins.IPluginManager pluginManager, bool canShowDialog, Common.ILogger logger) { }
+
+ public System.Threading.Tasks.Task> BuildAllAsync() { throw null; }
+ }
+}
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.credentials/6.5.0/lib/netstandard2.0/NuGet.Credentials.cs b/src/referencePackages/src/nuget.credentials/6.5.0/lib/netstandard2.0/NuGet.Credentials.cs
new file mode 100644
index 0000000000..215bcdc3be
--- /dev/null
+++ b/src/referencePackages/src/nuget.credentials/6.5.0/lib/netstandard2.0/NuGet.Credentials.cs
@@ -0,0 +1,210 @@
+// 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.CLSCompliant(true)]
+[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("NuGet.Credentials.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyConfiguration("release")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("NuGet client's authentication models.")]
+[assembly: System.Reflection.AssemblyFileVersion("6.5.0.154")]
+[assembly: System.Reflection.AssemblyInformationalVersion("6.5.0+069970c727b254636c1ad29c5a7a767081482a9a.069970c727b254636c1ad29c5a7a767081482a9a")]
+[assembly: System.Reflection.AssemblyProduct("NuGet")]
+[assembly: System.Reflection.AssemblyTitle("NuGet.Credentials")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/NuGet/NuGet.Client")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.5.0.154")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace NuGet.Credentials
+{
+ public partial class CredentialResponse
+ {
+ public CredentialResponse(CredentialStatus status) { }
+
+ public CredentialResponse(System.Net.ICredentials credentials) { }
+
+ public System.Net.ICredentials Credentials { get { throw null; } }
+
+ public CredentialStatus Status { get { throw null; } }
+ }
+
+ public static partial class CredentialsConstants
+ {
+ public static readonly int ProviderTimeoutSecondsDefault;
+ public static readonly string ProviderTimeoutSecondsEnvar;
+ public static readonly string ProviderTimeoutSecondsSetting;
+ }
+
+ public partial class CredentialService : Configuration.ICredentialService
+ {
+ public CredentialService(Common.AsyncLazy> providers, bool nonInteractive, bool handlesDefaultCredentials) { }
+
+ public bool HandlesDefaultCredentials { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetCredentialsAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, System.Threading.CancellationToken cancellationToken) { throw null; }
+
+ public bool TryGetLastKnownGoodCredentialsFromCache(System.Uri uri, bool isProxy, out System.Net.ICredentials credentials) { throw null; }
+ }
+
+ public enum CredentialStatus
+ {
+ Success = 0,
+ ProviderNotApplicable = 1,
+ UserCanceled = 2
+ }
+
+ public static partial class DefaultCredentialServiceUtility
+ {
+ public static void SetupDefaultCredentialService(Common.ILogger logger, bool nonInteractive) { }
+
+ public static void UpdateCredentialServiceDelegatingLogger(Common.ILogger log) { }
+ }
+
+ public partial class DefaultNetworkCredentialsCredentialProvider : ICredentialProvider
+ {
+ public DefaultNetworkCredentialsCredentialProvider() { }
+
+ public string Id { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial interface ICredentialProvider
+ {
+ string Id { get; }
+
+ System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken);
+ }
+
+ public partial class PluginCredentialProvider : ICredentialProvider
+ {
+ public PluginCredentialProvider(Common.ILogger logger, string path, int timeoutSeconds, string verbosity) { }
+
+ public string Id { get { throw null; } }
+
+ public string Path { get { throw null; } }
+
+ public int TimeoutSeconds { get { throw null; } }
+
+ public virtual int Execute(System.Diagnostics.ProcessStartInfo startInfo, System.Threading.CancellationToken cancellationToken, out string stdOut) { throw null; }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial class PluginCredentialProviderBuilder
+ {
+ public PluginCredentialProviderBuilder(Configuration.IExtensionLocator extensionLocator, Configuration.ISettings settings, Common.ILogger logger, Common.IEnvironmentVariableReader envarReader) { }
+
+ public PluginCredentialProviderBuilder(Configuration.IExtensionLocator extensionLocator, Configuration.ISettings settings, Common.ILogger logger) { }
+
+ public System.Collections.Generic.IEnumerable BuildAll(string verbosity) { throw null; }
+ }
+
+ public partial class PluginCredentialRequest
+ {
+ public PluginCredentialRequest() { }
+
+ public bool IsRetry { get { throw null; } set { } }
+
+ public bool NonInteractive { get { throw null; } set { } }
+
+ public string Uri { get { throw null; } set { } }
+
+ public string Verbosity { get { throw null; } set { } }
+ }
+
+ public partial class PluginCredentialResponse
+ {
+ public PluginCredentialResponse() { }
+
+ public System.Collections.Generic.IList AuthTypes { get { throw null; } set { } }
+
+ public bool IsValid { get { throw null; } }
+
+ public string Message { get { throw null; } set { } }
+
+ public string Password { get { throw null; } set { } }
+
+ public string Username { get { throw null; } set { } }
+ }
+
+ public enum PluginCredentialResponseExitCode
+ {
+ Success = 0,
+ ProviderNotApplicable = 1,
+ Failure = 2
+ }
+
+ public partial class PluginException : System.Exception
+ {
+ public PluginException() { }
+
+ public PluginException(string message, System.Exception inner) { }
+
+ public PluginException(string message) { }
+
+ public static PluginException Create(string path, System.Exception inner) { throw null; }
+
+ public static PluginException CreateAbortMessage(string path, string message) { throw null; }
+
+ public static PluginException CreateInvalidResponseExceptionMessage(string path, PluginCredentialResponseExitCode status, PluginCredentialResponse response) { throw null; }
+
+ public static PluginException CreateNotStartedMessage(string path) { throw null; }
+
+ public static PluginException CreatePathNotFoundMessage(string path, string attempted) { throw null; }
+
+ public static PluginException CreateTimeoutMessage(string path, int timeoutMillis) { throw null; }
+
+ public static PluginException CreateUnreadableResponseExceptionMessage(string path, PluginCredentialResponseExitCode status) { throw null; }
+ }
+
+ public partial class PluginUnexpectedStatusException : PluginException
+ {
+ public PluginUnexpectedStatusException() { }
+
+ public PluginUnexpectedStatusException(string message, System.Exception inner) { }
+
+ public PluginUnexpectedStatusException(string message) { }
+
+ public static PluginException CreateUnexpectedStatusMessage(string path, PluginCredentialResponseExitCode status) { throw null; }
+ }
+
+ public static partial class PreviewFeatureSettings
+ {
+ public const string DefaultCredentialsAfterCredentialProvidersEnvironmentVariableName = "NUGET_CREDENTIAL_PROVIDER_OVERRIDE_DEFAULT";
+ public static bool DefaultCredentialsAfterCredentialProviders { get { throw null; } set { } }
+ }
+
+ public partial class ProviderException : System.Exception
+ {
+ public ProviderException() { }
+
+ public ProviderException(string message, System.Exception inner) { }
+
+ public ProviderException(string message) { }
+ }
+
+ public sealed partial class SecurePluginCredentialProvider : ICredentialProvider
+ {
+ public SecurePluginCredentialProvider(Protocol.Plugins.IPluginManager pluginManager, Protocol.Plugins.PluginDiscoveryResult pluginDiscoveryResult, bool canShowDialog, Common.ILogger logger) { }
+
+ public string Id { get { throw null; } }
+
+ public System.Threading.Tasks.Task GetAsync(System.Uri uri, System.Net.IWebProxy proxy, Configuration.CredentialRequestType type, string message, bool isRetry, bool nonInteractive, System.Threading.CancellationToken cancellationToken) { throw null; }
+ }
+
+ public partial class SecurePluginCredentialProviderBuilder
+ {
+ public SecurePluginCredentialProviderBuilder(Protocol.Plugins.IPluginManager pluginManager, bool canShowDialog, Common.ILogger logger) { }
+
+ public System.Threading.Tasks.Task> BuildAllAsync() { throw null; }
+ }
+}
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.credentials/6.5.0/nuget.credentials.nuspec b/src/referencePackages/src/nuget.credentials/6.5.0/nuget.credentials.nuspec
new file mode 100644
index 0000000000..bae4932251
--- /dev/null
+++ b/src/referencePackages/src/nuget.credentials/6.5.0/nuget.credentials.nuspec
@@ -0,0 +1,27 @@
+
+
+
+ NuGet.Credentials
+ 6.5.0
+ Microsoft
+ true
+ Apache-2.0
+ https://licenses.nuget.org/Apache-2.0
+ https://aka.ms/nugetprj
+ NuGet client's authentication models.
+ © Microsoft Corporation. All rights reserved.
+ nuget
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/referencePackages/src/nuget.frameworks/6.5.0/NuGet.Frameworks.6.5.0.csproj b/src/referencePackages/src/nuget.frameworks/6.5.0/NuGet.Frameworks.6.5.0.csproj
new file mode 100644
index 0000000000..5a5df71959
--- /dev/null
+++ b/src/referencePackages/src/nuget.frameworks/6.5.0/NuGet.Frameworks.6.5.0.csproj
@@ -0,0 +1,10 @@
+
+
+
+ netstandard2.0
+ NuGet.Frameworks
+ 2
+ MicrosoftShared
+
+
+
diff --git a/src/referencePackages/src/nuget.frameworks/6.5.0/lib/netstandard2.0/NuGet.Frameworks.cs b/src/referencePackages/src/nuget.frameworks/6.5.0/lib/netstandard2.0/NuGet.Frameworks.cs
new file mode 100644
index 0000000000..8c4fb14faf
--- /dev/null
+++ b/src/referencePackages/src/nuget.frameworks/6.5.0/lib/netstandard2.0/NuGet.Frameworks.cs
@@ -0,0 +1,716 @@
+// 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.CLSCompliant(true)]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyConfiguration("release")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("NuGet's understanding of target frameworks.")]
+[assembly: System.Reflection.AssemblyFileVersion("6.5.0.154")]
+[assembly: System.Reflection.AssemblyInformationalVersion("6.5.0+069970c727b254636c1ad29c5a7a767081482a9a.069970c727b254636c1ad29c5a7a767081482a9a")]
+[assembly: System.Reflection.AssemblyProduct("NuGet")]
+[assembly: System.Reflection.AssemblyTitle("NuGet.Frameworks")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/NuGet/NuGet.Client")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Reflection.AssemblyVersionAttribute("6.5.0.154")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace NuGet.Frameworks
+{
+ public partial class AssetTargetFallbackFramework : NuGetFramework, System.IEquatable
+ {
+ public AssetTargetFallbackFramework(NuGetFramework framework, System.Collections.Generic.IReadOnlyList fallbackFrameworks) : base((NuGetFramework)default!) { }
+
+ public System.Collections.Generic.IReadOnlyList Fallback { get { throw null; } }
+
+ public NuGetFramework RootFramework { get { throw null; } }
+
+ public FallbackFramework AsFallbackFramework() { throw null; }
+
+ public bool Equals(AssetTargetFallbackFramework other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public sealed partial class CompatibilityListProvider : IFrameworkCompatibilityListProvider
+ {
+ public CompatibilityListProvider(IFrameworkNameProvider nameProvider, IFrameworkCompatibilityProvider compatibilityProvider) { }
+
+ public static IFrameworkCompatibilityListProvider Default { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable GetFrameworksSupporting(NuGetFramework target) { throw null; }
+ }
+
+ public partial class CompatibilityMappingComparer : System.Collections.Generic.IEqualityComparer
+ {
+ public CompatibilityMappingComparer() { }
+
+ public bool Equals(OneWayCompatibilityMappingEntry x, OneWayCompatibilityMappingEntry y) { throw null; }
+
+ public int GetHashCode(OneWayCompatibilityMappingEntry obj) { throw null; }
+ }
+
+ public partial class CompatibilityProvider : IFrameworkCompatibilityProvider
+ {
+ public CompatibilityProvider(IFrameworkNameProvider mappings) { }
+
+ public bool IsCompatible(NuGetFramework target, NuGetFramework candidate) { throw null; }
+ }
+
+ public partial class CompatibilityTable
+ {
+ public CompatibilityTable(System.Collections.Generic.IEnumerable frameworks, IFrameworkNameProvider mappings, IFrameworkCompatibilityProvider compat) { }
+
+ public CompatibilityTable(System.Collections.Generic.IEnumerable frameworks) { }
+
+ public System.Collections.Generic.IEnumerable GetNearest(NuGetFramework framework) { throw null; }
+
+ public bool HasFramework(NuGetFramework framework) { throw null; }
+
+ public bool TryGetCompatible(NuGetFramework framework, out System.Collections.Generic.IEnumerable compatible) { throw null; }
+ }
+
+ public sealed partial class DefaultCompatibilityProvider : CompatibilityProvider
+ {
+ public DefaultCompatibilityProvider() : base(default!) { }
+
+ public static IFrameworkCompatibilityProvider Instance { get { throw null; } }
+ }
+
+ public sealed partial class DefaultFrameworkMappings : IFrameworkMappings
+ {
+ public DefaultFrameworkMappings() { }
+
+ public System.Collections.Generic.IEnumerable CompatibilityMappings { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable EquivalentFrameworkPrecedence { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> EquivalentFrameworks { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable EquivalentProfiles { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> FullNameReplacements { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> IdentifierShortNames { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> IdentifierSynonyms { get { throw null; } }
+
+ public static IFrameworkMappings Instance { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable NonPackageBasedFrameworkPrecedence { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable PackageBasedFrameworkPrecedence { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable ProfileShortNames { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> ShortNameReplacements { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> SubSetFrameworks { get { throw null; } }
+ }
+
+ public sealed partial class DefaultFrameworkNameProvider : FrameworkNameProvider
+ {
+ public DefaultFrameworkNameProvider() : base(default!, default!) { }
+
+ public static IFrameworkNameProvider Instance { get { throw null; } }
+ }
+
+ public partial class DefaultPortableFrameworkMappings : IPortableFrameworkMappings
+ {
+ public DefaultPortableFrameworkMappings() { }
+
+ public System.Collections.Generic.IEnumerable> CompatibilityMappings { get { throw null; } }
+
+ public static IPortableFrameworkMappings Instance { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> ProfileFrameworks { get { throw null; } }
+
+ public System.Collections.Generic.IEnumerable> ProfileOptionalFrameworks { get { throw null; } }
+ }
+
+ public partial class DualCompatibilityFramework : NuGetFramework
+ {
+ public DualCompatibilityFramework(NuGetFramework framework, NuGetFramework secondaryFramework) : base((NuGetFramework)default!) { }
+
+ public NuGetFramework RootFramework { get { throw null; } }
+
+ public NuGetFramework SecondaryFramework { get { throw null; } }
+
+ public FallbackFramework AsFallbackFramework() { throw null; }
+
+ public bool Equals(DualCompatibilityFramework other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public partial class FallbackFramework : NuGetFramework, System.IEquatable
+ {
+ public FallbackFramework(NuGetFramework framework, System.Collections.Generic.IReadOnlyList fallbackFrameworks) : base((NuGetFramework)default!) { }
+
+ public System.Collections.Generic.IReadOnlyList Fallback { get { throw null; } }
+
+ public bool Equals(FallbackFramework other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+ }
+
+ public static partial class FrameworkConstants
+ {
+ public static readonly FrameworkRange DotNetAll;
+ public static readonly System.Version EmptyVersion;
+ public static readonly System.Version MaxVersion;
+ public static readonly System.Version Version10;
+ public static readonly System.Version Version5;
+ public static readonly System.Version Version6;
+ public static readonly System.Version Version7;
+ public static partial class CommonFrameworks
+ {
+ public static readonly NuGetFramework AspNet;
+ public static readonly NuGetFramework AspNet50;
+ public static readonly NuGetFramework AspNetCore;
+ public static readonly NuGetFramework AspNetCore50;
+ public static readonly NuGetFramework Dnx;
+ public static readonly NuGetFramework Dnx45;
+ public static readonly NuGetFramework Dnx451;
+ public static readonly NuGetFramework Dnx452;
+ public static readonly NuGetFramework DnxCore;
+ public static readonly NuGetFramework DnxCore50;
+ public static readonly NuGetFramework DotNet;
+ public static readonly NuGetFramework DotNet50;
+ public static readonly NuGetFramework DotNet51;
+ public static readonly NuGetFramework DotNet52;
+ public static readonly NuGetFramework DotNet53;
+ public static readonly NuGetFramework DotNet54;
+ public static readonly NuGetFramework DotNet55;
+ public static readonly NuGetFramework DotNet56;
+ public static readonly NuGetFramework Native;
+ public static readonly NuGetFramework Net11;
+ public static readonly NuGetFramework Net2;
+ public static readonly NuGetFramework Net35;
+ public static readonly NuGetFramework Net4;
+ public static readonly NuGetFramework Net403;
+ public static readonly NuGetFramework Net45;
+ public static readonly NuGetFramework Net451;
+ public static readonly NuGetFramework Net452;
+ public static readonly NuGetFramework Net46;
+ public static readonly NuGetFramework Net461;
+ public static readonly NuGetFramework Net462;
+ public static readonly NuGetFramework Net463;
+ public static readonly NuGetFramework Net47;
+ public static readonly NuGetFramework Net471;
+ public static readonly NuGetFramework Net472;
+ public static readonly NuGetFramework Net50;
+ public static readonly NuGetFramework Net60;
+ public static readonly NuGetFramework Net70;
+ public static readonly NuGetFramework NetCore45;
+ public static readonly NuGetFramework NetCore451;
+ public static readonly NuGetFramework NetCore50;
+ public static readonly NuGetFramework NetCoreApp10;
+ public static readonly NuGetFramework NetCoreApp11;
+ public static readonly NuGetFramework NetCoreApp20;
+ public static readonly NuGetFramework NetCoreApp21;
+ public static readonly NuGetFramework NetCoreApp22;
+ public static readonly NuGetFramework NetCoreApp30;
+ public static readonly NuGetFramework NetCoreApp31;
+ public static readonly NuGetFramework NetStandard;
+ public static readonly NuGetFramework NetStandard10;
+ public static readonly NuGetFramework NetStandard11;
+ public static readonly NuGetFramework NetStandard12;
+ public static readonly NuGetFramework NetStandard13;
+ public static readonly NuGetFramework NetStandard14;
+ public static readonly NuGetFramework NetStandard15;
+ public static readonly NuGetFramework NetStandard16;
+ public static readonly NuGetFramework NetStandard17;
+ public static readonly NuGetFramework NetStandard20;
+ public static readonly NuGetFramework NetStandard21;
+ public static readonly NuGetFramework NetStandardApp15;
+ public static readonly NuGetFramework SL4;
+ public static readonly NuGetFramework SL5;
+ public static readonly NuGetFramework Tizen3;
+ public static readonly NuGetFramework Tizen4;
+ public static readonly NuGetFramework Tizen6;
+ public static readonly NuGetFramework UAP10;
+ public static readonly NuGetFramework Win10;
+ public static readonly NuGetFramework Win8;
+ public static readonly NuGetFramework Win81;
+ public static readonly NuGetFramework WP7;
+ public static readonly NuGetFramework WP75;
+ public static readonly NuGetFramework WP8;
+ public static readonly NuGetFramework WP81;
+ public static readonly NuGetFramework WPA81;
+ }
+
+ public static partial class FrameworkIdentifiers
+ {
+ public const string AspNet = "ASP.NET";
+ public const string AspNetCore = "ASP.NETCore";
+ public const string Dnx = "DNX";
+ public const string DnxCore = "DNXCore";
+ public const string DotNet = "dotnet";
+ public const string MonoAndroid = "MonoAndroid";
+ public const string MonoMac = "MonoMac";
+ public const string MonoTouch = "MonoTouch";
+ public const string NanoFramework = ".NETnanoFramework";
+ public const string Native = "native";
+ public const string Net = ".NETFramework";
+ public const string NetCore = ".NETCore";
+ public const string NetCoreApp = ".NETCoreApp";
+ public const string NetMicro = ".NETMicroFramework";
+ public const string NetPlatform = ".NETPlatform";
+ public const string NetStandard = ".NETStandard";
+ public const string NetStandardApp = ".NETStandardApp";
+ public const string Portable = ".NETPortable";
+ public const string Silverlight = "Silverlight";
+ public const string Tizen = "Tizen";
+ public const string UAP = "UAP";
+ public const string Windows = "Windows";
+ public const string WindowsPhone = "WindowsPhone";
+ public const string WindowsPhoneApp = "WindowsPhoneApp";
+ public const string WinRT = "WinRT";
+ public const string XamarinIOs = "Xamarin.iOS";
+ public const string XamarinMac = "Xamarin.Mac";
+ public const string XamarinPlayStation3 = "Xamarin.PlayStation3";
+ public const string XamarinPlayStation4 = "Xamarin.PlayStation4";
+ public const string XamarinPlayStationVita = "Xamarin.PlayStationVita";
+ public const string XamarinTVOS = "Xamarin.TVOS";
+ public const string XamarinWatchOS = "Xamarin.WatchOS";
+ public const string XamarinXbox360 = "Xamarin.Xbox360";
+ public const string XamarinXboxOne = "Xamarin.XboxOne";
+ }
+
+ public static partial class PlatformIdentifiers
+ {
+ public const string Windows = "Windows";
+ public const string WindowsPhone = "WindowsPhone";
+ }
+
+ public static partial class SpecialIdentifiers
+ {
+ public const string Agnostic = "Agnostic";
+ public const string Any = "Any";
+ public const string Unsupported = "Unsupported";
+ }
+ }
+
+ public partial class FrameworkException : System.Exception
+ {
+ protected FrameworkException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+
+ public FrameworkException(string message) { }
+ }
+
+ public partial class FrameworkExpander
+ {
+ public FrameworkExpander() { }
+
+ public FrameworkExpander(IFrameworkNameProvider mappings) { }
+
+ public System.Collections.Generic.IEnumerable Expand(NuGetFramework framework) { throw null; }
+ }
+
+ public static partial class FrameworkNameHelpers
+ {
+ public static string GetFolderName(string identifierShortName, string versionString, string profileShortName) { throw null; }
+
+ public static string GetPortableProfileNumberString(int profileNumber) { throw null; }
+
+ public static System.Version GetVersion(string versionString) { throw null; }
+
+ public static string GetVersionString(System.Version version) { throw null; }
+ }
+
+ public partial class FrameworkNameProvider : IFrameworkNameProvider
+ {
+ public FrameworkNameProvider(System.Collections.Generic.IEnumerable mappings, System.Collections.Generic.IEnumerable portableMappings) { }
+
+ public void AddFrameworkPrecedenceMappings(System.Collections.Generic.IDictionary destination, System.Collections.Generic.IEnumerable mappings) { }
+
+ public int CompareEquivalentFrameworks(NuGetFramework x, NuGetFramework y) { throw null; }
+
+ public int CompareFrameworks(NuGetFramework x, NuGetFramework y) { throw null; }
+
+ public System.Collections.Generic.IEnumerable GetCompatibleCandidates() { throw null; }
+
+ public NuGetFramework GetFullNameReplacement(NuGetFramework framework) { throw null; }
+
+ public System.Collections.Generic.IEnumerable GetNetStandardVersions() { throw null; }
+
+ public NuGetFramework GetShortNameReplacement(NuGetFramework framework) { throw null; }
+
+ public string GetVersionString(string framework, System.Version version) { throw null; }
+
+ public bool TryGetCompatibilityMappings(NuGetFramework framework, out System.Collections.Generic.IEnumerable supportedFrameworkRanges) { throw null; }
+
+ public bool TryGetEquivalentFrameworks(FrameworkRange range, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetEquivalentFrameworks(NuGetFramework framework, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetIdentifier(string framework, out string identifier) { throw null; }
+
+ public bool TryGetPlatformVersion(string versionString, out System.Version version) { throw null; }
+
+ public bool TryGetPortableCompatibilityMappings(int profile, out System.Collections.Generic.IEnumerable supportedFrameworkRanges) { throw null; }
+
+ public bool TryGetPortableFrameworks(int profile, bool includeOptional, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetPortableFrameworks(int profile, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetPortableFrameworks(string profile, bool includeOptional, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetPortableFrameworks(string shortPortableProfiles, out System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public bool TryGetPortableProfile(System.Collections.Generic.IEnumerable supportedFrameworks, out int profileNumber) { throw null; }
+
+ public bool TryGetPortableProfileNumber(string profile, out int profileNumber) { throw null; }
+
+ public bool TryGetProfile(string frameworkIdentifier, string profileShortName, out string profile) { throw null; }
+
+ public bool TryGetShortIdentifier(string identifier, out string identifierShortName) { throw null; }
+
+ public bool TryGetShortProfile(string frameworkIdentifier, string profile, out string profileShortName) { throw null; }
+
+ public bool TryGetSubSetFrameworks(string frameworkIdentifier, out System.Collections.Generic.IEnumerable subSetFrameworks) { throw null; }
+
+ public bool TryGetVersion(string versionString, out System.Version version) { throw null; }
+ }
+
+ public partial class FrameworkPrecedenceSorter : System.Collections.Generic.IComparer
+ {
+ public FrameworkPrecedenceSorter(IFrameworkNameProvider mappings, bool allEquivalent) { }
+
+ public int Compare(NuGetFramework x, NuGetFramework y) { throw null; }
+ }
+
+ public partial class FrameworkRange : System.IEquatable
+ {
+ public FrameworkRange(NuGetFramework min, NuGetFramework max, bool includeMin, bool includeMax) { }
+
+ public FrameworkRange(NuGetFramework min, NuGetFramework max) { }
+
+ public string FrameworkIdentifier { get { throw null; } }
+
+ public bool IncludeMax { get { throw null; } }
+
+ public bool IncludeMin { get { throw null; } }
+
+ public NuGetFramework Max { get { throw null; } }
+
+ public NuGetFramework Min { get { throw null; } }
+
+ public bool Equals(FrameworkRange other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public bool Satisfies(NuGetFramework framework) { throw null; }
+
+ public override string ToString() { throw null; }
+ }
+
+ public partial class FrameworkRangeComparer : System.Collections.Generic.IEqualityComparer
+ {
+ public FrameworkRangeComparer() { }
+
+ public bool Equals(FrameworkRange x, FrameworkRange y) { throw null; }
+
+ public int GetHashCode(FrameworkRange obj) { throw null; }
+ }
+
+ public partial class FrameworkReducer
+ {
+ public FrameworkReducer() { }
+
+ public FrameworkReducer(IFrameworkNameProvider mappings, IFrameworkCompatibilityProvider compat) { }
+
+ public NuGetFramework GetNearest(NuGetFramework framework, System.Collections.Generic.IEnumerable possibleFrameworks) { throw null; }
+
+ public System.Collections.Generic.IEnumerable ReduceDownwards(System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public System.Collections.Generic.IEnumerable ReduceEquivalent(System.Collections.Generic.IEnumerable frameworks) { throw null; }
+
+ public System.Collections.Generic.IEnumerable ReduceUpwards(System.Collections.Generic.IEnumerable frameworks) { throw null; }
+ }
+
+ public partial class FrameworkRuntimePair : System.IEquatable, System.IComparable
+ {
+ public FrameworkRuntimePair(NuGetFramework framework, string runtimeIdentifier) { }
+
+ public NuGetFramework Framework { get { throw null; } }
+
+ public string Name { get { throw null; } }
+
+ public string RuntimeIdentifier { get { throw null; } }
+
+ public FrameworkRuntimePair Clone() { throw null; }
+
+ public int CompareTo(FrameworkRuntimePair other) { throw null; }
+
+ public bool Equals(FrameworkRuntimePair other) { throw null; }
+
+ public override bool Equals(object obj) { throw null; }
+
+ public override int GetHashCode() { throw null; }
+
+ public static string GetName(NuGetFramework framework, string runtimeIdentifier) { throw null; }
+
+ public static string GetTargetGraphName(NuGetFramework framework, string runtimeIdentifier) { throw null; }
+
+ public override string ToString() { throw null; }
+ }
+
+ public partial class FrameworkSpecificMapping
+ {
+ public FrameworkSpecificMapping(string frameworkIdentifier, System.Collections.Generic.KeyValuePair mapping) { }
+
+ public FrameworkSpecificMapping(string frameworkIdentifier, string key, string value) { }
+
+ public string FrameworkIdentifier { get { throw null; } }
+
+ public System.Collections.Generic.KeyValuePair Mapping { get { throw null; } }
+ }
+
+ public partial interface IFrameworkCompatibilityListProvider
+ {
+ System.Collections.Generic.IEnumerable GetFrameworksSupporting(NuGetFramework target);
+ }
+
+ public partial interface IFrameworkCompatibilityProvider
+ {
+ bool IsCompatible(NuGetFramework framework, NuGetFramework other);
+ }
+
+ public partial interface IFrameworkMappings
+ {
+ System.Collections.Generic.IEnumerable CompatibilityMappings { get; }
+
+ System.Collections.Generic.IEnumerable EquivalentFrameworkPrecedence { get; }
+
+ System.Collections.Generic.IEnumerable> EquivalentFrameworks { get; }
+
+ System.Collections.Generic.IEnumerable EquivalentProfiles { get; }
+
+ System.Collections.Generic.IEnumerable> FullNameReplacements { get; }
+
+ System.Collections.Generic.IEnumerable> IdentifierShortNames { get; }
+
+ System.Collections.Generic.IEnumerable> IdentifierSynonyms { get; }
+
+ System.Collections.Generic.IEnumerable NonPackageBasedFrameworkPrecedence { get; }
+
+ System.Collections.Generic.IEnumerable PackageBasedFrameworkPrecedence { get; }
+
+ System.Collections.Generic.IEnumerable ProfileShortNames { get; }
+
+ System.Collections.Generic.IEnumerable> ShortNameReplacements { get; }
+
+ System.Collections.Generic.IEnumerable> SubSetFrameworks { get; }
+ }
+
+ public partial interface IFrameworkNameProvider
+ {
+ int CompareEquivalentFrameworks(NuGetFramework x, NuGetFramework y);
+ int CompareFrameworks(NuGetFramework x, NuGetFramework y);
+ System.Collections.Generic.IEnumerable GetCompatibleCandidates();
+ NuGetFramework GetFullNameReplacement(NuGetFramework framework);
+ System.Collections.Generic.IEnumerable GetNetStandardVersions();
+ NuGetFramework GetShortNameReplacement(NuGetFramework framework);
+ string GetVersionString(string framework, System.Version version);
+ bool TryGetCompatibilityMappings(NuGetFramework framework, out System.Collections.Generic.IEnumerable