System.GC.RemoveMemoryPressure C# (CSharp) Метод

RemoveMemoryPressure() приватный Метод

private RemoveMemoryPressure ( long bytesAllocated ) : void
bytesAllocated long
Результат void
        public static void RemoveMemoryPressure (long bytesAllocated) {
            if( bytesAllocated <= 0) {
                throw new ArgumentOutOfRangeException("bytesAllocated", 
                        Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum"));
            }

            if( (4 == IntPtr.Size)  && (bytesAllocated > Int32.MaxValue) ) {
                throw new ArgumentOutOfRangeException("bytesAllocated", 
                        Environment.GetResourceString("ArgumentOutOfRange_MustBeNonNegInt32"));
            }

            nativeRemoveMemoryPressure((ulong) bytesAllocated);
        }