[Foundation] Remove the NSObject.[MonoTouchAssembly|MonoMacAssembly] fields in .NET. (#13681)
They're deprecated, because there's a better alternative (NSObject.PlatformAssembly).
This commit is contained in:
Родитель
10ad084ec3
Коммит
32561da563
|
@ -18,7 +18,7 @@ namespace Foundation {
|
|||
{
|
||||
#if !COREBUILD
|
||||
|
||||
#if !XAMCORE_4_0 && !WATCH
|
||||
#if !NET && !WATCH
|
||||
[Obsolete ("Use 'PlatformAssembly' for easier code sharing across platforms.")]
|
||||
public readonly static Assembly MonoTouchAssembly = typeof (NSObject).Assembly;
|
||||
#endif
|
||||
|
|
|
@ -111,7 +111,7 @@ namespace Foundation {
|
|||
static IntPtr un = Dlfcn.dlopen (Constants.UserNotificationsLibrary, 1);
|
||||
static IntPtr il = Dlfcn.dlopen (Constants.iTunesLibraryLibrary, 1);
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Obsolete ("Use PlatformAssembly for easier code sharing across platforms.")]
|
||||
public static readonly Assembly MonoMacAssembly = typeof (NSObject).Assembly;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче