@@ -71,15 +71,15 @@ public static class LibSystem
7171
7272 public static readonly bool IsOnArm64 ;
7373
74- unsafe static LibSystem ( )
74+ static unsafe LibSystem ( )
7575 {
7676 IsOnArm64 =
7777 IntPtr . Size == 8 &&
7878 NXGetLocalArchInfo ( ) ->GetName ( ) ? . StartsWith ( "arm64" , StringComparison . OrdinalIgnoreCase ) is true ;
7979 }
8080
8181 [ DllImport ( Path ) ]
82- private static unsafe extern NXArchInfo * NXGetLocalArchInfo ( ) ;
82+ private static extern unsafe NXArchInfo * NXGetLocalArchInfo ( ) ;
8383
8484 private enum NXByteOrder
8585 {
@@ -121,13 +121,13 @@ public static class LibC
121121 public const string Path = "/usr/lib/libc.dylib" ;
122122
123123 [ DllImport ( Path , EntryPoint = "dispatch_queue_create" ) ]
124- public extern static IntPtr DispatchQueueCreate ( string label , IntPtr attr ) ;
124+ public static extern IntPtr DispatchQueueCreate ( string label , IntPtr attr ) ;
125125
126126 [ DllImport ( Path , EntryPoint = "dispatch_release" ) ]
127- public extern static IntPtr DispatchRelease ( IntPtr o ) ;
127+ public static extern IntPtr DispatchRelease ( IntPtr o ) ;
128128
129129 [ DllImport ( Path , EntryPoint = "dispatch_retain" ) ]
130- public extern static IntPtr DispatchRetain ( IntPtr o ) ;
130+ public static extern IntPtr DispatchRetain ( IntPtr o ) ;
131131 }
132132
133133 public static class LibObjC
@@ -151,7 +151,7 @@ public static class LibObjC
151151 public static extern void SendNoResult ( IntPtr receiver , IntPtr selector , LibCoreMedia . CMTime arg1 ) ;
152152
153153 [ DllImport ( Path , EntryPoint = "objc_msgSend" ) ]
154- public extern static void SendNoResult ( IntPtr receiver , IntPtr selector , IntPtr arg1 , IntPtr arg2 ) ;
154+ public static extern void SendNoResult ( IntPtr receiver , IntPtr selector , IntPtr arg1 , IntPtr arg2 ) ;
155155
156156 [ DllImport ( Path , EntryPoint = "objc_msgSend" ) ]
157157 public static extern bool SendAndGetBool ( IntPtr receiver , IntPtr selector ) ;
@@ -326,7 +326,7 @@ public sealed class BlockLiteralFactory
326326 private static readonly BlockLiteralCopy CopyHandler ;
327327 private static readonly BlockLiteralDispose DisposeHandler ;
328328
329- unsafe static BlockLiteralFactory ( )
329+ static unsafe BlockLiteralFactory ( )
330330 {
331331 NSConcreteStackBlock = Dlfcn . GetSymbol ( LibSystem . Handle , "_NSConcreteStackBlock" ) ;
332332
0 commit comments