I have this lines in C# Visual Studio 2010:

IntPtr a = new IntPtr(10);
IntPtr b = a + 10;

And it says:

Operator '+' cannot be applied to operands of type 'System.IntPtr' and 'int'.

MSDN says that this operation should work.

Edit
Report