Browse Source

Fix unit test

pull/3413/head
ds5678 4 months ago
parent
commit
437bd5656c
  1. 2
      ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1918.cs

2
ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1918.cs

@ -11,7 +11,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty @@ -11,7 +11,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
fixed (Guid* ptr = A_0)
{
void* ptr2 = ptr;
UIntPtr* ptr3 = (UIntPtr*)((byte*)ptr2 - sizeof(UIntPtr));
UIntPtr* ptr3 = (UIntPtr*)ptr2 - 1;
UIntPtr uIntPtr = *ptr3;
try
{

Loading…
Cancel
Save