public enum ErrorType XmlEnum xml-not-well-formed XmlNotWellFormed Xml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
public enum ErrorType
{
[XmlEnum ("xml-not-well-formed")]
XmlNotWellFormed,
[XmlEnum ("fucked-up")]
FuckedUp
}
[XmlRoot ("error", Namespace = "http://etherx.jabber.org/streams")]
public class Error : StreamChild
{
[XmlChoiceIdentifier ("ErrorType")]
[XmlElement ("xml-not-well-formed", IsNullable = true)]
[XmlElement ("fucked-up", IsNullable = true)]
public string Identifier;
[XmlIgnore]
public ErrorType ErrorType;
}