[mcs] Another workaround for enum builder SRE crash (this time on Mono)
authorMarek Safar <marek.safar@gmail.com>
Thu, 27 Jul 2017 08:38:15 +0000 (10:38 +0200)
committerMarek Safar <marek.safar@gmail.com>
Thu, 27 Jul 2017 08:38:15 +0000 (10:38 +0200)
mcs/mcs/enum.cs

index 8a2884023300f0e50657440dc14f89829759a0d2..f124338ba558812c20521b9db4c026baf61b9a0a 100644 (file)
@@ -42,6 +42,12 @@ namespace Mono.CSharp
                        {
                                return underlyingType;
                        }
+
+                       public override Type UnderlyingSystemType {
+                               get {
+                                       return underlyingType;
+                               }
+                       }
                }
 #endif