diff --git a/eng/Build.props b/eng/Build.props index f5d20fdaa0..2f0c4cbadc 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -38,6 +38,11 @@ + + + + + diff --git a/src/referencePackages/src/system.memory/4.6.3/System.Memory.4.6.3.csproj b/src/referencePackages/src/system.memory/4.6.3/System.Memory.4.6.3.csproj new file mode 100644 index 0000000000..fd1ae3142a --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.3/System.Memory.4.6.3.csproj @@ -0,0 +1,15 @@ + + + + netstandard2.0 + System.Memory + Open + + + + + + + + + diff --git a/src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.0/System.Memory.cs b/src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.0/System.Memory.cs new file mode 100644 index 0000000000..7868a23f4b --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.3/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.325.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.3+f62ca0009b038cab4725a720f386623a969d73ad")] +[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.2.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 + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public Span(T[] array, int start, int length) { } + + public Span(T[] array) { } + + [CLSCompliant(false)] + public unsafe Span(void* pointer, int length) { } + + public static Span Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ref T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly void Clear() { } + + public readonly void CopyTo(Span destination) { } + + [Obsolete("Equals() on Span will always throw an exception. Use == instead.")] + public override readonly bool Equals(object obj) { throw null; } + + public readonly void Fill(T value) { } + + public readonly Enumerator GetEnumerator() { throw null; } + + [Obsolete("GetHashCode() on Span will always throw an exception.")] + public override readonly int GetHashCode() { throw null; } + + public readonly ref T GetPinnableReference() { throw null; } + + public static bool operator ==(Span left, Span right) { throw null; } + + public static implicit operator Span(T[] array) { throw null; } + + public static implicit operator Span(ArraySegment segment) { throw null; } + + public static implicit operator ReadOnlySpan(Span span) { throw null; } + + public static bool operator !=(Span left, Span right) { throw null; } + + public readonly Span Slice(int start, int length) { throw null; } + + public readonly Span 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 Span _span; + private object _dummy; + private int _dummyPrimitive; + public ref T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } +} + +namespace System.Buffers +{ + public static partial class BuffersExtensions + { + public static void CopyTo(this in ReadOnlySequence source, Span destination) { } + + public static SequencePosition? PositionOf(this in ReadOnlySequence source, T value) + where T : IEquatable { throw null; } + + public static T[] ToArray(this in ReadOnlySequence sequence) { throw null; } + + public static void Write(this IBufferWriter writer, ReadOnlySpan value) { } + } + + public partial interface IBufferWriter + { + void Advance(int count); + Memory GetMemory(int sizeHint = 0); + Span GetSpan(int sizeHint = 0); + } + + public partial interface IMemoryOwner : IDisposable + { + Memory Memory { get; } + } + + public partial interface IPinnable + { + MemoryHandle Pin(int elementIndex); + void Unpin(); + } + + public partial struct MemoryHandle : IDisposable + { + private object _dummy; + private int _dummyPrimitive; + [CLSCompliant(false)] + public unsafe MemoryHandle(void* pointer, Runtime.InteropServices.GCHandle handle = default, IPinnable pinnable = null) { } + + [CLSCompliant(false)] + public unsafe void* Pointer { get { throw null; } } + + public void Dispose() { } + } + + public abstract partial class MemoryManager : IMemoryOwner, IDisposable, IPinnable + { + public virtual Memory Memory { get { throw null; } } + + protected Memory CreateMemory(int start, int length) { throw null; } + + protected Memory CreateMemory(int length) { throw null; } + + protected abstract void Dispose(bool disposing); + public abstract Span GetSpan(); + public abstract MemoryHandle Pin(int elementIndex = 0); + void IDisposable.Dispose() { } + + protected internal virtual bool TryGetArray(out ArraySegment segment) { throw null; } + + public abstract void Unpin(); + } + + public abstract partial class MemoryPool : IDisposable + { + public abstract int MaxBufferSize { get; } + + public static MemoryPool Shared { get { throw null; } } + + public void Dispose() { } + + protected abstract void Dispose(bool disposing); + public abstract IMemoryOwner Rent(int minBufferSize = -1); + } + + public enum OperationStatus + { + Done = 0, + DestinationTooSmall = 1, + NeedMoreData = 2, + InvalidData = 3 + } + + public abstract partial class ReadOnlySequenceSegment + { + public ReadOnlyMemory Memory { get { throw null; } protected set { } } + + public ReadOnlySequenceSegment Next { get { throw null; } protected set { } } + + public long RunningIndex { get { throw null; } protected set { } } + } + + public readonly partial struct ReadOnlySequence + { + public static readonly ReadOnlySequence Empty; + public ReadOnlySequence(T[] array, int start, int length) { } + + public ReadOnlySequence(T[] array) { } + + public ReadOnlySequence(ReadOnlySequenceSegment startSegment, int startIndex, ReadOnlySequenceSegment endSegment, int endIndex) { } + + public ReadOnlySequence(ReadOnlyMemory memory) { } + + public SequencePosition End { get { throw null; } } + + public ReadOnlyMemory First { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public bool IsSingleSegment { get { throw null; } } + + public long Length { get { throw null; } } + + public SequencePosition Start { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } + + public readonly SequencePosition GetPosition(long offset) { throw null; } + + public readonly ReadOnlySequence Slice(int start, int length) { throw null; } + + public readonly ReadOnlySequence Slice(int start, SequencePosition end) { throw null; } + + public readonly ReadOnlySequence Slice(long start, long length) { throw null; } + + public readonly ReadOnlySequence Slice(long start, SequencePosition end) { throw null; } + + public readonly ReadOnlySequence Slice(long start) { throw null; } + + public readonly ReadOnlySequence Slice(SequencePosition start, int length) { throw null; } + + public readonly ReadOnlySequence Slice(SequencePosition start, long length) { throw null; } + + public readonly ReadOnlySequence Slice(SequencePosition start, SequencePosition end) { throw null; } + + public readonly ReadOnlySequence Slice(SequencePosition start) { throw null; } + + public override readonly string ToString() { throw null; } + + public readonly bool TryGet(ref SequencePosition position, out ReadOnlyMemory memory, bool advance = true) { throw null; } + + public partial struct Enumerator + { + private ReadOnlySequence _sequence; + private ReadOnlyMemory _currentMemory; + private int _dummyPrimitive; + public Enumerator(in ReadOnlySequence sequence) { } + + public ReadOnlyMemory Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public readonly partial struct StandardFormat : IEquatable + { + private readonly int _dummyPrimitive; + public const byte MaxPrecision = 99; + public const byte NoPrecision = 255; + public StandardFormat(char symbol, byte precision = 255) { } + + public bool HasPrecision { get { throw null; } } + + public bool IsDefault { get { throw null; } } + + public byte Precision { get { throw null; } } + + public char Symbol { get { throw null; } } + + public readonly bool Equals(StandardFormat other) { throw null; } + + public override readonly bool Equals(object obj) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StandardFormat left, StandardFormat right) { throw null; } + + public static implicit operator StandardFormat(char symbol) { throw null; } + + public static bool operator !=(StandardFormat left, StandardFormat right) { throw null; } + + public static StandardFormat Parse(ReadOnlySpan format) { throw null; } + + public static StandardFormat Parse(string format) { throw null; } + + public override readonly string ToString() { throw null; } + } +} + +namespace System.Buffers.Binary +{ + public static partial class BinaryPrimitives + { + public static short ReadInt16BigEndian(ReadOnlySpan source) { throw null; } + + public static short ReadInt16LittleEndian(ReadOnlySpan source) { throw null; } + + public static int ReadInt32BigEndian(ReadOnlySpan source) { throw null; } + + public static int ReadInt32LittleEndian(ReadOnlySpan source) { throw null; } + + public static long ReadInt64BigEndian(ReadOnlySpan source) { throw null; } + + public static long ReadInt64LittleEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static ushort ReadUInt16BigEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static ushort ReadUInt16LittleEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static uint ReadUInt32BigEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static uint ReadUInt32LittleEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static ulong ReadUInt64BigEndian(ReadOnlySpan source) { throw null; } + + [CLSCompliant(false)] + public static ulong ReadUInt64LittleEndian(ReadOnlySpan source) { throw null; } + + public static byte ReverseEndianness(byte value) { throw null; } + + public static short ReverseEndianness(short value) { throw null; } + + public static int ReverseEndianness(int value) { throw null; } + + public static long ReverseEndianness(long value) { throw null; } + + [CLSCompliant(false)] + public static sbyte ReverseEndianness(sbyte value) { throw null; } + + [CLSCompliant(false)] + public static ushort ReverseEndianness(ushort value) { throw null; } + + [CLSCompliant(false)] + public static uint ReverseEndianness(uint value) { throw null; } + + [CLSCompliant(false)] + public static ulong ReverseEndianness(ulong value) { throw null; } + + public static bool TryReadInt16BigEndian(ReadOnlySpan source, out short value) { throw null; } + + public static bool TryReadInt16LittleEndian(ReadOnlySpan source, out short value) { throw null; } + + public static bool TryReadInt32BigEndian(ReadOnlySpan source, out int value) { throw null; } + + public static bool TryReadInt32LittleEndian(ReadOnlySpan source, out int value) { throw null; } + + public static bool TryReadInt64BigEndian(ReadOnlySpan source, out long value) { throw null; } + + public static bool TryReadInt64LittleEndian(ReadOnlySpan source, out long value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt16BigEndian(ReadOnlySpan source, out ushort value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt16LittleEndian(ReadOnlySpan source, out ushort value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt32BigEndian(ReadOnlySpan source, out uint value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt32LittleEndian(ReadOnlySpan source, out uint value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt64BigEndian(ReadOnlySpan source, out ulong value) { throw null; } + + [CLSCompliant(false)] + public static bool TryReadUInt64LittleEndian(ReadOnlySpan source, out ulong value) { throw null; } + + public static bool TryWriteInt16BigEndian(Span destination, short value) { throw null; } + + public static bool TryWriteInt16LittleEndian(Span destination, short value) { throw null; } + + public static bool TryWriteInt32BigEndian(Span destination, int value) { throw null; } + + public static bool TryWriteInt32LittleEndian(Span destination, int value) { throw null; } + + public static bool TryWriteInt64BigEndian(Span destination, long value) { throw null; } + + public static bool TryWriteInt64LittleEndian(Span destination, long value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt16BigEndian(Span destination, ushort value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt16LittleEndian(Span destination, ushort value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt32BigEndian(Span destination, uint value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt32LittleEndian(Span destination, uint value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt64BigEndian(Span destination, ulong value) { throw null; } + + [CLSCompliant(false)] + public static bool TryWriteUInt64LittleEndian(Span destination, ulong value) { throw null; } + + public static void WriteInt16BigEndian(Span destination, short value) { } + + public static void WriteInt16LittleEndian(Span destination, short value) { } + + public static void WriteInt32BigEndian(Span destination, int value) { } + + public static void WriteInt32LittleEndian(Span destination, int value) { } + + public static void WriteInt64BigEndian(Span destination, long value) { } + + public static void WriteInt64LittleEndian(Span destination, long value) { } + + [CLSCompliant(false)] + public static void WriteUInt16BigEndian(Span destination, ushort value) { } + + [CLSCompliant(false)] + public static void WriteUInt16LittleEndian(Span destination, ushort value) { } + + [CLSCompliant(false)] + public static void WriteUInt32BigEndian(Span destination, uint value) { } + + [CLSCompliant(false)] + public static void WriteUInt32LittleEndian(Span destination, uint value) { } + + [CLSCompliant(false)] + public static void WriteUInt64BigEndian(Span destination, ulong value) { } + + [CLSCompliant(false)] + public static void WriteUInt64LittleEndian(Span destination, ulong value) { } + } +} + +namespace System.Buffers.Text +{ + public static partial class Base64 + { + public static OperationStatus DecodeFromUtf8(ReadOnlySpan utf8, Span bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + + public static OperationStatus DecodeFromUtf8InPlace(Span buffer, out int bytesWritten) { throw null; } + + public static OperationStatus EncodeToUtf8(ReadOnlySpan bytes, Span utf8, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true) { throw null; } + + public static OperationStatus EncodeToUtf8InPlace(Span buffer, int dataLength, out int bytesWritten) { throw null; } + + public static int GetMaxDecodedFromUtf8Length(int length) { throw null; } + + public static int GetMaxEncodedToUtf8Length(int length) { throw null; } + } + + public static partial class Utf8Formatter + { + public static bool TryFormat(bool value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(byte value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(DateTime value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(DateTimeOffset value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(decimal value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(double value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(Guid value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(short value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(int value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(long value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + [CLSCompliant(false)] + public static bool TryFormat(sbyte value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(float value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + public static bool TryFormat(TimeSpan value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + [CLSCompliant(false)] + public static bool TryFormat(ushort value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + [CLSCompliant(false)] + public static bool TryFormat(uint value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + + [CLSCompliant(false)] + public static bool TryFormat(ulong value, Span destination, out int bytesWritten, StandardFormat format = default) { throw null; } + } + + public static partial class Utf8Parser + { + public static bool TryParse(ReadOnlySpan source, out bool value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out byte value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out DateTime value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out DateTimeOffset value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out decimal value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out double value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out Guid value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out short value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out int value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out long value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out sbyte value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out float value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + public static bool TryParse(ReadOnlySpan source, out TimeSpan value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out ushort value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out uint value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + + [CLSCompliant(false)] + public static bool TryParse(ReadOnlySpan source, out ulong value, out int bytesConsumed, char standardFormat = '\0') { throw null; } + } +} + +namespace System.Runtime.InteropServices +{ + public static partial class MemoryMarshal + { + public static ReadOnlySpan AsBytes(ReadOnlySpan span) + where T : struct { throw null; } + + public static Span AsBytes(Span span) + where T : struct { throw null; } + + public static Memory AsMemory(ReadOnlyMemory memory) { throw null; } + + public static ReadOnlySpan Cast(ReadOnlySpan span) + where TFrom : struct where TTo : struct { throw null; } + + public static Span Cast(Span span) + where TFrom : struct where TTo : struct { throw null; } + + public static Memory CreateFromPinnedArray(T[] array, int start, int length) { throw null; } + + public static ref T GetReference(ReadOnlySpan span) { throw null; } + + public static ref T GetReference(Span span) { throw null; } + + public static T Read(ReadOnlySpan source) + where T : struct { throw null; } + + public static Collections.Generic.IEnumerable ToEnumerable(ReadOnlyMemory memory) { throw null; } + + public static bool TryGetArray(ReadOnlyMemory memory, out ArraySegment segment) { throw null; } + + public static bool TryGetMemoryManager(ReadOnlyMemory memory, out TManager manager, out int start, out int length) + where TManager : Buffers.MemoryManager { throw null; } + + public static bool TryGetMemoryManager(ReadOnlyMemory memory, out TManager manager) + where TManager : Buffers.MemoryManager { throw null; } + + public static bool TryGetString(ReadOnlyMemory memory, out string text, out int start, out int length) { throw null; } + + public static bool TryRead(ReadOnlySpan source, out T value) + where T : struct { throw null; } + + public static bool TryWrite(Span destination, ref T value) + where T : struct { throw null; } + + public static void Write(Span destination, ref T value) + where T : struct { } + } + + public static partial class SequenceMarshal + { + public static bool TryGetArray(Buffers.ReadOnlySequence sequence, out ArraySegment segment) { throw null; } + + public static bool TryGetReadOnlyMemory(Buffers.ReadOnlySequence sequence, out ReadOnlyMemory memory) { throw null; } + + public static bool TryGetReadOnlySequenceSegment(Buffers.ReadOnlySequence sequence, out Buffers.ReadOnlySequenceSegment startSegment, out int startIndex, out Buffers.ReadOnlySequenceSegment endSegment, out int endIndex) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.1/_._ b/src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.1/_._ new file mode 100755 index 0000000000..e69de29bb2 diff --git a/src/referencePackages/src/system.memory/4.6.3/system.memory.nuspec b/src/referencePackages/src/system.memory/4.6.3/system.memory.nuspec new file mode 100644 index 0000000000..93adfce685 --- /dev/null +++ b/src/referencePackages/src/system.memory/4.6.3/system.memory.nuspec @@ -0,0 +1,24 @@ + + + + System.Memory + 4.6.3 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Memory + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/System.Net.WebSockets.WebSocketProtocol.5.1.3.csproj b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/System.Net.WebSockets.WebSocketProtocol.5.1.3.csproj new file mode 100644 index 0000000000..2059c7cfdf --- /dev/null +++ b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/System.Net.WebSockets.WebSocketProtocol.5.1.3.csproj @@ -0,0 +1,17 @@ + + + + net6.0;netstandard2.0 + System.Net.WebSockets.WebSocketProtocol + Open + + + + + + + + + + + diff --git a/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/net6.0/System.Net.WebSockets.WebSocketProtocol.cs b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/net6.0/System.Net.WebSockets.WebSocketProtocol.cs new file mode 100644 index 0000000000..66b1d1f977 --- /dev/null +++ b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/net6.0/System.Net.WebSockets.WebSocketProtocol.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Net.WebSockets.WebSocketProtocol")] +[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.Net.WebSockets.WebSocketProtocol")] +[assembly: System.Reflection.AssemblyFileVersion("5.100.325.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("5.1.3+f62ca0009b038cab4725a720f386623a969d73ad")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Net.WebSockets.WebSocketProtocol")] +[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("5.1.3.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Net.WebSockets +{ + public static partial class WebSocketProtocol + { + public static WebSocket CreateFromStream(IO.Stream stream, bool isServer, string? subProtocol, TimeSpan keepAliveInterval) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/netstandard2.0/System.Net.WebSockets.WebSocketProtocol.cs b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/netstandard2.0/System.Net.WebSockets.WebSocketProtocol.cs new file mode 100644 index 0000000000..e41950a26e --- /dev/null +++ b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/lib/netstandard2.0/System.Net.WebSockets.WebSocketProtocol.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Net.WebSockets.WebSocketProtocol")] +[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.Net.WebSockets.WebSocketProtocol")] +[assembly: System.Reflection.AssemblyFileVersion("5.100.325.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("5.1.3+f62ca0009b038cab4725a720f386623a969d73ad")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Net.WebSockets.WebSocketProtocol")] +[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("5.1.3.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Net.WebSockets +{ + public static partial class WebSocketProtocol + { + public static WebSocket CreateFromStream(IO.Stream stream, bool isServer, string? subProtocol, TimeSpan keepAliveInterval) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/system.net.websockets.websocketprotocol.nuspec b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/system.net.websockets.websocketprotocol.nuspec new file mode 100644 index 0000000000..e6c2a26a15 --- /dev/null +++ b/src/referencePackages/src/system.net.websockets.websocketprotocol/5.1.3/system.net.websockets.websocketprotocol.nuspec @@ -0,0 +1,26 @@ + + + + System.Net.WebSockets.WebSocketProtocol + 5.1.3 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Net.WebSockets.WebSocketProtocol + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/System.Runtime.CompilerServices.Unsafe.6.1.2.csproj b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/System.Runtime.CompilerServices.Unsafe.6.1.2.csproj new file mode 100644 index 0000000000..c45c68f5c6 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/System.Runtime.CompilerServices.Unsafe.6.1.2.csproj @@ -0,0 +1,8 @@ + + + + net6.0;netstandard2.0 + System.Runtime.CompilerServices.Unsafe + + + diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/net6.0/System.Runtime.CompilerServices.Unsafe.cs b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/net6.0/System.Runtime.CompilerServices.Unsafe.cs new file mode 100644 index 0000000000..317c96d524 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/net6.0/System.Runtime.CompilerServices.Unsafe.cs @@ -0,0 +1,114 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] +[assembly: System.CLSCompliant(false)] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyFileVersion("6.100.225.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("6.1.2")] +[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + public static partial class Unsafe + { + public static ref T Add(ref T source, int elementOffset) { throw null; } + + public static ref T Add(ref T source, IntPtr elementOffset) { throw null; } + + public static ref T Add(ref T source, nuint elementOffset) { throw null; } + + public static unsafe void* Add(void* source, int elementOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, nuint byteOffset) { throw null; } + + public static bool AreSame(ref T left, ref T right) { throw null; } + + public static T As(object o) + where T : class { throw null; } + + public static ref TTo As(ref TFrom source) { throw null; } + + public static unsafe void* AsPointer(ref T value) { throw null; } + + public static ref T AsRef(in T source) { throw null; } + + public static unsafe ref T AsRef(void* source) { throw null; } + + public static IntPtr ByteOffset(ref T origin, ref T target) { throw null; } + + public static unsafe void Copy(ref T destination, void* source) { } + + public static unsafe void Copy(void* destination, ref T source) { } + + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } + + public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } + + public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } + + public static bool IsNullRef(ref T source) { throw null; } + + public static ref T NullRef() { throw null; } + + public static unsafe T Read(void* source) { throw null; } + + public static T ReadUnaligned(ref byte source) { throw null; } + + public static unsafe T ReadUnaligned(void* source) { throw null; } + + public static int SizeOf() { throw null; } + + public static void SkipInit(out T value) { throw null; } + + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + + public static ref T Subtract(ref T source, IntPtr elementOffset) { throw null; } + + public static ref T Subtract(ref T source, nuint elementOffset) { throw null; } + + public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } + + public static ref T Unbox(object box) + where T : struct { throw null; } + + public static unsafe void Write(void* destination, T value) { } + + public static void WriteUnaligned(ref byte destination, T value) { } + + public static unsafe void WriteUnaligned(void* destination, T value) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/net7.0/_._ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/net7.0/_._ new file mode 100755 index 0000000000..e69de29bb2 diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs new file mode 100644 index 0000000000..317c96d524 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs @@ -0,0 +1,114 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] +[assembly: System.CLSCompliant(false)] +[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyFileVersion("6.100.225.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("6.1.2")] +[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + public static partial class Unsafe + { + public static ref T Add(ref T source, int elementOffset) { throw null; } + + public static ref T Add(ref T source, IntPtr elementOffset) { throw null; } + + public static ref T Add(ref T source, nuint elementOffset) { throw null; } + + public static unsafe void* Add(void* source, int elementOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T AddByteOffset(ref T source, nuint byteOffset) { throw null; } + + public static bool AreSame(ref T left, ref T right) { throw null; } + + public static T As(object o) + where T : class { throw null; } + + public static ref TTo As(ref TFrom source) { throw null; } + + public static unsafe void* AsPointer(ref T value) { throw null; } + + public static ref T AsRef(in T source) { throw null; } + + public static unsafe ref T AsRef(void* source) { throw null; } + + public static IntPtr ByteOffset(ref T origin, ref T target) { throw null; } + + public static unsafe void Copy(ref T destination, void* source) { } + + public static unsafe void Copy(void* destination, ref T source) { } + + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } + + public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } + + public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } + + public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } + + public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } + + public static bool IsNullRef(ref T source) { throw null; } + + public static ref T NullRef() { throw null; } + + public static unsafe T Read(void* source) { throw null; } + + public static T ReadUnaligned(ref byte source) { throw null; } + + public static unsafe T ReadUnaligned(void* source) { throw null; } + + public static int SizeOf() { throw null; } + + public static void SkipInit(out T value) { throw null; } + + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + + public static ref T Subtract(ref T source, IntPtr elementOffset) { throw null; } + + public static ref T Subtract(ref T source, nuint elementOffset) { throw null; } + + public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, IntPtr byteOffset) { throw null; } + + public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } + + public static ref T Unbox(object box) + where T : struct { throw null; } + + public static unsafe void Write(void* destination, T value) { } + + public static void WriteUnaligned(ref byte destination, T value) { } + + public static unsafe void WriteUnaligned(void* destination, T value) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/system.runtime.compilerservices.unsafe.nuspec b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/system.runtime.compilerservices.unsafe.nuspec new file mode 100644 index 0000000000..8fb3f09f60 --- /dev/null +++ b/src/referencePackages/src/system.runtime.compilerservices.unsafe/6.1.2/system.runtime.compilerservices.unsafe.nuspec @@ -0,0 +1,21 @@ + + + + System.Runtime.CompilerServices.Unsafe + 6.1.2 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + © Microsoft Corporation. All rights reserved. + true + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/System.Threading.Tasks.Extensions.4.6.3.csproj b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/System.Threading.Tasks.Extensions.4.6.3.csproj new file mode 100644 index 0000000000..233e2f25cd --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/System.Threading.Tasks.Extensions.4.6.3.csproj @@ -0,0 +1,13 @@ + + + + netstandard2.0 + System.Threading.Tasks.Extensions + Open + + + + + + + diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs new file mode 100644 index 0000000000..c9672ba947 --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs @@ -0,0 +1,268 @@ +// 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.Threading.Tasks.Extensions")] +[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.Threading.Tasks.Extensions")] +[assembly: System.Reflection.AssemblyFileVersion("4.600.325.20307")] +[assembly: System.Reflection.AssemblyInformationalVersion("4.6.3+f62ca0009b038cab4725a720f386623a969d73ad")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Tasks.Extensions")] +[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.2.1.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Runtime.CompilerServices +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)] + public sealed partial class AsyncMethodBuilderAttribute : Attribute + { + public AsyncMethodBuilderAttribute(Type builderType) { } + + public Type BuilderType { get { throw null; } } + } + + public partial struct AsyncValueTaskMethodBuilder + { + private int _dummyPrimitive; + public Threading.Tasks.ValueTask Task { get { throw null; } } + + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public static AsyncValueTaskMethodBuilder Create() { throw null; } + + public void SetException(Exception exception) { } + + public void SetResult() { } + + public void SetStateMachine(IAsyncStateMachine stateMachine) { } + + public void Start(ref TStateMachine stateMachine) + where TStateMachine : IAsyncStateMachine { } + } + + public partial struct AsyncValueTaskMethodBuilder + { + private AsyncTaskMethodBuilder _methodBuilder; + private TResult _result; + private int _dummyPrimitive; + public Threading.Tasks.ValueTask Task { get { throw null; } } + + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public static AsyncValueTaskMethodBuilder Create() { throw null; } + + public void SetException(Exception exception) { } + + public void SetResult(TResult result) { } + + public void SetStateMachine(IAsyncStateMachine stateMachine) { } + + public void Start(ref TStateMachine stateMachine) + where TStateMachine : IAsyncStateMachine { } + } + + public readonly partial struct ConfiguredValueTaskAwaitable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } + + public readonly partial struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsCompleted { get { throw null; } } + + public readonly void GetResult() { } + + public readonly void OnCompleted(Action continuation) { } + + public readonly void UnsafeOnCompleted(Action continuation) { } + } + } + + public readonly partial struct ConfiguredValueTaskAwaitable + { + private readonly Threading.Tasks.ValueTask _value; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } + + public readonly partial struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion + { + private readonly Threading.Tasks.ValueTask _value; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsCompleted { get { throw null; } } + + public readonly TResult GetResult() { throw null; } + + public readonly void OnCompleted(Action continuation) { } + + public readonly void UnsafeOnCompleted(Action continuation) { } + } + } + + public readonly partial struct ValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsCompleted { get { throw null; } } + + public readonly void GetResult() { } + + public readonly void OnCompleted(Action continuation) { } + + public readonly void UnsafeOnCompleted(Action continuation) { } + } + + public readonly partial struct ValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion + { + private readonly Threading.Tasks.ValueTask _value; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsCompleted { get { throw null; } } + + public readonly TResult GetResult() { throw null; } + + public readonly void OnCompleted(Action continuation) { } + + public readonly void UnsafeOnCompleted(Action continuation) { } + } +} + +namespace System.Threading.Tasks +{ + [Runtime.CompilerServices.AsyncMethodBuilder(typeof(Runtime.CompilerServices.AsyncValueTaskMethodBuilder))] + public readonly partial struct ValueTask : IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ValueTask(Sources.IValueTaskSource source, short token) { } + + public ValueTask(Task task) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + + public bool IsCompletedSuccessfully { get { throw null; } } + + public bool IsFaulted { get { throw null; } } + + public readonly Task AsTask() { throw null; } + + public readonly Runtime.CompilerServices.ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + + public override readonly bool Equals(object obj) { throw null; } + + public readonly bool Equals(ValueTask other) { throw null; } + + public readonly Runtime.CompilerServices.ValueTaskAwaiter GetAwaiter() { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ValueTask left, ValueTask right) { throw null; } + + public static bool operator !=(ValueTask left, ValueTask right) { throw null; } + + public readonly ValueTask Preserve() { throw null; } + } + + [Runtime.CompilerServices.AsyncMethodBuilder(typeof(Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>))] + public readonly partial struct ValueTask : IEquatable> + { + private readonly TResult _result; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ValueTask(TResult result) { } + + public ValueTask(Sources.IValueTaskSource source, short token) { } + + public ValueTask(Task task) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + + public bool IsCompletedSuccessfully { get { throw null; } } + + public bool IsFaulted { get { throw null; } } + + public TResult Result { get { throw null; } } + + public readonly Task AsTask() { throw null; } + + public readonly Runtime.CompilerServices.ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + + public override readonly bool Equals(object obj) { throw null; } + + public readonly bool Equals(ValueTask other) { throw null; } + + public readonly Runtime.CompilerServices.ValueTaskAwaiter GetAwaiter() { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ValueTask left, ValueTask right) { throw null; } + + public static bool operator !=(ValueTask left, ValueTask right) { throw null; } + + public readonly ValueTask Preserve() { throw null; } + + public override readonly string ToString() { throw null; } + } +} + +namespace System.Threading.Tasks.Sources +{ + public partial interface IValueTaskSource + { + void GetResult(short token); + ValueTaskSourceStatus GetStatus(short token); + void OnCompleted(Action continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags); + } + + public partial interface IValueTaskSource + { + TResult GetResult(short token); + ValueTaskSourceStatus GetStatus(short token); + void OnCompleted(Action continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags); + } + + [Flags] + public enum ValueTaskSourceOnCompletedFlags + { + None = 0, + UseSchedulingContext = 1, + FlowExecutionContext = 2 + } + + public enum ValueTaskSourceStatus + { + Pending = 0, + Succeeded = 1, + Faulted = 2, + Canceled = 3 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/lib/netstandard2.1/_._ b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/lib/netstandard2.1/_._ new file mode 100755 index 0000000000..e69de29bb2 diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/system.threading.tasks.extensions.nuspec b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/system.threading.tasks.extensions.nuspec new file mode 100644 index 0000000000..4cab61fc0c --- /dev/null +++ b/src/referencePackages/src/system.threading.tasks.extensions/4.6.3/system.threading.tasks.extensions.nuspec @@ -0,0 +1,22 @@ + + + + System.Threading.Tasks.Extensions + 4.6.3 + Microsoft + true + MIT + https://licenses.nuget.org/MIT + https://github.com/dotnet/maintenance-packages + System.Threading.Tasks.Extensions + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + \ No newline at end of file