4 references to TryToTimeSpan
System.Private.Xml (4)
System\Xml\Schema\DataTypeImplementation.cs (2)
1925
exception = duration.
TryToTimeSpan
(XsdDuration.DurationType.YearMonthDuration, out timeSpanValue);
1963
exception = duration.
TryToTimeSpan
(XsdDuration.DurationType.DayTimeDuration, out timeSpanValue);
System\Xml\Schema\XsdDuration.cs (2)
249
Exception? exception =
TryToTimeSpan
(durationType, out result);
260
return
TryToTimeSpan
(DurationType.Duration, out result);