10 references to YearMonthDuration
System.Private.Xml (10)
System\Xml\Schema\DataTypeImplementation.cs (2)
1920exception = XsdDuration.TryParse(s, XsdDuration.DurationType.YearMonthDuration, out duration); 1925exception = duration.TryToTimeSpan(XsdDuration.DurationType.YearMonthDuration, out timeSpanValue);
System\Xml\Schema\XmlValueConverter.cs (4)
663return new XsdDuration(value, XsdDuration.DurationType.YearMonthDuration).ToTimeSpan(XsdDuration.DurationType.YearMonthDuration); 787return new XsdDuration(value, XsdDuration.DurationType.YearMonthDuration).ToString(XsdDuration.DurationType.YearMonthDuration);
System\Xml\Schema\XsdDuration.cs (4)
101if (durationType == DurationType.YearMonthDuration) 281if (durationType != DurationType.YearMonthDuration) 377if (durationType != DurationType.YearMonthDuration) 620else if (durationType == DurationType.YearMonthDuration)