1 using System.Runtime.CompilerServices;
3 namespace System.ComponentModel
5 partial class Win32Exception
7 [MethodImplAttribute (MethodImplOptions.InternalCall)]
8 internal static extern string W32ErrorMessage (int error_code);
10 private static string GetErrorMessage (int error)
12 return W32ErrorMessage (error);