projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* MonoTouch/MonoPInvokeCallbackAttribute.cs: Added.
[mono.git]
/
mcs
/
mcs
/
generic.cs
diff --git
a/mcs/mcs/generic.cs
b/mcs/mcs/generic.cs
index a496b490f31c2246bba04d6d6579e5081ad89a8a..999d6d9bbaaa0ac7a075fcf00b3ad1451aec7fdc 100644
(file)
--- a/
mcs/mcs/generic.cs
+++ b/
mcs/mcs/generic.cs
@@
-1555,7
+1555,7
@@
namespace Mono.CSharp {
if (!gc.HasConstructorConstraint)
return true;
- if (TypeManager.Is
BuiltinType (atype) || TypeManager.Is
ValueType (atype))
+ if (TypeManager.IsValueType (atype))
return true;
if (HasDefaultConstructor (atype))