Skip to content

Commit

Permalink
Update CsWin32, suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyKuhne committed Oct 2, 2023
1 parent 25cc638 commit 77c244f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/thirtytwo/thirtytwo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.31-beta">
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.46-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 4 additions & 0 deletions src/thirtytwo_tests/Win32/System/Com/ComScopeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ public class TestObject : ITestObject.Interface, IManagedWrapper<ITestObject>

public readonly unsafe struct ITestObject : IComIID, IVTable<ITestObject, ITestObject.Vtbl>
{
#pragma warning disable IDE0051 // Remove unused private members
#pragma warning disable CS0169 // The field 'ComScopeTests.ITestObject._vtbl' is never used
private readonly void** _vtbl;
#pragma warning restore CS0169
#pragma warning restore IDE0051

public struct Vtbl
{
Expand Down

0 comments on commit 77c244f

Please sign in to comment.