projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-12-01 Jb Evain <jbevain@novell.com>
[mono.git]
/
mcs
/
class
/
corlib
/
System
/
Type.cs
diff --git
a/mcs/class/corlib/System/Type.cs
b/mcs/class/corlib/System/Type.cs
index bdf03a37b4967fe578485b89434f77986f28cd7c..5e3e0f9ef68b06ce67c23a684151a390badc4413 100644
(file)
--- a/
mcs/class/corlib/System/Type.cs
+++ b/
mcs/class/corlib/System/Type.cs
@@
-1301,6
+1301,8
@@
namespace System {
{
if (!IsSystemType)
throw new NotSupportedException ("Derived classes must provide an implementation.");
+ if (IsByRef)
+ throw new TypeLoadException ("Can not call MakeByRefType on a ByRef type");
return make_byref_type ();
}