We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c29144 commit 8de6585Copy full SHA for 8de6585
ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs
@@ -114,6 +114,11 @@ public unsafe static void AssignmentIntPointerToGuidPointer(int* ptr)
114
((Guid*)ptr)[2] = Guid.NewGuid();
115
}
116
117
+ public unsafe static void AssignmentIntPointerToGuidPointer_2(int* ptr)
118
+ {
119
+ *(Guid*)(ptr + 2) = Guid.NewGuid();
120
+ }
121
+
122
public unsafe static Guid AccessIntPointerToGuidPointer(int* ptr)
123
{
124
return ((Guid*)ptr)[2];
0 commit comments