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

◆ SetParameter()

void System.Xml.Xsl.IlGen.GenerateHelper.SetParameter ( object paramId)
inline

Definition at line 144 of file GenerateHelper.cs.

145 {
146 int num = (int)paramId;
147 if (num <= 65535)
148 {
149 Emit(OpCodes.Starg, num);
150 return;
151 }
152 throw new XslTransformException(System.SR.XmlIl_TooManyParameters);
153 }
static readonly OpCode Starg
Definition OpCodes.cs:423
static string XmlIl_TooManyParameters
Definition SR.cs:2028
Definition SR.cs:7

References System.Xml.Dictionary, System.Reflection.Emit.OpCodes.Starg, and System.SR.XmlIl_TooManyParameters.

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