Merge pull request #1375 from echampet/cleanup
[mono.git] / mcs / class / System / ReferenceSources / Win32Exception.cs
1 using System.Runtime.CompilerServices;
2
3 namespace System.ComponentModel
4 {
5         partial class Win32Exception
6         {
7                 [MethodImplAttribute (MethodImplOptions.InternalCall)]
8                 internal static extern string W32ErrorMessage (int error_code);
9
10                 private static string GetErrorMessage (int error)
11                 {
12                         return W32ErrorMessage (error);
13                 }
14         }
15 }