Merge pull request #735 from wtfrank/bitblt
[mono.git] / mcs / class / corlib / System.Reflection / MonoGenericClass.cs
index 9e6d28c61a9d8bbc578d64b830437983bf581e5f..c053a4bbfc3e5195a4c22577524ba73d810dd099 100644 (file)
@@ -31,6 +31,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System.Reflection;
 using System.Reflection.Emit;
 using System.Collections;
@@ -49,7 +50,12 @@ namespace System.Reflection
         * depends on them.
         */
        [StructLayout (LayoutKind.Sequential)]
-       internal class MonoGenericClass : Type
+       sealed class MonoGenericClass :
+#if NET_4_5
+               TypeInfo
+#else
+               Type
+#endif 
        {
                #region Keep in sync with object-internals.h
 #pragma warning disable 649
@@ -510,3 +516,4 @@ namespace System.Reflection
        }
 }
 
+#endif