Browse Source

Add uint pointer method

pull/3413/head
ds5678 4 months ago
parent
commit
daa7f7879d
  1. 5
      ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs

5
ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs

@ -44,6 +44,11 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -44,6 +44,11 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
return ((int*)ptr)[2];
}
public unsafe static uint AccessGuidPointerToUIntPointer(Guid* ptr)
{
return ((uint*)ptr)[2];
}
public unsafe static void AssignmentIntPointer(int* ptr)
{
ptr[2] = 1;

Loading…
Cancel
Save