10 references to YearMonthDuration
System.Xml (10)
System\Xml\Schema\DataTypeImplementation.cs (2)
1745exception = XsdDuration.TryParse(s, XsdDuration.DurationType.YearMonthDuration, out duration); 1750exception = duration.TryToTimeSpan(XsdDuration.DurationType.YearMonthDuration, out timeSpanValue);
System\Xml\Schema\XmlValueConverter.cs (4)
695return new XsdDuration(value, XsdDuration.DurationType.YearMonthDuration).ToTimeSpan(XsdDuration.DurationType.YearMonthDuration); 797return new XsdDuration(value, XsdDuration.DurationType.YearMonthDuration).ToString(XsdDuration.DurationType.YearMonthDuration);
System\Xml\Schema\XsdDuration.cs (4)
96if (durationType == DurationType.YearMonthDuration) { 309if (durationType != DurationType.YearMonthDuration) { 385if (durationType != DurationType.YearMonthDuration) { 604else if (durationType == DurationType.YearMonthDuration) {