Skip to content
Discussion options

You must be logged in to vote

I don't think it makes sense to use IntPtr in attributes as the actual data embedded in the assembly metadata needs to be a known predictable size at compile time. It can't change to accommodate a different size based on the native word size. So at best it would still be a long or ulong, which you could then cast back to an IntPtr in code anyway.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jkrejcha
Comment options

@HaloFour
Comment options

@tannergooding
Comment options

@HaloFour
Comment options

Answer selected by jkrejcha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants