Possible C# 4.0 compiler error, can others verify?

只愿长相守 提交于 2019-12-03 06:13:04

OK, I downloaded your code and can confirm the problem as described.

I have not done any extensive tinkering with this, but when I run & reflector a Release build all seems OK (= null ref exception and clean disassembly).
Reflector (6.10.11) crashed on the Debug builds.

One more experiment: I wondered about the use of CacheItemPolicies so I replaced it with my own MyCacheItemPolicy (in a 3rd classlib) and the same BadImageFormat exception pops up.

The exception mentions : {"Bad binary signature. (Exception from HRESULT: 0x80131192)"}

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!