Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weird variable name (_[....]) in .Net Source Code (HttpApplication.cs)

Tags:

c#

.net

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;

and

_[....] = false;

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?

like image 941
Malcolm O'Hare Avatar asked Aug 24 '12 15:08

Malcolm O'Hare


1 Answers

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.

like image 194
Levi Avatar answered Sep 20 '22 12:09

Levi