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