Exemplo n.º 1
0
 public void XmlSerialization_Invalid(string xml, Type expectedExceptionType)
 {
     TestHelper.AssertXmlInvalid <LocalTime>(xml, expectedExceptionType);
 }
Exemplo n.º 2
0
 public void XmlSerialization_Invalid(string xml, Type expectedExceptionType)
 {
     DateTimeZoneProviders.Serialization = DateTimeZoneProviders.Tzdb;
     TestHelper.AssertXmlInvalid <ZonedDateTime>(xml, expectedExceptionType);
 }