diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-03-22 01:40:25 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-03-22 01:40:25 +0300 |
commit | 7a4048598ad26e3d8f76d1f74ad6b77fc3fbbabf (patch) | |
tree | 9efffadff9cb67e693e6c7c944cbd1ddd5489d5a /mcs/gmcs/typemanager.cs | |
parent | cd1e486cace10983cb348def4d46eb46a34bab0b (diff) |
manually synchronized with 56802
svn path=/trunk/mcs/; revision=58266
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r-- | mcs/gmcs/typemanager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs index 58f1c722cad..8cd99af71b6 100644 --- a/mcs/gmcs/typemanager.cs +++ b/mcs/gmcs/typemanager.cs @@ -1480,6 +1480,10 @@ public partial class TypeManager { if (builder_to_declspace [t] is Enum) return true; +#if MS_COMPATIBLE + if (t.IsGenericParameter) + return false; +#endif return t.IsEnum; } |