Integrated CLR code example to recreate HostAccessProtection exception