Skip to content

Commit

Permalink
Fix style warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 committed May 16, 2022
1 parent a2cf976 commit 0c812d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void GetDataHere(ref FORMATETC format, ref STGMEDIUM medium)
{
STGMEDIUM_Raw mediumRaw = new()
{
pUnkForRelease = medium.pUnkForRelease == null ? IntPtr.Zero : Marshal.GetIUnknownForObject(medium.pUnkForRelease),
pUnkForRelease = medium.pUnkForRelease is null ? IntPtr.Zero : Marshal.GetIUnknownForObject(medium.pUnkForRelease),
tymed = medium.tymed,
unionmember = medium.unionmember,
};
Expand Down Expand Up @@ -108,7 +108,7 @@ public void SetData(ref FORMATETC formatIn, ref STGMEDIUM medium, bool release)
{
STGMEDIUM_Raw mediumRaw = new()
{
pUnkForRelease = medium.pUnkForRelease == null ? IntPtr.Zero : Marshal.GetIUnknownForObject(medium.pUnkForRelease),
pUnkForRelease = medium.pUnkForRelease is null ? IntPtr.Zero : Marshal.GetIUnknownForObject(medium.pUnkForRelease),
tymed = medium.tymed,
unionmember = medium.unionmember,
};
Expand Down

0 comments on commit 0c812d2

Please sign in to comment.