Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
System.Runtime.InteropServices.RuntimeInformation
  • Loading branch information
elinor-fung committed Nov 12, 2021
commit a42a872a263774abdea18bcddcff3308913b60e1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal static partial class Interop
internal static partial class Sys
{
[SuppressGCTransition]
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_GetOSArchitecture")]
internal static extern int GetOSArchitecture();
[GeneratedDllImport(Libraries.SystemNative, EntryPoint = "SystemNative_GetOSArchitecture")]
internal static partial int GetOSArchitecture();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal static partial class Interop
internal static partial class Sys
{
[SuppressGCTransition]
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_GetProcessArchitecture")]
internal static extern int GetProcessArchitecture();
[GeneratedDllImport(Libraries.SystemNative, EntryPoint = "SystemNative_GetProcessArchitecture")]
internal static partial int GetProcessArchitecture();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal static partial class Interop
{
internal static partial class Kernel32
{
[DllImport(Libraries.Kernel32)]
internal static unsafe extern void GetNativeSystemInfo(SYSTEM_INFO* lpSystemInfo);
[GeneratedDllImport(Libraries.Kernel32)]
internal static unsafe partial void GetNativeSystemInfo(SYSTEM_INFO* lpSystemInfo);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internal static partial class Interop
{
internal static partial class Kernel32
{
[DllImport(Libraries.Kernel32)]
internal static unsafe extern void GetSystemInfo(SYSTEM_INFO* lpSystemInfo);
[GeneratedDllImport(Libraries.Kernel32)]
internal static unsafe partial void GetSystemInfo(SYSTEM_INFO* lpSystemInfo);
}
}