One of our customers reported an exception that contained this stack trace:
> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
> at <PrivateImplementationDetails>{B5D2A2F1-F42E-42E3-A53F-C83172F789C9}. ()
> at .‒. ()
> at .•. ()
I spent a little while rebuilding my assembly with various Oxfuscator settings and then opening the obfuscated assembly using ildasm. I see that the PrivateImplementationDetails class is created by Oxfuscator when the “Hide Strings” setting is turned on. So it is not my code that has thrown the exception - it is the Oxfuscator-authored class.
Unfortunately this is intermittent - I don’t have a reliable way of reproducing it.
Has anyone else reported this? Is it a known issue? My workaround for the moment is to disable “Hide Strings” and then there won’t be a PrivateImplementationDetails that can crash.
Can you give me any more information about this?