Code contracts for .NET 3.5 messes up VS10's debugger

前端 未结 2 459
时光说笑
时光说笑 2021-01-18 03:25

I\'ve recently migrated a lot of manual precondition testing and exception throwing with code contracts. Instead of upgrading to .NET 4, I\'ve been using the Microsoft

2条回答
  •  星月不相逢
    2021-01-18 03:52

    have in mind, that the code contracts currently do not work with Post conditions & multithreading. limit the contracts to do only Precondition rewriting. that solved a lot of issues in our system.

提交回复
热议问题