38 references to XmlAtomicValue
System.Private.Xml (38)
System\Xml\Schema\XmlValueConverter.cs (30)
1067
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1068
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1090
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1098
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1283
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1284
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1304
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1311
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1515
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1516
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1536
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1543
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1673
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1674
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1692
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1698
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1972
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1973
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1989
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1994
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2351
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2353
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2437
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2446
if (sourceType == StringType) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2450
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2451
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2472
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2473
if (destinationType == XPathItemType) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2744
if (destinationType == XmlAtomicValueType) return (new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value));
2804
if (sourceType == StringType) return (new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value));
System\Xml\Xsl\Runtime\XmlILStorageConverter.cs (1)
31
return new
XmlAtomicValue
(runtime.GetXmlType(index).SchemaType, value);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
645
value = new XmlQueryItemSequence(new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), XsltConvert.ToString((DateTime)value)));
System\Xml\Xsl\Runtime\XsltConvert.cs (2)
306
return new
XmlAtomicValue
(destinationType.SchemaType, ToString(value));
309
return new
XmlAtomicValue
(destinationType.SchemaType, ToString(value.ValueAsDateTime));
System\Xml\Xsl\Runtime\XsltFunctions.cs (4)
222
case "vendor": return new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), "Microsoft");
223
case "vendor-url": return new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), "http://www.microsoft.com");
229
return new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), typeof(XsltLibrary).Assembly.ImageRuntimeVersion);
232
return new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), string.Empty);