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 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 InvalidMethodSignature => Resources.GetString("CannotMakeMethodPointer");
internal static string UnsupportedMethodPointerType => Resources.GetString("UnsupportedMethodPointerType");
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");
[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));
}
}
}