mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 22:20:18 +00:00
test: Disable warning about platform compat for ThreadLocalMap()
This commit is contained in:
parent
bca2223de2
commit
ce4fa4ba72
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ using Ryujinx.Memory.Tests;
|
||||||
using Ryujinx.Memory.Tracking;
|
using Ryujinx.Memory.Tracking;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -283,6 +284,7 @@ namespace Ryujinx.Tests.Memory
|
||||||
[Test]
|
[Test]
|
||||||
// Only test in Windows, as this is only used on Windows and uses Windows APIs for trimming.
|
// Only test in Windows, as this is only used on Windows and uses Windows APIs for trimming.
|
||||||
[Platform("Win")]
|
[Platform("Win")]
|
||||||
|
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility")]
|
||||||
public void ThreadLocalMap()
|
public void ThreadLocalMap()
|
||||||
{
|
{
|
||||||
PartialUnmapState.Reset();
|
PartialUnmapState.Reset();
|
||||||
|
|
Loading…
Reference in a new issue