2011-11-10 62 views
0

當上下文操作(如)轉換爲如果切換被調用時,我的所有註釋都將丟失。這可以防止嗎?resharper 6.0 - 上下文操作丟棄註釋

例如爲:

 int a = 1; 
     int i; 
     if (a == 1) 
      //comment I want to keep 1 
      i = 1; 
     else if (a == 2) 
      //comment I want to keep 2 
      i = 2; 
     else 
      i = 3; 

回答