Pure Managed Code and AccessViolationException
Be careful with explicit struct layout. Even when executing purely managed code, it is possible to trigger an AccessViolationException. Before I encountered this case, I was under the impression that the CLR (Common Language Runtime) prevented such m...
Nov 13, 20122 min read1