Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -62,12 +62,10 @@ namespace System
Collect (generation);
}
#if NET_4_5
[MonoDocumentationNote ("mode and blocking parameters ignored")]
public static void Collect (int generation, GCCollectionMode mode, bool blocking) {
Collect (generation);
}
#endif
[MethodImplAttribute (MethodImplOptions.InternalCall)]
public extern static int GetGeneration (object obj);
@ -112,7 +110,6 @@ namespace System
RecordPressure (-bytesAllocated);
}
#if NET_4_0
[PermissionSetAttribute (SecurityAction.LinkDemand, Name = "FullTrust")]
[MonoTODO]
public static GCNotificationStatus WaitForFullGCApproach () {
@ -150,9 +147,7 @@ namespace System
public static void CancelFullGCNotification () {
throw new NotImplementedException ();
}
#endif
#if NET_4_0
[MethodImplAttribute (MethodImplOptions.InternalCall)]
internal extern static void register_ephemeron_array (Ephemeron[] array);
@ -160,6 +155,5 @@ namespace System
extern static object get_ephemeron_tombstone ();
internal static readonly object EPHEMERON_TOMBSTONE = get_ephemeron_tombstone ();
#endif
}
}