Procházet zdrojové kódy

2010-05-25 Jb Evain <[email protected]>

	* MemoryMappedFile.cs: make some helper methods private.


svn path=/trunk/mcs/; revision=157847
Jb Evain před 15 roky
rodič
revize
67cb3134c4

+ 4 - 0
mcs/class/System.Core/System.IO.MemoryMappedFiles/ChangeLog

@@ -1,3 +1,7 @@
+2010-05-25  Jb Evain  <[email protected]>
+
+	* MemoryMappedFile.cs: make some helper methods private.
+
 2010-05-25  Jb Evain  <[email protected]>
 
 	* MemoryMappedFileSecurity.cs: ifdef for NET_4_0.

+ 2 - 2
mcs/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);
 		}