[generator] Add IKVM usings pointing to IKVM types instead of reflection types.
This commit is contained in:
Родитель
4582a2cd01
Коммит
93569ecd5a
|
@ -30,7 +30,12 @@
|
|||
//
|
||||
using System;
|
||||
using System.Globalization;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using XamCore.ObjCRuntime;
|
||||
using XamCore.Registrar;
|
||||
|
||||
|
|
|
@ -22,7 +22,12 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using XamCore.Foundation;
|
||||
|
|
|
@ -27,7 +27,12 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
using System;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
public static class AttributeManager
|
||||
{
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
using System;
|
||||
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
|
|
|
@ -3,7 +3,12 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using XamCore.Foundation;
|
||||
using XamCore.ObjCRuntime;
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
// Copyright 2015 Xamarin Inc. All rights reserved.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
using XamCore.Foundation;
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
|
||||
using System;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public static class TypeManager {
|
||||
|
|
|
@ -45,7 +45,12 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
#if IKVM
|
||||
using IKVM.Reflection;
|
||||
using Type = IKVM.Reflection.Type;
|
||||
#else
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче