如何格式化以下行以消除StyleCop警告:
this.BeginInvoke(this.updateHandler,new object[]{this.tmpbuf});现在,我收到4条警告:
Warning 4 SA1001: Invalid spacing around the comma.Warning 5 SA1011: Invalid spacing around the closing square bracket.Warning 6 SA1012: Invalid spacing around the opening curly bracket.Warning 7 SA1013: Invalid spacing around the closing curly bracket.发布于 2009-06-30 13:50:43
this.BeginInvoke(this.updateHandler, new object[] { this.tmpbuf });有关相关规则的完整描述,请参见StyleCop间距规则。
https://stackoverflow.com/questions/1063701
复制相似问题