From d654e92004778029dbd2a850d7a885b0f404bfb2 Mon Sep 17 00:00:00 2001 From: jbevain Date: Tue, 25 May 2010 13:37:35 +0000 Subject: [PATCH] 2010-05-25 Jb Evain * MemoryMappedFile.cs: make some helper methods private. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@157847 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/System.Core/System.IO.MemoryMappedFiles/ChangeLog | 4 ++++ class/System.Core/System.IO.MemoryMappedFiles/MemoryMappedFile.cs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/class/System.Core/System.IO.MemoryMappedFiles/ChangeLog b/class/System.Core/System.IO.MemoryMappedFiles/ChangeLog index 538dabde21..54d6d6af92 100644 --- a/class/System.Core/System.IO.MemoryMappedFiles/ChangeLog +++ b/class/System.Core/System.IO.MemoryMappedFiles/ChangeLog @@ -1,5 +1,9 @@ 2010-05-25 Jb Evain + * MemoryMappedFile.cs: make some helper methods private. + +2010-05-25 Jb Evain + * MemoryMappedFileSecurity.cs: ifdef for NET_4_0. 2010-04-15 Jb Evain diff --git a/class/System.Core/System.IO.MemoryMappedFiles/MemoryMappedFile.cs b/class/System.Core/System.IO.MemoryMappedFiles/MemoryMappedFile.cs index 346ca16c31..7803178c00 100644 --- a/class/System.Core/System.IO.MemoryMappedFiles/MemoryMappedFile.cs +++ b/class/System.Core/System.IO.MemoryMappedFiles/MemoryMappedFile.cs @@ -164,7 +164,7 @@ namespace System.IO.MemoryMappedFiles }; } - public static void ConfigureUnixFD (IntPtr handle, HandleInheritability h) + static void ConfigureUnixFD (IntPtr handle, HandleInheritability h) { // TODO: Mono.Posix is lacking O_CLOEXEC definitions for fcntl. } @@ -172,7 +172,7 @@ namespace System.IO.MemoryMappedFiles [DllImport("kernel32.dll", SetLastError = true)] static extern bool SetHandleInformation (IntPtr hObject, int dwMask, int dwFlags); - public static void ConfigureWindowsFD (IntPtr handle, HandleInheritability h) + static void ConfigureWindowsFD (IntPtr handle, HandleInheritability h) { SetHandleInformation (handle, 1 /* FLAG_INHERIT */, h == HandleInheritability.None ? 0 : 1); } -- 2.11.4.GIT