logoalt Hacker News

Dwedittoday at 4:57 PM1 replyview on HN

Are they finally marking all those functions that use IntPtrs as unsafe? (such as Marshal.Copy)


Replies

orpheatoday at 5:31 PM

Not really, because IntPtr is just a native-sized integer.

Marshal.Copy will certainly be marked unsafe, as will anything else that touches unmanaged memory.