[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;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using XamCore.ObjCRuntime;
|
using XamCore.ObjCRuntime;
|
||||||
using XamCore.Registrar;
|
using XamCore.Registrar;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,12 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
using XamCore.Foundation;
|
using XamCore.Foundation;
|
||||||
|
|
|
@ -27,7 +27,12 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
|
|
||||||
public static class AttributeManager
|
public static class AttributeManager
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -3,7 +3,12 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using XamCore.Foundation;
|
using XamCore.Foundation;
|
||||||
using XamCore.ObjCRuntime;
|
using XamCore.ObjCRuntime;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
// Copyright 2015 Xamarin Inc. All rights reserved.
|
// Copyright 2015 Xamarin Inc. All rights reserved.
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
|
|
||||||
using XamCore.Foundation;
|
using XamCore.Foundation;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
public static class TypeManager {
|
public static class TypeManager {
|
||||||
|
|
|
@ -45,7 +45,12 @@ using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
#if IKVM
|
||||||
|
using IKVM.Reflection;
|
||||||
|
using Type = IKVM.Reflection.Type;
|
||||||
|
#else
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#endif
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче