diff options
author | Jb Evain <jb@evain.net> | 2017-01-28 05:38:46 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2017-02-13 21:02:22 +0300 |
commit | 2bdcd20c68be85e78fc50bf03fe1f4d42c632dc3 (patch) | |
tree | 6b7f9c592397d987e086e1b37abc5e62417e1538 /Mono | |
parent | 9bebff26c49c2a8518a18a0c780df230b5f0ce3b (diff) |
Improve argument checking
Diffstat (limited to 'Mono')
-rw-r--r-- | Mono/Empty.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mono/Empty.cs b/Mono/Empty.cs index 14589cc..de28e65 100644 --- a/Mono/Empty.cs +++ b/Mono/Empty.cs @@ -17,6 +17,14 @@ namespace Mono { public static readonly T [] Array = new T [0]; } + + class ArgumentNullOrEmptyException : ArgumentException { + + public ArgumentNullOrEmptyException (string paramName) + : base ("Argument null or empty", paramName) + { + } + } } namespace Mono.Cecil { |