38 references to XmlAtomicValue
System.Private.Xml (38)
System\Xml\Schema\XmlValueConverter.cs (30)
1034
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1035
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1057
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1065
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1250
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1251
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1271
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1278
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1482
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1483
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1503
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1510
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1640
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1641
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1659
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1665
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1939
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1940
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1956
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
1961
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2318
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2320
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2404
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2413
if (sourceType == typeof(string)) return (new
XmlAtomicValue
(SchemaType!, (string)value));
2417
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2418
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2439
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2440
if (destinationType == typeof(XPathItem)) return (new
XmlAtomicValue
(SchemaType!, this.ToString(value, nsResolver)));
2711
if (destinationType == typeof(XmlAtomicValue)) return (new
XmlAtomicValue
(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value));
2771
if (sourceType == typeof(string)) 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);