From ce2de8c728af1d22b4d47283a75ea1ec2fe13625 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?=
<1175054+carlossanlop@users.noreply.github.com>
Date: Fri, 14 Mar 2025 22:28:34 +0000
Subject: [PATCH 1/5] feed
---
NuGet.config | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/NuGet.config b/NuGet.config
index 5689322ede..c279dc499e 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -22,8 +22,8 @@
-
-
+
+
From dcf6b27a300c226efd093707cdf492dc2773e4aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?=
<1175054+carlossanlop@users.noreply.github.com>
Date: Fri, 14 Mar 2025 22:28:40 +0000
Subject: [PATCH 2/5] System.Memory 4.6.1
---
.../4.6.1/System.Memory.4.6.1.csproj | 16 +
.../4.6.1/lib/netstandard2.0/System.Memory.cs | 941 ++++++++++++++++++
.../system.memory/4.6.1/system.memory.nuspec | 23 +
3 files changed, 980 insertions(+)
create mode 100644 src/referencePackages/src/system.memory/4.6.1/System.Memory.4.6.1.csproj
create mode 100644 src/referencePackages/src/system.memory/4.6.1/lib/netstandard2.0/System.Memory.cs
create mode 100644 src/referencePackages/src/system.memory/4.6.1/system.memory.nuspec
diff --git a/src/referencePackages/src/system.memory/4.6.1/System.Memory.4.6.1.csproj b/src/referencePackages/src/system.memory/4.6.1/System.Memory.4.6.1.csproj
new file mode 100644
index 0000000000..f0214e30cf
--- /dev/null
+++ b/src/referencePackages/src/system.memory/4.6.1/System.Memory.4.6.1.csproj
@@ -0,0 +1,16 @@
+
+
+
+ netstandard2.0
+ 4.6.1
+ System.Memory
+ Open
+
+
+
+
+
+
+
+
+
diff --git a/src/referencePackages/src/system.memory/4.6.1/lib/netstandard2.0/System.Memory.cs b/src/referencePackages/src/system.memory/4.6.1/lib/netstandard2.0/System.Memory.cs
new file mode 100644
index 0000000000..f89c2fb498
--- /dev/null
+++ b/src/referencePackages/src/system.memory/4.6.1/lib/netstandard2.0/System.Memory.cs
@@ -0,0 +1,941 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the http://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
+[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
+[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
+[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
+[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
+[assembly: System.CLSCompliant(true)]
+[assembly: System.Reflection.AssemblyDefaultAlias("System.Memory")]
+[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
+[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)]
+[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
+[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
+[assembly: System.Reflection.AssemblyDescription("System.Memory")]
+[assembly: System.Reflection.AssemblyFileVersion("4.600.125.15403")]
+[assembly: System.Reflection.AssemblyInformationalVersion("4.6.1+ab95a1f103b49919ba02577a99f3173405bb50ca")]
+[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
+[assembly: System.Reflection.AssemblyTitle("System.Memory")]
+[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")]
+[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
+[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
+[assembly: System.Reflection.AssemblyVersionAttribute("4.0.3.0")]
+[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
+[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
+namespace System
+{
+ public static partial class MemoryExtensions
+ {
+ public static ReadOnlyMemory AsMemory(this string text, int start, int length) { throw null; }
+
+ public static ReadOnlyMemory AsMemory(this string text, int start) { throw null; }
+
+ public static ReadOnlyMemory AsMemory(this string text) { throw null; }
+
+ public static Memory AsMemory(this T[] array, int start, int length) { throw null; }
+
+ public static Memory AsMemory(this T[] array, int start) { throw null; }
+
+ public static Memory AsMemory(this T[] array) { throw null; }
+
+ public static Memory AsMemory(this ArraySegment segment, int start, int length) { throw null; }
+
+ public static Memory AsMemory(this ArraySegment segment, int start) { throw null; }
+
+ public static Memory AsMemory(this ArraySegment segment) { throw null; }
+
+ public static ReadOnlySpan AsSpan(this string text, int start, int length) { throw null; }
+
+ public static ReadOnlySpan AsSpan(this string text, int start) { throw null; }
+
+ public static ReadOnlySpan AsSpan(this string text) { throw null; }
+
+ public static Span AsSpan(this T[] array, int start, int length) { throw null; }
+
+ public static Span AsSpan(this T[] array, int start) { throw null; }
+
+ public static Span AsSpan(this T[] array) { throw null; }
+
+ public static Span AsSpan(this ArraySegment segment, int start, int length) { throw null; }
+
+ public static Span AsSpan(this ArraySegment segment, int start) { throw null; }
+
+ public static Span AsSpan(this ArraySegment segment) { throw null; }
+
+ public static int BinarySearch(this ReadOnlySpan span, IComparable comparable) { throw null; }
+
+ public static int BinarySearch(this Span span, IComparable comparable) { throw null; }
+
+ public static int BinarySearch(this ReadOnlySpan span, T value, TComparer comparer)
+ where TComparer : Collections.Generic.IComparer { throw null; }
+
+ public static int BinarySearch(this ReadOnlySpan span, TComparable comparable)
+ where TComparable : IComparable { throw null; }
+
+ public static int BinarySearch(this Span span, T value, TComparer comparer)
+ where TComparer : Collections.Generic.IComparer { throw null; }
+
+ public static int BinarySearch(this Span span, TComparable comparable)
+ where TComparable : IComparable { throw null; }
+
+ public static int CompareTo(this ReadOnlySpan span, ReadOnlySpan other, StringComparison comparisonType) { throw null; }
+
+ public static bool Contains(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; }
+
+ public static void CopyTo(this T[] source, Memory destination) { }
+
+ public static void CopyTo(this T[] source, Span destination) { }
+
+ public static bool EndsWith(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; }
+
+ public static bool EndsWith(this ReadOnlySpan span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static bool EndsWith(this Span span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static bool Equals(this ReadOnlySpan span, ReadOnlySpan other, StringComparison comparisonType) { throw null; }
+
+ public static int IndexOf(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; }
+
+ public static int IndexOf(this ReadOnlySpan span, T value)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOf(this ReadOnlySpan span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOf(this Span span, T value)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOf(this Span span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this ReadOnlySpan span, T value0, T value1, T value2)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this ReadOnlySpan span, T value0, T value1)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this ReadOnlySpan span, ReadOnlySpan values)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this Span span, T value0, T value1, T value2)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this Span span, T value0, T value1)
+ where T : IEquatable { throw null; }
+
+ public static int IndexOfAny(this Span span, ReadOnlySpan values)
+ where T : IEquatable { throw null; }
+
+ public static bool IsWhiteSpace(this ReadOnlySpan span) { throw null; }
+
+ public static int LastIndexOf(this ReadOnlySpan span, T value)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOf(this ReadOnlySpan span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOf(this Span span, T value)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOf(this Span span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this ReadOnlySpan span, T value0, T value1, T value2)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this ReadOnlySpan span, T value0, T value1)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this ReadOnlySpan span, ReadOnlySpan values)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this Span span, T value0, T value1, T value2)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this Span span, T value0, T value1)
+ where T : IEquatable { throw null; }
+
+ public static int LastIndexOfAny(this Span span, ReadOnlySpan values)
+ where T : IEquatable { throw null; }
+
+ public static bool Overlaps(this ReadOnlySpan span, ReadOnlySpan other, out int elementOffset) { throw null; }
+
+ public static bool Overlaps(this ReadOnlySpan span, ReadOnlySpan other) { throw null; }
+
+ public static bool Overlaps(this Span span, ReadOnlySpan other, out int elementOffset) { throw null; }
+
+ public static bool Overlaps(this Span span, ReadOnlySpan other) { throw null; }
+
+ public static void Reverse(this Span span) { }
+
+ public static int SequenceCompareTo(this ReadOnlySpan span, ReadOnlySpan other)
+ where T : IComparable { throw null; }
+
+ public static int SequenceCompareTo(this Span span, ReadOnlySpan other)
+ where T : IComparable { throw null; }
+
+ public static bool SequenceEqual(this ReadOnlySpan span, ReadOnlySpan other)
+ where T : IEquatable { throw null; }
+
+ public static bool SequenceEqual(this Span span, ReadOnlySpan other)
+ where T : IEquatable { throw null; }
+
+ public static bool StartsWith(this ReadOnlySpan span, ReadOnlySpan value, StringComparison comparisonType) { throw null; }
+
+ public static bool StartsWith(this ReadOnlySpan span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static bool StartsWith(this Span span, ReadOnlySpan value)
+ where T : IEquatable { throw null; }
+
+ public static int ToLower(this ReadOnlySpan source, Span destination, Globalization.CultureInfo culture) { throw null; }
+
+ public static int ToLowerInvariant(this ReadOnlySpan source, Span destination) { throw null; }
+
+ public static int ToUpper(this ReadOnlySpan source, Span destination, Globalization.CultureInfo culture) { throw null; }
+
+ public static int ToUpperInvariant(this ReadOnlySpan source, Span destination) { throw null; }
+
+ public static ReadOnlySpan Trim(this ReadOnlySpan span, char trimChar) { throw null; }
+
+ public static ReadOnlySpan Trim(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; }
+
+ public static ReadOnlySpan Trim(this ReadOnlySpan span) { throw null; }
+
+ public static ReadOnlySpan TrimEnd(this ReadOnlySpan span, char trimChar) { throw null; }
+
+ public static ReadOnlySpan TrimEnd(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; }
+
+ public static ReadOnlySpan TrimEnd(this ReadOnlySpan span) { throw null; }
+
+ public static ReadOnlySpan TrimStart(this ReadOnlySpan span, char trimChar) { throw null; }
+
+ public static ReadOnlySpan TrimStart(this ReadOnlySpan span, ReadOnlySpan trimChars) { throw null; }
+
+ public static ReadOnlySpan TrimStart(this ReadOnlySpan span) { throw null; }
+ }
+
+ public readonly partial struct Memory
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public Memory(T[] array, int start, int length) { }
+
+ public Memory(T[] array) { }
+
+ public static Memory Empty { get { throw null; } }
+
+ public bool IsEmpty { get { throw null; } }
+
+ public int Length { get { throw null; } }
+
+ public Span Span { get { throw null; } }
+
+ public readonly void CopyTo(Memory destination) { }
+
+ public readonly bool Equals(Memory other) { throw null; }
+
+ public override readonly bool Equals(object obj) { throw null; }
+
+ public override readonly int GetHashCode() { throw null; }
+
+ public static implicit operator Memory(T[] array) { throw null; }
+
+ public static implicit operator Memory(ArraySegment segment) { throw null; }
+
+ public static implicit operator ReadOnlyMemory(Memory memory) { throw null; }
+
+ public readonly Buffers.MemoryHandle Pin() { throw null; }
+
+ public readonly Memory Slice(int start, int length) { throw null; }
+
+ public readonly Memory Slice(int start) { throw null; }
+
+ public readonly T[] ToArray() { throw null; }
+
+ public override readonly string ToString() { throw null; }
+
+ public readonly bool TryCopyTo(Memory destination) { throw null; }
+ }
+
+ public readonly partial struct ReadOnlyMemory
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ReadOnlyMemory(T[] array, int start, int length) { }
+
+ public ReadOnlyMemory(T[] array) { }
+
+ public static ReadOnlyMemory Empty { get { throw null; } }
+
+ public bool IsEmpty { get { throw null; } }
+
+ public int Length { get { throw null; } }
+
+ public ReadOnlySpan Span { get { throw null; } }
+
+ public readonly void CopyTo(Memory destination) { }
+
+ public override readonly bool Equals(object obj) { throw null; }
+
+ public readonly bool Equals(ReadOnlyMemory other) { throw null; }
+
+ public override readonly int GetHashCode() { throw null; }
+
+ public static implicit operator ReadOnlyMemory(T[] array) { throw null; }
+
+ public static implicit operator ReadOnlyMemory(ArraySegment segment) { throw null; }
+
+ public readonly Buffers.MemoryHandle Pin() { throw null; }
+
+ public readonly ReadOnlyMemory Slice(int start, int length) { throw null; }
+
+ public readonly ReadOnlyMemory Slice(int start) { throw null; }
+
+ public readonly T[] ToArray() { throw null; }
+
+ public override readonly string ToString() { throw null; }
+
+ public readonly bool TryCopyTo(Memory destination) { throw null; }
+ }
+
+ public readonly ref partial struct ReadOnlySpan
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ReadOnlySpan(T[] array, int start, int length) { }
+
+ public ReadOnlySpan(T[] array) { }
+
+ [CLSCompliant(false)]
+ public unsafe ReadOnlySpan(void* pointer, int length) { }
+
+ public static ReadOnlySpan Empty { get { throw null; } }
+
+ public bool IsEmpty { get { throw null; } }
+
+ public ref readonly T this[int index] { get { throw null; } }
+
+ public int Length { get { throw null; } }
+
+ public readonly void CopyTo(Span destination) { }
+
+ [Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")]
+ public override readonly bool Equals(object obj) { throw null; }
+
+ public readonly Enumerator GetEnumerator() { throw null; }
+
+ [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")]
+ public override readonly int GetHashCode() { throw null; }
+
+ public readonly ref readonly T GetPinnableReference() { throw null; }
+
+ public static bool operator ==(ReadOnlySpan left, ReadOnlySpan right) { throw null; }
+
+ public static implicit operator ReadOnlySpan(T[] array) { throw null; }
+
+ public static implicit operator ReadOnlySpan(ArraySegment segment) { throw null; }
+
+ public static bool operator !=(ReadOnlySpan left, ReadOnlySpan right) { throw null; }
+
+ public readonly ReadOnlySpan Slice(int start, int length) { throw null; }
+
+ public readonly ReadOnlySpan Slice(int start) { throw null; }
+
+ public readonly T[] ToArray() { throw null; }
+
+ public override readonly string ToString() { throw null; }
+
+ public readonly bool TryCopyTo(Span destination) { throw null; }
+
+ public ref partial struct Enumerator
+ {
+ private ReadOnlySpan _span;
+ private object _dummy;
+ private int _dummyPrimitive;
+ public ref readonly T Current { get { throw null; } }
+
+ public bool MoveNext() { throw null; }
+ }
+ }
+
+ public readonly partial struct SequencePosition : IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public SequencePosition(object @object, int integer) { }
+
+ public override readonly bool Equals(object obj) { throw null; }
+
+ public readonly bool Equals(SequencePosition other) { throw null; }
+
+ public override readonly int GetHashCode() { throw null; }
+
+ public readonly int GetInteger() { throw null; }
+
+ public readonly object GetObject() { throw null; }
+ }
+
+ public readonly ref partial struct Span