Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Got confusing code this.\u002Ector() in our companies old c# project. What does it mean?

Tags:

c#

I have got a confusing function this.\u002Ector() within the constructor of my company's old project. What does it mean?

 public Common(ref string a_strUserContext)
    {
    bool a_blnQuietMode = false;
    bool a_blnUseSessionToStoreGUID = false;
  // ISSUE: explicit constructor call
    this.\u002Ector(ref a_strUserContext, ref a_blnQuietMode, ref 
   a_blnUseSessionToStoreGUID);
  }
like image 873
Ehasanul Hoque Avatar asked Oct 27 '25 08:10

Ehasanul Hoque


1 Answers

It is a call to a constructor using IL-like syntax. u\002E is Unicode for . and combined with this and ctor, you have a call to a constructor in the same class.

like image 152
chb Avatar answered Oct 28 '25 21:10

chb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!