diff options
author | Zoltan Varga <vargaz@gmail.com> | 2013-03-07 23:45:37 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2013-03-08 05:33:29 +0400 |
commit | c1466ee2ff71faf8cb9eeb053962e33340e8ea47 (patch) | |
tree | 45d0b6cd41b7ab0bfb0bf141e1d1e0d2ee84da40 | |
parent | 565e78a45c3e38ef19afdf2b1900d6f388177f13 (diff) |
Fix the mobile mscorlib build.
-rw-r--r-- | mcs/class/corlib/System/Type.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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<Guid, Type> 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) |