55 references to ValueConverter
System.Private.Xml (55)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
4179
return xsst.
ValueConverter
;
System\Xml\Core\XsdValidatingReader.cs (22)
469
return xmlType.
ValueConverter
.ToBoolean(typedValue);
503
return xmlType.
ValueConverter
.ToDateTime(typedValue);
537
return xmlType.
ValueConverter
.ToDouble(typedValue);
571
return xmlType.
ValueConverter
.ToSingle(typedValue);
605
return xmlType.
ValueConverter
.ToDecimal(typedValue);
639
return xmlType.
ValueConverter
.ToInt32(typedValue);
674
return xmlType.
ValueConverter
.ToInt64(typedValue);
709
return xmlType.
ValueConverter
.ToString(typedValue);
751
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType);
797
return xmlType.
ValueConverter
.ToBoolean(typedValue!);
832
return xmlType.
ValueConverter
.ToDateTime(typedValue!);
867
return xmlType.
ValueConverter
.ToDouble(typedValue!);
902
return xmlType.
ValueConverter
.ToSingle(typedValue!);
937
return xmlType.
ValueConverter
.ToDecimal(typedValue!);
972
return xmlType.
ValueConverter
.ToInt32(typedValue!);
1007
return xmlType.
ValueConverter
.ToInt64(typedValue!);
1042
return xmlType.
ValueConverter
.ToString(typedValue);
1085
return xmlType.
ValueConverter
.ChangeType(typedValue!, returnType, namespaceResolver);
2141
_cachingReader.RecordTextNode(_xmlSchemaInfo.XmlType!.
ValueConverter
.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
2627
_cachingReader.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.
ValueConverter
.ToString(_atomicValue), _originalAtomicValueString);
2682
_cachingReader.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.
ValueConverter
.ToString(_atomicValue!), _originalAtomicValueString);
2730
typedValue = xmlType.
ValueConverter
.ChangeType(typedValue, xmlType.Datatype.ValueType, _thisNSResolver);
System\Xml\Core\XsdValidatingReaderAsync.cs (5)
54
return xmlType.
ValueConverter
.ToString(typedValue);
101
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType);
152
return xmlType.
ValueConverter
.ToString(typedValue);
201
return xmlType.
ValueConverter
.ChangeType(typedValue, returnType, namespaceResolver);
639
_cachingReader.RecordTextNode(_xmlSchemaInfo.XmlType!.
ValueConverter
.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
System\Xml\Schema\DataTypeImplementation.cs (1)
940
return XmlListConverter.Create(listItemType.
ValueConverter
);
System\Xml\Schema\XmlAtomicValue.cs (8)
220
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
242
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
265
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
289
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
312
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
335
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
356
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
381
XmlValueConverter valueConverter = _xmlType.
ValueConverter
;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1076
attrData.RawValue = attSchemaInfo.XmlType!.
ValueConverter
.ToString(attrValidInfo.typedAttributeValue);
System\Xml\Schema\XmlValueConverter.cs (2)
3152
_converters[i] = memberTypes[i].
ValueConverter
;
3195
return simpleValue.XmlType.
ValueConverter
.ChangeType((string)value, destinationType, nsResolver);
System\Xml\XPath\XPathNavigator.cs (15)
87
return schemaType.
ValueConverter
.ChangeType(Value, datatype.ValueType, this);
99
return schemaType.
ValueConverter
.ChangeType(datatype.ParseValue(Value, NameTable, this), datatype.ValueType, this);
127
value = schemaType.
ValueConverter
.ToString(typedValue, this);
188
return schemaType.
ValueConverter
.ToBoolean(Value);
199
return schemaType.
ValueConverter
.ToBoolean(datatype.ParseValue(Value, NameTable, this));
222
return schemaType.
ValueConverter
.ToDateTime(Value);
233
return schemaType.
ValueConverter
.ToDateTime(datatype.ParseValue(Value, NameTable, this));
256
return schemaType.
ValueConverter
.ToDouble(Value);
267
return schemaType.
ValueConverter
.ToDouble(datatype.ParseValue(Value, NameTable, this));
290
return schemaType.
ValueConverter
.ToInt32(Value);
301
return schemaType.
ValueConverter
.ToInt32(datatype.ParseValue(Value, NameTable, this));
324
return schemaType.
ValueConverter
.ToInt64(Value);
335
return schemaType.
ValueConverter
.ToInt64(datatype.ParseValue(Value, NameTable, this));
357
return schemaType.
ValueConverter
.ChangeType(Value, returnType, nsResolver);
368
return schemaType.
ValueConverter
.ChangeType(datatype.ParseValue(Value, NameTable, nsResolver), returnType, nsResolver);