[Foundation] Fix visibility of the constructors. (#3477)
Ideally this class should be generated, but the generator doesn't support creating these constructors as public (which is currently required to maintain binary compatibility).
This commit is contained in:
Родитель
c377144a57
Коммит
923af0589b
|
@ -50,9 +50,19 @@ namespace Foundation {
|
|||
|
||||
}
|
||||
|
||||
public NSAutoreleasePool (NSObjectFlag t) : base (t) {}
|
||||
#if XAMCORE_4_0
|
||||
protected
|
||||
#else
|
||||
public
|
||||
#endif
|
||||
NSAutoreleasePool (NSObjectFlag t) : base (t) {}
|
||||
|
||||
public NSAutoreleasePool (IntPtr handle) : base (handle) {}
|
||||
#if XAMCORE_4_0
|
||||
protected
|
||||
#else
|
||||
public
|
||||
#endif
|
||||
NSAutoreleasePool (IntPtr handle) : base (handle) {}
|
||||
|
||||
#if !XAMCORE_2_0
|
||||
protected override void Dispose (bool disposing) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче