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