API Diff between 1.2.9 and 2.2.0
144 Additions
86 Removals
DotNext
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public static int Compare<G>(ref T first, ref G second) where G : struct
- public static bool Equals<G>(ref T first, ref G second) where G : struct
- public static int GetHashCode(ref T value, bool salted = true)
- public static int GetHashCode(ref T value, int hash, ref ValueFunc hashFunction, bool salted)
- public static int GetHashCode(ref T value, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int Compare<G>(T first, G second) where G : struct
- public static bool Equals<G>(T first, G second) where G : struct
- public static int GetHashCode(T value, bool salted = true)
- public static int GetHashCode(T value, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode(T value, int hash, ref ValueFunc hashFunction, bool salted = true)
-
public static class Comparable
- public static bool Between<T>(this T value, T left, T right, BoundType boundType = 0) where T : IComparable<T>
- public static T Clamp<T>(this T value, T min, T max) where T : IComparable<T>
- public static T Max<T>(T first, T second, Comparison<T> comparer)
- public static T Max<T>(T first, T second, IComparer<T> comparer)
- public static T Max<T>(this T first, T second) where T : IComparable<T>
- public static T Min<T>(T first, T second, Comparison<T> comparer)
- public static T Min<T>(T first, T second, IComparer<T> comparer)
- public static T Min<T>(this T first, T second) where T : IComparable<T>
-
public static class Comparison
-
public abstract class Disposable : IDisposable
-
public struct Enum<E> : IEquatable<E>, IComparable<E>, IFormattable, IEquatable<Enum<E>>, ISerializable where E : struct, Enum
-
public struct EnumerableTuple<I, T> : IReadOnlyList<I>, IEnumerable<I>, IEnumerable, IReadOnlyCollection<I> where T : IStructuralEquatable, IStructuralComparable
-
public interface ICallable
-
public interface IConvertible<T>
-
public static class OneDimensionalArray
- public static T[] Concat<T>(this T[] left, T[] right, long startIndex)
- public static bool SequenceEqual(this object[] first, object[] second, bool parallel = false)
- public static bool SequenceEqual(this object[] first, object[] second)
- public static ArraySegment<T> Slice<T>(this T[] input, ref Range range)
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, ISerializable
-
public static class RandomExtensions
-
public struct Result<T> : ISerializable
-
public static class Sequence
-
public static class Span
-
public static class StringExtensions
-
public struct UserDataStorage
-
public static class ValueTypeExtensions
- public static IntPtr Remainder(this IntPtr x, IntPtr y)
- public static UIntPtr Remainder(this UIntPtr x, UIntPtr y)
- public static int Truncate(this long value)
- public static bool TryGetValue<T>(this T? nullable, out T value) where T : struct
- public static bool TryGet<T>(this ref Nullable nullable, out T value) where T : struct
DotNext.Buffers
DotNext.Collections.Concurrent
-
public class CopyOnWriteList<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IList<T>, ICollection<T>, ICloneable
- public struct Enumerator<T> : IEnumerator<T>, IEnumerator, IDisposable
- public long Count { get; }
- public T this[long index] { get; set; }
- public ReadOnlyMemory<T> Snapshot { get; }
- public CopyOnWriteList(IReadOnlyCollection<T> collection)
- public CopyOnWriteList()
- public static ReadOnlySpan<T> op_Explicit(CopyOnWriteList<T> list)
- public void Add(T item)
- public void Clear()
- public void Clear(ref ValueAction cleaner)
- public void Clear(Action<T> cleaner)
- public CopyOnWriteList<T> Clone()
- public bool Contains(T item)
- public void CopyTo(T[] array, int arrayIndex)
- public bool Exists(Predicate<T> match)
- public T Find(Predicate<T> match)
- public int FindIndex(Predicate<T> match)
- public T FindLast(Predicate<T> match)
- public int FindLastIndex(Predicate<T> match)
- public Enumerator<T> GetEnumerator()
- public int IndexOf(T item)
- public void Insert(long index, T item)
- public int LastIndexOf(T item)
- public bool Remove(T item)
- public long RemoveAll(ValueFunc<T, bool> match)
- public long RemoveAll(Predicate<T> match)
- public void RemoveAll(ref ValueFunc match, ref ValueAction callback)
- public void RemoveAll(Predicate<T> match, Action<T> callback)
- public void RemoveAt(long index)
- public void Set(ReadOnlySpan<T> array)
- public void Set<G>(ICollection<G> items, ref ValueFunc converter)
- public void Set<G>(ICollection<G> items, Converter<G, T> converter)
DotNext.Collections.Generic
DotNext.Generic
DotNext.IO
-
public interface IFlushable
-
public static class StreamExtensions
- public static long CopyTo(this Stream source, Stream destination, byte[] buffer, CancellationToken token = default)
- public static Task<long> CopyToAsync(this Stream source, Stream destination, byte[] buffer, CancellationToken token = default)
- public static T Read<T>(this Stream stream, byte[] buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Task<T> ReadAsync<T>(this Stream stream, byte[] buffer, CancellationToken token = default) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static ReadOnlySpan<byte> ReadBytes(this Stream stream, int count, byte[] buffer)
- public static Task<ReadOnlyMemory<byte>> ReadBytesAsync(this Stream stream, int count, byte[] buffer, CancellationToken token = default)
- public static string ReadString(this Stream stream, int length, DecodingContext context, byte[] buffer)
- public static Task<string> ReadStringAsync(this Stream stream, int length, DecodingContext context, byte[] buffer, CancellationToken token = default)
- public static void Write<T>(this Stream stream, ref T value, byte[] buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Task WriteAsync<T>(this Stream stream, ref T value, byte[] buffer, CancellationToken token = default) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void WriteString(this Stream stream, string value, EncodingContext context, byte[] buffer)
- public static Task WriteStringAsync(this Stream stream, string value, EncodingContext context, byte[] buffer, CancellationToken token = default)
-
public sealed class StreamSegment : Stream
DotNext.Reflection
DotNext.Runtime
-
public static class Intrinsics
- public static IntPtr AddressOf<T>(ref T value)
- public static bool AreSame<T>(ref T first, ref T second)
- public static ref T AsRef<T>(TypedReference reference)
- public static void ClearBits(Void* address, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static void Copy<T>(ref T input, out T output) where T : struct
- public static void Copy<T>(T* input, T* output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T source, ref T destination, long count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void CopyUnaligned<T>(T* input, T* output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool Equals(Void* first, Void* second, long length)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, bool salted = true)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T>(T[] array, long index)
- public static O& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<I, O>(I[] array, long index) where I : O
- public static bool IsDefault<T>(ref T value)
- public static bool IsNull<T>(ref T value)
- public static bool IsDefault<T>(T value)
- public static void Reverse<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Swap<T>(ref T first, ref T second)
- public static void Swap<T>(T* first, T* second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ThrowIfNull<T>(ref T value)
DotNext.Runtime.InteropServices
-
public static class Memory
- public static IntPtr AddressOf<T>(ref T value)
- public static bool AreSame<T>(ref T first, ref T second)
- public static ref T AsRef<T>(this TypedReference reference)
- public static Span<byte> AsSpan<T>(T* pointer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ClearBits(IntPtr address, long length)
- public static void ClearBits(Void* address, long length)
- public static int Compare(IntPtr first, IntPtr second, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static void Copy(Void* source, Void* destination, long length)
- public static void Copy(IntPtr source, IntPtr destination, long length)
- public static void Copy<T>(ref T source, ref T destination, uint count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T input, out T output) where T : struct
- public static void Copy<T>(T* input, T* output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool Equals(Void* first, Void* second, long length)
- public static bool Equals(IntPtr first, IntPtr second, long length)
- public static int GetHashCode32(IntPtr source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32(IntPtr source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(IntPtr source, long length, bool salted = true)
- public static int GetHashCode32(Void* source, long length, bool salted = true)
- public static long GetHashCode64(IntPtr source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64(IntPtr source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(IntPtr source, long length, bool salted = true)
- public static long GetHashCode64(Void* source, long length, bool salted = true)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T>(this T[] array, long index)
- public static bool IsNull<T>(ref T value)
- public static T Read<T>(ref IntPtr source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static string ReadString(ref IntPtr source)
- public static T ReadUnaligned<T>(ref IntPtr source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Swap<T>(ref T first, ref T second)
- public static void Swap<T>(T* first, T* second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ThrowIfNull<T>(ref T value)
- public static T* ToPointer<T>(this IntPtr source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static T* ToPointer<T>(this UIntPtr source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Write<T>(ref IntPtr destination, T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void WriteString(ref IntPtr destination, ReadOnlySpan<char> str)
- public static void WriteString(ref IntPtr destination, string str)
- public static void WriteUnaligned<T>(ref IntPtr destination, T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
DotNext.Security.Cryptography
DotNext.Text
DotNext.Threading
DotNext.Threading.Tasks