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

◆ XsltException() [1/5]

System.Xml.Xsl.XsltException.XsltException ( SerializationInfo info,
StreamingContext context )
inlineprotected

Definition at line 33 of file XsltException.cs.

34 : base(info, context)
35 {
36 _res = (string)info.GetValue("res", typeof(string));
37 _args = (string[])info.GetValue("args", typeof(string[]));
38 _sourceUri = (string)info.GetValue("sourceUri", typeof(string));
39 _lineNumber = (int)info.GetValue("lineNumber", typeof(int));
40 _linePosition = (int)info.GetValue("linePosition", typeof(int));
41 string text = null;
43 while (enumerator.MoveNext())
44 {
45 SerializationEntry current = enumerator.Current;
46 if (current.Name == "version")
47 {
48 text = (string)current.Value;
49 }
50 }
51 if (text == null)
52 {
54 }
55 else
56 {
57 _message = null;
58 }
59 }
static string CreateMessage(string res, string[] args, string sourceUri, int lineNumber, int linePosition)

References System.Xml.Xsl.XsltException._args, System.Xml.Xsl.XsltException._lineNumber, System.Xml.Xsl.XsltException._linePosition, System.Xml.Xsl.XsltException._message, System.Xml.Xsl.XsltException._res, System.Xml.Xsl.XsltException._sourceUri, System.Xml.Xsl.XsltException.CreateMessage(), System.Xml.Dictionary, System.info, System.Runtime.Serialization.SerializationEntry.Name, System.text, and System.Runtime.Serialization.SerializationEntry.Value.