You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@ -51,7 +51,7 @@ namespace System {
|
||||
using System.Diagnostics.Contracts;
|
||||
|
||||
[Pure]
|
||||
internal static class ThrowHelper {
|
||||
internal static partial class ThrowHelper {
|
||||
internal static void ThrowArgumentOutOfRangeException() {
|
||||
ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
|
||||
}
|
||||
@ -76,6 +76,7 @@ namespace System {
|
||||
throw new ArgumentException(Environment.GetResourceString(GetResourceName(resource)), GetArgumentName(argument));
|
||||
}
|
||||
|
||||
#if !MONO
|
||||
internal static void ThrowArgumentNullException(ExceptionArgument argument) {
|
||||
throw new ArgumentNullException(GetArgumentName(argument));
|
||||
}
|
||||
@ -83,6 +84,7 @@ namespace System {
|
||||
internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument) {
|
||||
throw new ArgumentOutOfRangeException(GetArgumentName(argument));
|
||||
}
|
||||
#endif
|
||||
|
||||
internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) {
|
||||
|
||||
@ -468,6 +470,12 @@ namespace System {
|
||||
options,
|
||||
view,
|
||||
sourceBytesToCopy,
|
||||
#if MONO
|
||||
start,
|
||||
pointer,
|
||||
ownedMemory,
|
||||
text,
|
||||
#endif
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user