Can't set breakpoints on an auto-property setter ? Why?

后端 未结 4 1550
情书的邮戳
情书的邮戳 2020-12-08 14:48

Apparently VS 2008 does not allow setting a breakpoint just on the setter of an auto-property.

I.e. if I define an auto-property like this:

    publ         


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 15:03

    The short answer is: this bug feature ended up on the cutting room floor for VS2008.

    (Longer answer - hat tip @jdk)

    All we've got is a vague promise that it's being considered for vNext.

提交回复
热议问题