API Diff between 4.6.0 and 4.0.0-beta.1
357 Additions
35 Removals
DotNext
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public static int GetHashCode(ref T value, int hash, method hashFunction, bool salted = true)
- public static int GetHashCode<THashFunction>(ref T value, bool salted = true) where THashFunction : struct, IConsumer<int>, ISupplier<int>
-
public abstract class CharComparer : IEqualityComparer<char>, IComparer<char>
-
public static class DelegateHelpers
-
public abstract class Disposable : IDisposable
-
public static class EnumConverter
-
public interface IOptionMonad<T> : ISupplier<object>
-
public interface IOptionMonad<T, TSelf> : IOptionMonad<T>, ISupplier<object> where TSelf : struct, IOptionMonad<T, TSelf>
-
public interface IResultMonad<T, TError> : IOptionMonad<T>, ISupplier<object>
-
public interface IResultMonad<T, TError, TSelf> : IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, TSelf> where TSelf : struct, IResultMonad<T, TError, TSelf>
-
public static class OneDimensionalArray
- public static int BitwiseHashCode<T>(this T[] array, int hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T, THashFunction>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static long BitwiseHashCode64<T>(this T[] array, long hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T, THashFunction>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static void InstantiateElements<T>(this T[] array)
- public static bool IsNullOrEmpty<T>(this T[] array)
- public static T[] Insert<T>(this T[] array, T element, Index index)
- public static bool IsNullOrEmpty(this Array array)
- public static T[] RemoveAt<T>(this T[] array, Index index)
-
public static class Optional
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, IOptionMonad<T, Optional<T>>, IOptionMonad<T>, ISupplier<object>
-
public static class Result
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T>(ref Result result)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T, TError>(ref Result result) where TError : struct, Enum
- public static T? OrNull<T, TError>(this ref Result result) where T : struct where TError : struct, Enum
-
public struct Result<T, TError> : IResultMonad<T, TError, Result<T, TError>>, IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, Result<T, TError>> where TError : struct, Enum
-
public static class Span
- public static int BitwiseHashCode<T>(this Span<T> span, int hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T, THashFunction>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static int BitwiseHashCode<T>(this ReadOnlySpan<T> span, int hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T, THashFunction>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static long BitwiseHashCode64<T>(this Span<T> span, long hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T, THashFunction>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static long BitwiseHashCode64<T>(this ReadOnlySpan<T> span, long hash, method hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T, THashFunction>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static MemoryOwner<char> Concat(ReadOnlySpan<string> values, MemoryAllocator<char> allocator = null)
- public static ReadOnlySpan<TBase> Contravariance<T, TBase>(this ReadOnlySpan<T> span) where T : TBase
- public static Optional<T> FirstOrNone<T>(this ReadOnlySpan<T> span)
- public static Optional<T> FirstOrNone<T>(this ReadOnlySpan<T> span, Predicate<T> filter)
- public static void Initialize<T>(this Span<T> span)
- public static Optional<T> LastOrNone<T>(this ReadOnlySpan<T> span)
-
public sealed class UndefinedResultException<TError> : Exception where TError : struct, Enum
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public struct UserDataStorage
DotNext.Buffers
-
public static class BufferHelpers
- public static void Concat(this ref BufferWriterSlim writer, ReadOnlySpan<string> values)
- public static void Concat(this IBufferWriter<char> writer, ReadOnlySpan<string> values)
- public static Half ReadHalf(this ref SpanReader reader, bool isLittleEndian)
- public static ReadOnlySequence<char> ToReadOnlySequence(this IEnumerable<string> strings)
- public static int WriteAsString<T>(this ref BufferWriterSlim writer, T value, string format = null, IFormatProvider provider = null)
- public static int WriteAsString<T>(this IBufferWriter<char> writer, T value, string format = null, IFormatProvider provider = null)
- public static void WriteFormattable<T>(this ref BufferWriterSlim writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static int WriteFormattable<T>(this ref BufferWriterSlim writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static void WriteFormattable<T>(this IBufferWriter<char> writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static int WriteFormattable<T>(this IBufferWriter<char> writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static void WriteHalf(this ref SpanWriter writer, Half value, bool isLittleEndian)
-
public struct BufferWriterSlim<T>
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, ISupplier<ReadOnlyMemory<T>>
-
public sealed class PooledArrayBufferWriter<T> : BufferWriter<T>, ISupplier<ArraySegment<T>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public sealed class PooledBufferWriter<T> : BufferWriter<T>, IMemoryOwner<T>, IDisposable
-
public struct PoolingInterpolatedStringHandler : IGrowableBuffer<char>, IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IDisposable
-
public static class ReadOnlySequencePartitioner
-
public struct SpanWriter<T>
- public void Write<TArg>(method action, TArg arg, int count)
- public void Write<TArg>(method action, TArg arg, int count)
-
public class SparseBufferWriter<T> : Disposable, IEnumerable<ReadOnlyMemory<T>>, IEnumerable, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable, ISupplier<ReadOnlySequence<T>>, IBufferWriter<T>
DotNext.Collections.Generic
DotNext.Collections.Specialized
DotNext.Diagnostics
DotNext.Numerics
DotNext.Reflection
DotNext.Runtime
-
public sealed class BoxedValue<T> where T : struct
-
public abstract class GCNotification
-
public static class Intrinsics
- public static void ClearBits(Void* address, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static void ClearBits(Void* address, IntPtr length)
- public static int Compare(Void* first, Void* second, IntPtr length)
- public static bool Equals(Void* first, Void* second, long length)
- public static bool Equals(Void* first, Void* second, IntPtr length)
- public static void Finalize(object obj)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32<THashFunction>(Void* source, long length, int hash, THashFunction hashFunction, bool salted = true) where THashFunction : struct, ISupplier<int, int, int>
- public static int GetHashCode32(Void* source, long length, bool salted = true)
- public static int GetHashCode32(Void* source, IntPtr length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32<THashFunction>(Void* source, IntPtr length, bool salted = true) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static int GetHashCode32(Void* source, IntPtr 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<THashFunction>(Void* source, long length, long hash, THashFunction hashFunction, bool salted = true) where THashFunction : struct, ISupplier<long, long, long>
- public static long GetHashCode64(Void* source, long length, bool salted = true)
- public static long GetHashCode64(Void* source, IntPtr length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64<THashFunction>(Void* source, IntPtr length, bool salted = true) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static long GetHashCode64(Void* source, IntPtr length, bool salted = true)
- public static bool HasFinalizer(object obj)
-
public sealed class SoftReference<T> : IOptionMonad<T>, ISupplier<object>
-
public class SoftReferenceOptions
-
public enum SoftReferenceState
DotNext.Runtime.Caching
-
public enum CacheEvictionPolicy
-
public class ConcurrentCache<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TValue>>
- public int Count { get; }
- public Action<TKey, TValue> Eviction { get; set; }
- public bool ExecuteEvictionAsynchronously { get; set; }
- public TValue this[TKey key] { get; set; }
- public ConcurrentCache(int capacity, int concurrencyLevel, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public ConcurrentCache(int capacity, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public TValue AddOrUpdate(TKey key, TValue value, out bool added)
- public void Clear()
- public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
- public TValue GetOrAdd(TKey key, TValue value, out bool added)
- public bool TryAdd(TKey key, TValue value)
- public bool TryGetValue(TKey key, out TValue value)
- public bool TryRemove(TKey key, out TValue value)
- public bool TryRemove(KeyValuePair<TKey, TValue> pair)
- public bool TryUpdate(TKey key, TValue newValue, TValue expectedValue)
DotNext.Runtime.CompilerServices
DotNext.Text
-
public struct Base64Decoder
-
public struct Base64Encoder
- public const int MaxBufferedDataSize = 2
- public const int MaxCharsToFlush = 4
- public const int MaxInputSize = 1610612733
- public int BufferedDataSize { get; }
- public bool HasBufferedData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<char>> EncodeToCharsAsync(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<char> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> EncodeToUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, IBufferWriter<char> output, bool flush = false)
- public MemoryOwner<char> EncodeToChars(ReadOnlySpan<byte> bytes, MemoryAllocator<char> allocator = null, bool flush = false)
- public void EncodeToChars<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<char>
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<char, TArg> output, TArg arg, bool flush = false)
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, TextWriter output, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, StringBuilder output, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, IBufferWriter<byte> output, bool flush = false)
- public MemoryOwner<byte> EncodeToUtf8(ReadOnlySpan<byte> bytes, MemoryAllocator<byte> allocator = null, bool flush = false)
- public void EncodeToUtf8<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<byte>
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<byte, TArg> output, TArg arg, bool flush = false)
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, Stream output, bool flush = false)
- public int Flush(Span<char> output)
- public int Flush(Span<byte> output)
- public int GetBufferedData(Span<byte> output)
- public void Reset()
-
public static class InterpolatedString
-
public struct StringBuilderConsumer : IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IEquatable<StringBuilderConsumer>
DotNext.Text.Json
DotNext.Threading
-
public static class AtomicDouble
- public static double Add(this ref double value, double operand)
- public static double AddAndGet(this ref double value, double operand)
- public static double GetAndAdd(this ref double value, double operand)
-
public static class AtomicInt32
- public static int Add(this ref int value, int operand)
- public static int AddAndGet(this ref int value, int operand)
- public static int BitwiseAndAndGet(this ref int value, int operand)
- public static int BitwiseOrAndGet(this ref int value, int operand)
- public static int BitwiseXorAndGet(this ref int value, int operand)
- public static int GetAndAdd(this ref int value, int operand)
- public static int GetAndBitwiseAnd(this ref int value, int operand)
- public static int GetAndBitwiseOr(this ref int value, int operand)
- public static int GetAndBitwiseXor(this ref int value, int operand)
-
public static class AtomicInt64
- public static long Add(this ref long value, long operand)
- public static long AddAndGet(this ref long value, long operand)
- public static long BitwiseAndAndGet(this ref long value, long operand)
- public static long BitwiseOrAndGet(this ref long value, long operand)
- public static long BitwiseXorAndGet(this ref long value, long operand)
- public static long GetAndAdd(this ref long value, long operand)
- public static long GetAndBitwiseAnd(this ref long value, long operand)
- public static long GetAndBitwiseOr(this ref long value, long operand)
- public static long GetAndBitwiseXor(this ref long value, long operand)
-
public static class AtomicIntPtr
- public static IntPtr Add(this ref IntPtr value, IntPtr operand)
- public static IntPtr AddAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseAndAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseOrAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseXorAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndAdd(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseAnd(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseOr(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseXor(this ref IntPtr value, IntPtr operand)
-
public static class AtomicSingle
- public static float Add(this ref float value, float operand)
- public static float AddAndGet(this ref float value, float operand)
- public static float GetAndAdd(this ref float value, float operand)
-
public static class AtomicUInt32
- public static uint Add(this ref uint value, uint operand)
- public static uint AddAndGet(this ref uint value, uint operand)
- public static uint BitwiseAndAndGet(this ref uint value, uint operand)
- public static uint BitwiseOrAndGet(this ref uint value, uint operand)
- public static uint BitwiseXorAndGet(this ref uint value, uint operand)
- public static uint GetAndAdd(this ref uint value, uint operand)
- public static uint GetAndBitwiseAnd(this ref uint value, uint operand)
- public static uint GetAndBitwiseOr(this ref uint value, uint operand)
- public static uint GetAndBitwiseXor(this ref uint value, uint operand)
-
public static class AtomicUInt64
- public static ulong Add(this ref ulong value, ulong operand)
- public static ulong AddAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseAndAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseOrAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseXorAndGet(this ref ulong value, ulong operand)
- public static ulong GetAndAdd(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseAnd(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseOr(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseXor(this ref ulong value, ulong operand)
-
public struct Timeout
DotNext.Threading.Tasks
-
public static class Synchronization
- public static Task<ValueTuple<T1, T2>> WhenAll<T1, T2>(Task<T1> task1, Task<T2> task2)
- public static Task<ValueTuple<T1, T2, T3>> WhenAll<T1, T2, T3>(Task<T1> task1, Task<T2> task2, Task<T3> task3)
- public static Task<ValueTuple<T1, T2, T3, T4>> WhenAll<T1, T2, T3, T4>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4)
- public static Task<ValueTuple<T1, T2, T3, T4, T5>> WhenAll<T1, T2, T3, T4, T5>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4, Task<T5> task5)
- public static Result<TResult>? TryGetResult<TResult>(this Task<TResult> task)
- public static Task<ValueTuple<Result<T1>, Result<T2>>> WhenAll<T1, T2>(Task<T1> task1, Task<T2> task2)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>>> WhenAll<T1, T2, T3>(Task<T1> task1, Task<T2> task2, Task<T3> task3)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>>> WhenAll<T1, T2, T3, T4>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>, Result<T5>>> WhenAll<T1, T2, T3, T4, T5>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4, Task<T5> task5)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>>> WhenAll<T1, T2>(ValueTask<T1> task1, ValueTask<T2> task2)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>>> WhenAll<T1, T2, T3>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3, ValueTask task4)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>>> WhenAll<T1, T2, T3, T4>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3, ValueTask<T4> task4)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3, ValueTask task4, ValueTask task5)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>, Result<T5>>> WhenAll<T1, T2, T3, T4, T5>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3, ValueTask<T4> task4, ValueTask<T5> task5)