问题描述
我是加强过的.Net Framework的源$ C $ C找到一个棘手的bug(HttpApplication.cs),我注意到像这样在code线(这些都是拷贝/膏,我没有编辑任何东西):
I was stepping through .Net Framework source code to find a tricky bug (HttpApplication.cs), and I noticed lines like these in the code (these are copy/pastes, I didn't edit anything):
_[....] = true;
和
_[....] = false;
我想知道,如果这是混淆code,或者这是某种形式的C#约定我从来没有见过? VS 2012似乎认为它不是真正的code。
I'm wondering if this is obfuscated code, or is this some sort of c# convention I've never seen before? VS 2012 seems to think its not real code.
任何人都可以告诉我吗?
Can anyone enlighten me?
推荐答案
字段的名称,因为它在实际HttpApplication.cs code存在是_sync。有它运行在之前它超出一般公众源自动化工具;这个工具擦洗像开发者的名字,等等。看起来这只是一个假阳性。我把它与相应的队,看它是否可以被校正。
The name of the field as it exists in the actual HttpApplication.cs code is "_sync". There is an automated tool which is run over the source before it goes out to the general public; this tool scrubs things like developers' names, etc. It looks like this was just a false positive. I'll bring it up with the appropriate team to see if it can be corrected.
这篇关于奇怪的变量名(_ [...])的净源$ C $ C(HttpApplication.cs)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!