Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Mono
diff options
context:
space:
mode:
authorJb Evain <jb@evain.net>2017-01-28 05:38:46 +0300
committerJb Evain <jb@evain.net>2017-02-13 21:02:22 +0300
commit2bdcd20c68be85e78fc50bf03fe1f4d42c632dc3 (patch)
tree6b7f9c592397d987e086e1b37abc5e62417e1538 /Mono
parent9bebff26c49c2a8518a18a0c780df230b5f0ce3b (diff)
Improve argument checking
Diffstat (limited to 'Mono')
-rw-r--r--Mono/Empty.cs8
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 {