[generator] Add IKVM usings pointing to IKVM types instead of reflection types.

This commit is contained in:
Rolf Bjarne Kvinge 2017-02-23 10:22:43 +01:00
Родитель 4582a2cd01
Коммит 93569ecd5a
9 изменённых файлов: 46 добавлений и 0 удалений

Просмотреть файл

@ -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;