コード例 #1
0
 public void XmlSerialization_Invalid(string xml, Type expectedExceptionType)
 {
     TestHelper.AssertXmlInvalid <LocalTime>(xml, expectedExceptionType);
 }
コード例 #2
0
 public void XmlSerialization_Invalid(string xml, Type expectedExceptionType)
 {
     DateTimeZoneProviders.Serialization = DateTimeZoneProviders.Tzdb;
     TestHelper.AssertXmlInvalid <ZonedDateTime>(xml, expectedExceptionType);
 }