@@ -12,48 +12,48 @@ internal static partial class Interop
12
12
internal static partial class Globalization
13
13
{
14
14
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_GetSortHandle" ) ]
15
- internal unsafe static extern ResultCode GetSortHandle ( byte [ ] localeName , out SafeSortHandle sortHandle ) ;
15
+ internal static extern unsafe ResultCode GetSortHandle ( byte [ ] localeName , out SafeSortHandle sortHandle ) ;
16
16
17
17
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_CloseSortHandle" ) ]
18
- internal unsafe static extern void CloseSortHandle ( IntPtr handle ) ;
18
+ internal static extern unsafe void CloseSortHandle ( IntPtr handle ) ;
19
19
20
20
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_CompareString" ) ]
21
- internal unsafe static extern int CompareString ( SafeSortHandle sortHandle , char * lpStr1 , int cwStr1Len , char * lpStr2 , int cwStr2Len , CompareOptions options ) ;
21
+ internal static extern unsafe int CompareString ( SafeSortHandle sortHandle , char * lpStr1 , int cwStr1Len , char * lpStr2 , int cwStr2Len , CompareOptions options ) ;
22
22
23
23
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_IndexOf" ) ]
24
- internal unsafe static extern int IndexOf ( SafeSortHandle sortHandle , string target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options , int * matchLengthPtr ) ;
24
+ internal static extern unsafe int IndexOf ( SafeSortHandle sortHandle , string target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options , int * matchLengthPtr ) ;
25
25
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_IndexOf" ) ]
26
- internal unsafe static extern int IndexOf ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options , int * matchLengthPtr ) ;
26
+ internal static extern unsafe int IndexOf ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options , int * matchLengthPtr ) ;
27
27
28
28
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_LastIndexOf" ) ]
29
- internal unsafe static extern int LastIndexOf ( SafeSortHandle sortHandle , string target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options ) ;
29
+ internal static extern unsafe int LastIndexOf ( SafeSortHandle sortHandle , string target , int cwTargetLength , char * pSource , int cwSourceLength , CompareOptions options ) ;
30
30
31
31
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_IndexOfOrdinalIgnoreCase" ) ]
32
- internal unsafe static extern int IndexOfOrdinalIgnoreCase ( string target , int cwTargetLength , char * pSource , int cwSourceLength , bool findLast ) ;
32
+ internal static extern unsafe int IndexOfOrdinalIgnoreCase ( string target , int cwTargetLength , char * pSource , int cwSourceLength , bool findLast ) ;
33
33
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_IndexOfOrdinalIgnoreCase" ) ]
34
- internal unsafe static extern int IndexOfOrdinalIgnoreCase ( char * target , int cwTargetLength , char * pSource , int cwSourceLength , bool findLast ) ;
34
+ internal static extern unsafe int IndexOfOrdinalIgnoreCase ( char * target , int cwTargetLength , char * pSource , int cwSourceLength , bool findLast ) ;
35
35
36
36
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_StartsWith" ) ]
37
37
[ return : MarshalAs ( UnmanagedType . Bool ) ]
38
- internal unsafe static extern bool StartsWith ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * source , int cwSourceLength , CompareOptions options ) ;
38
+ internal static extern unsafe bool StartsWith ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * source , int cwSourceLength , CompareOptions options ) ;
39
39
40
40
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_EndsWith" ) ]
41
41
[ return : MarshalAs ( UnmanagedType . Bool ) ]
42
- internal unsafe static extern bool EndsWith ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * source , int cwSourceLength , CompareOptions options ) ;
42
+ internal static extern unsafe bool EndsWith ( SafeSortHandle sortHandle , char * target , int cwTargetLength , char * source , int cwSourceLength , CompareOptions options ) ;
43
43
44
44
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_StartsWith" ) ]
45
45
[ return : MarshalAs ( UnmanagedType . Bool ) ]
46
- internal unsafe static extern bool StartsWith ( SafeSortHandle sortHandle , string target , int cwTargetLength , string source , int cwSourceLength , CompareOptions options ) ;
46
+ internal static extern unsafe bool StartsWith ( SafeSortHandle sortHandle , string target , int cwTargetLength , string source , int cwSourceLength , CompareOptions options ) ;
47
47
48
48
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_EndsWith" ) ]
49
49
[ return : MarshalAs ( UnmanagedType . Bool ) ]
50
- internal unsafe static extern bool EndsWith ( SafeSortHandle sortHandle , string target , int cwTargetLength , string source , int cwSourceLength , CompareOptions options ) ;
50
+ internal static extern unsafe bool EndsWith ( SafeSortHandle sortHandle , string target , int cwTargetLength , string source , int cwSourceLength , CompareOptions options ) ;
51
51
52
52
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_GetSortKey" ) ]
53
- internal unsafe static extern int GetSortKey ( SafeSortHandle sortHandle , string str , int strLength , byte * sortKey , int sortKeyLength , CompareOptions options ) ;
53
+ internal static extern unsafe int GetSortKey ( SafeSortHandle sortHandle , string str , int strLength , byte * sortKey , int sortKeyLength , CompareOptions options ) ;
54
54
55
55
[ DllImport ( Libraries . GlobalizationNative , CharSet = CharSet . Unicode , EntryPoint = "GlobalizationNative_CompareStringOrdinalIgnoreCase" ) ]
56
- internal unsafe static extern int CompareStringOrdinalIgnoreCase ( char * lpStr1 , int cwStr1Len , char * lpStr2 , int cwStr2Len ) ;
56
+ internal static extern unsafe int CompareStringOrdinalIgnoreCase ( char * lpStr1 , int cwStr1Len , char * lpStr2 , int cwStr2Len ) ;
57
57
58
58
[ DllImport ( Libraries . GlobalizationNative , EntryPoint = "GlobalizationNative_GetSortVersion" ) ]
59
59
internal static extern int GetSortVersion ( SafeSortHandle sortHandle ) ;
0 commit comments