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

◆ IsSpecialTypeChar()

static bool System.CSharpHelpers.IsSpecialTypeChar ( char ch,
ref bool nextMustBeStartChar )
inlinestaticpackage

Definition at line 93 of file CSharpHelpers.cs.

94 {
95 switch (ch)
96 {
97 case '$':
98 case '&':
99 case '*':
100 case '+':
101 case ',':
102 case '-':
103 case '.':
104 case ':':
105 case '<':
106 case '>':
107 case '[':
108 case ']':
109 nextMustBeStartChar = true;
110 return true;
111 case '`':
112 return true;
113 default:
114 return false;
115 }
116 }

References System.ch.

Referenced by System.CSharpHelpers.IsValidTypeNameOrIdentifier().