From c1466ee2ff71faf8cb9eeb053962e33340e8ea47 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Thu, 7 Mar 2013 20:45:37 +0100 Subject: Fix the mobile mscorlib build. --- mcs/class/corlib/System/Type.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mcs/class/corlib/System/Type.cs b/mcs/class/corlib/System/Type.cs index fa00059425a..b07e088c684 100644 --- a/mcs/class/corlib/System/Type.cs +++ b/mcs/class/corlib/System/Type.cs @@ -740,7 +740,9 @@ namespace System { #if !FULL_AOT_RUNTIME private static Dictionary clsid_types; +#if !FULL_AOT_RUNTIME private static AssemblyBuilder clsid_assemblybuilder; +#endif [MonoTODO("COM servers only work on Windows")] public static Type GetTypeFromCLSID (Guid clsid) @@ -763,6 +765,7 @@ namespace System { [MonoTODO("COM servers only work on Windows")] public static Type GetTypeFromCLSID (Guid clsid, string server, bool throwOnError) { +#if !FULL_AOT_RUNTIME Type result; if (clsid_types == null) @@ -809,6 +812,9 @@ namespace System { return result; } +#else + throw new NotImplementedException (); +#endif } #endif public static Type GetTypeFromHandle (RuntimeTypeHandle handle) -- cgit v1.2.3