88using System . Globalization ;
99using System . Runtime . InteropServices ;
1010using System . Text ;
11- using Microsoft . PowerShell . Internal ;
1211using Microsoft . Win32 . SafeHandles ;
1312
14- namespace Microsoft . PowerShell
13+ namespace Microsoft . PowerShell . Internal
1514{
16- public static class NativeMethods
15+ #pragma warning disable 1591
16+
17+ internal static class NativeMethods
1718 {
1819 public const uint MAPVK_VK_TO_VSC = 0x00 ;
1920 public const uint MAPVK_VSC_TO_VK = 0x01 ;
@@ -233,7 +234,7 @@ public override string ToString()
233234 }
234235 }
235236
236- public struct COORD
237+ internal struct COORD
237238 {
238239 public short X ;
239240 public short Y ;
@@ -261,7 +262,7 @@ internal struct FONTSIGNATURE
261262 }
262263
263264 [ StructLayout ( LayoutKind . Sequential ) ]
264- public struct CHARSETINFO
265+ internal struct CHARSETINFO
265266 {
266267 //From public\sdk\inc\wingdi.h
267268 internal uint ciCharset ; // Character set value.
@@ -270,7 +271,7 @@ public struct CHARSETINFO
270271 }
271272
272273 [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
273- public struct TEXTMETRIC
274+ internal struct TEXTMETRIC
274275 {
275276 //From public\sdk\inc\wingdi.h
276277 public int tmHeight ;
@@ -838,4 +839,6 @@ public void EndRender()
838839 }
839840 }
840841 }
842+
843+ #pragma warning restore 1591
841844}
0 commit comments