File tree Expand file tree Collapse file tree
src/OpenCvSharp/Internal/PInvoke/NativeMethods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static partial class NativeMethods
2828
2929 private const UnmanagedType StringUnmanagedTypeNotWindows =
3030#if NETSTANDARD2_0
31- UnmanagedType . LPStr ;
31+ UnmanagedType . LPStr ;
3232#else
3333 UnmanagedType . LPUTF8Str ;
3434#endif
@@ -169,8 +169,8 @@ public static bool IsUnix()
169169 RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) ||
170170 RuntimeInformation . IsOSPlatform ( OSPlatform . FreeBSD ) ;
171171#else
172- return RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) ||
173- RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) ;
172+ return RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) ||
173+ RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) ;
174174#endif
175175 }
176176
@@ -189,10 +189,10 @@ public static bool IsMono()
189189 /// <returns></returns>
190190 public static bool IsWasm ( )
191191 {
192- #if NET6_0
192+ #if NET5_0_OR_GREATER
193193 return RuntimeInformation . OSArchitecture == Architecture . Wasm ;
194194#else
195- return false ;
195+ return false ;
196196#endif
197197 }
198198
You can’t perform that action at this time.
0 commit comments