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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs
index ed7e96527a1..bd35c08908c 100644
--- a/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs
@@ -143,7 +143,7 @@ namespace System.Reflection.Emit {
if ((action == SecurityAction.RequestMinimum) ||
(action == SecurityAction.RequestOptional) ||
(action == SecurityAction.RequestRefuse))
- throw new ArgumentOutOfRangeException ("Request* values are not permitted", "action");
+ throw new ArgumentException ("Request* values are not permitted", "action");
RejectIfCreated ();