From 9c7b4038d3243cfc48eb5eb9b7f910677f2efdc5 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Thu, 27 Jul 2017 10:38:15 +0200 Subject: [PATCH] [mcs] Another workaround for enum builder SRE crash (this time on Mono) --- mcs/mcs/enum.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mcs/mcs/enum.cs b/mcs/mcs/enum.cs index 8a288402330..f124338ba55 100644 --- a/mcs/mcs/enum.cs +++ b/mcs/mcs/enum.cs @@ -42,6 +42,12 @@ namespace Mono.CSharp { return underlyingType; } + + public override Type UnderlyingSystemType { + get { + return underlyingType; + } + } } #endif -- 2.25.1