Switch methods to block bodies

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 16c0fc9aab
コミット b2afb88f30
53ファイル変更
+426 -132

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -14,5 +14,8 @@ internal static class RuntimeHelpers
/// <param name="type">The type to associate the memory to.</param>
/// <param name="size">The size in byte of the memory to allocate.</param>
/// <returns>A pointer to the allocated memory.</returns>
public static IntPtr AllocateTypeAssociatedMemory(Type type, int size) => Marshal.AllocHGlobal(size);
public static IntPtr AllocateTypeAssociatedMemory(Type type, int size)
{
return Marshal.AllocHGlobal(size);
}
}