Suppress CA1416 warnings, correct argument kind in IFileSystem

This commit is contained in:
KeatonTheBot
2025-06-20 16:25:22 -05:00
parent ef6f43825d
commit 620666909f
4 changed files with 7 additions and 1 deletions
+2
View File
@@ -1,7 +1,9 @@
using System;
using System.Diagnostics.CodeAnalysis;
namespace Ryujinx.Memory
{
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility")]
public static class MemoryManagement
{
public static IntPtr Allocate(ulong size, bool forJit)
@@ -1,6 +1,7 @@
using Ryujinx.Common.Logging;
using System;
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using static Ryujinx.Memory.MemoryManagerUnixHelper;
@@ -10,6 +11,7 @@ namespace Ryujinx.Memory
[SupportedOSPlatform("linux")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("android")]
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility")]
static class MemoryManagementUnix
{
private static readonly ConcurrentDictionary<IntPtr, ulong> _allocations = new();