Skip to content

Commit

Permalink
Remove warning suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtn committed Nov 11, 2020
1 parent 4e5b0ff commit 70d113d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/WinSW.Tests/Util/InterProcessCodeCoverageSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ internal InterProcessCodeCoverageSession(string serviceName)
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);

Expand Down

0 comments on commit 70d113d

Please sign in to comment.