DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.0.0-beta.8" />

.NET API 413,656 bytes

 ExceptionMessages

static class ExceptionMessages
using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; namespace DotNext { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [ExcludeFromCodeCoverage] internal static class ExceptionMessages { private static readonly ResourceManager Resources = new ResourceManager("DotNext.ExceptionMessages", Assembly.GetExecutingAssembly()); internal static string OptionalNoValue => Resources.GetString("OptionalNoValue"); internal static string OptionalNullValue => Resources.GetString("OptionalNullValue"); internal static string InvalidUserDataSlot => Resources.GetString("InvalidUserDataSlot"); internal static string IndexShouldBeZero => Resources.GetString("IndexShouldBeZero"); internal static string CastNullToValueType => Resources.GetString("CastNullToValueType"); internal static string UnsupportedLockAcquisition => Resources.GetString("UnsupportedLockAcquisition"); internal static string UnreachableCodeDetected => Resources.GetString("UnreachableCodeDetected"); internal static string ConcreteDelegateExpected => Resources.GetString("ConcreteDelegateExpected"); internal static string InvalidExpressionTree => Resources.GetString("InvalidExpressionTree"); internal static string UnknownHashAlgorithm => Resources.GetString("UnknownHashAlgorithm"); internal static string NotEnoughMemory => Resources.GetString("NotEnoughMemory"); internal static string EmptyBuffer => Resources.GetString("EmptyBuffer"); internal static string MalformedBase64 => Resources.GetString("MalformedBase64"); internal static string UndefinedValueDetected => Resources.GetString("UndefinedValueDetected"); internal static string UndefinedEqualsNullSwitchEnabled => Resources.GetString("UndefinedEqualsNullSwitchEnabled"); internal static string KeyAlreadyExists => Resources.GetString("KeyAlreadyExists"); internal static string ObjectMustNotBeArray => Resources.GetString("ObjectMustNotBeArray"); [System.Runtime.CompilerServices.NullableContext(0)] [return: System.Runtime.CompilerServices.Nullable(1)] internal static string BoxedValueTypeExpected<T>() where T : struct { return string.Format(Resources.GetString("BoxedValueTypeExpected"), typeof(T)); } internal static string ResourceEntryIsNull(string name) { return string.Format(Resources.GetString("ResourceEntryIsNull"), name); } internal static string InvalidHexInput(char ch) { return string.Format(Resources.GetString("InvalidHexInput"), ch); } } }