Possible C# 4.0 compiler error, can others verify?

后端 未结 1 430
一向
一向 2021-02-08 13:51

Since I don\'t know exactly what part of it alone that triggers the error, I\'m not entirely sure how to better label it.

This question is a by-product of the SO questio

相关标签:
1条回答
  • 2021-02-08 14:24

    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)"}

    0 讨论(0)
提交回复
热议问题