Remove warning suppressions

This commit is contained in:
NextTurn
2020-09-04 00:00:00 +08:00
committed by Next Turn
parent 4e5b0ff786
commit 70d113d4f9

View File

@@ -48,10 +48,8 @@ namespace WinSW.Tests.Util
hr = client.SetEventCallbacks(this);
AssertEx.Succeeded(hr);
#pragma warning disable CA1416 // Validate platform compatibility
IntPtr pointer = Marshal.GetIUnknownForObject(client);
Assert.Equal(1, Marshal.Release(pointer));
#pragma warning restore CA1416 // Validate platform compatibility
target = DataTarget.CreateFromDbgEng(pointer);