Is “the C# compiler” clever enough to remove code that has no side effect due to ConditionalAttribute optimization

前端 未结 0 1206
梦毁少年i
梦毁少年i 2021-02-03 13:33

I understand that the Debug.WriteLine method has the ConditionalAttribute applied to them. This means that when a release build is done (or any build that doesn\'t define the DE

相关标签:
回答
  • 消灭零回复
提交回复
热议问题