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

◆ CallConcatStrings()

void System.Xml.Xsl.IlGen.GenerateHelper.CallConcatStrings ( int cStrings)
inline

Definition at line 231 of file GenerateHelper.cs.

232 {
233 switch (cStrings)
234 {
235 case 0:
236 Emit(OpCodes.Ldstr, "");
237 break;
238 case 2:
239 Call(XmlILMethods.StrCat2);
240 break;
241 case 3:
242 Call(XmlILMethods.StrCat3);
243 break;
244 case 4:
245 Call(XmlILMethods.StrCat4);
246 break;
247 case 1:
248 break;
249 }
250 }
static readonly OpCode Ldstr
Definition OpCodes.cs:231

References System.Reflection.Emit.Call, System.Xml.Dictionary, System.Reflection.Emit.OpCodes.Ldstr, System.Xml.Xsl.IlGen.XmlILMethods.StrCat2, System.Xml.Xsl.IlGen.XmlILMethods.StrCat3, and System.Xml.Xsl.IlGen.XmlILMethods.StrCat4.

Referenced by System.Xml.Xsl.IlGen.XmlILVisitor.VisitStrConcat().