public void Read_XDataWrapper() { var obj = new XDataWrapper() { Markup = new XData() { Text = "<my_xdata/>" } }; var r = new XamlObjectReader(obj); while (!r.IsEof) { r.Read(); } }
public void Read_XDataWrapper() { Assert.Throws <XamlObjectReaderException>(() => { var obj = new XDataWrapper() { Markup = new XData() { Text = "<my_xdata/>" } }; var r = new XamlObjectReader(obj); while (!r.IsEof) { r.Read(); } }); }
public void Read_XDataWrapper () { var obj = new XDataWrapper () { Markup = new XData () {Text = "<my_xdata/>" } }; var r = new XamlObjectReader (obj); while (!r.IsEof) r.Read (); }