Exemplo n.º 1
0
 internal static void ThrowArgumentOutOfRangeException(
     ExceptionArgument argument,
     int paramNumber,
     ExceptionResource resource)
 {
     throw ThrowHelper.GetArgumentOutOfRangeException(argument, paramNumber, resource);
 }
Exemplo n.º 2
0
 internal static void ThrowCountArgumentOutOfRange_ArgumentOutOfRange_Count() => throw ThrowHelper.GetArgumentOutOfRangeException(ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_Count);
Exemplo n.º 3
0
 internal static void ThrowStartIndexArgumentOutOfRange_ArgumentOutOfRange_Index() => throw ThrowHelper.GetArgumentOutOfRangeException(ExceptionArgument.startIndex, ExceptionResource.ArgumentOutOfRange_Index);
Exemplo n.º 4
0
 internal static void ThrowLengthArgumentOutOfRange_ArgumentOutOfRange_NeedNonNegNum() => throw ThrowHelper.GetArgumentOutOfRangeException(ExceptionArgument.length, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
Exemplo n.º 5
0
 internal static void ThrowValueArgumentOutOfRange_NeedNonNegNumException() => throw ThrowHelper.GetArgumentOutOfRangeException(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);