Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsPrefixTwoUnderscore()

static bool System.CSharpHelpers.IsPrefixTwoUnderscore ( string value)
inlinestaticpackage

Definition at line 40 of file CSharpHelpers.cs.

41 {
42 if (value.Length < 3)
43 {
44 return false;
45 }
46 if (value[0] == '_' && value[1] == '_')
47 {
48 return value[2] != '_';
49 }
50 return false;
51 }

References System.value.

Referenced by System.CSharpHelpers.CreateEscapedIdentifier().