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

◆ VisitError()

override QilNode System.Xml.Xsl.IlGen.XmlILVisitor.VisitError ( QilUnary ndErr)
inlineprotectedvirtual

Reimplemented from System.Xml.Xsl.Qil.QilVisitor.

Definition at line 253 of file XmlILVisitor.cs.

254 {
257 _helper.Call(XmlILMethods.ThrowException);
258 if (XmlILConstructInfo.Read(ndErr).ConstructMethod == XmlILConstructMethod.Writer)
259 {
260 _iterCurr.Storage = StorageDescriptor.None();
261 }
262 else
263 {
265 _iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathItem), isCached: false);
266 }
267 return ndErr;
268 }
static readonly OpCode Ldnull
Definition OpCodes.cs:45

References System.Xml.Xsl.IlGen.XmlILVisitor._helper, System.Xml.Xsl.IlGen.GenerateHelper.Call(), System.Xml.Dictionary, System.Xml.Xsl.IlGen.GenerateHelper.Emit(), System.Reflection.Emit.OpCodes.Ldnull, System.Xml.Xsl.IlGen.GenerateHelper.LoadQueryRuntime(), System.Xml.Xsl.IlGen.XmlILVisitor.NestedVisitEnsureStack(), System.Xml.Xsl.IlGen.StorageDescriptor.None(), System.Xml.Xsl.IlGen.XmlILConstructInfo.Read(), System.Xml.Xsl.IlGen.StorageDescriptor.Stack(), and System.Xml.Xsl.IlGen.XmlILMethods.ThrowException.