4 instantiations of XmlUntypedConverter
System.Private.Xml (4)
System\Xml\Schema\XmlValueConverter.cs (4)
2017
public static readonly XmlValueConverter Untyped = new
XmlUntypedConverter
(new
XmlUntypedConverter
(), false);
2018
public static readonly XmlValueConverter UntypedList = new
XmlUntypedConverter
(new
XmlUntypedConverter
(), true);
38 references to XmlUntypedConverter
System.Private.Xml (38)
System\Xml\Core\XmlEventCache.cs (1)
429
WriteString(
XmlUntypedConverter
.Untyped.ToString(value, this._resolver));
System\Xml\Core\XmlRawWriter.cs (1)
187
WriteString(
XmlUntypedConverter
.Untyped.ToString(value, _resolver));
System\Xml\Core\XmlReader.cs (2)
333
return
XmlUntypedConverter
.Untyped.ChangeType(strContentValue, returnType, namespaceResolver ?? this as IXmlNamespaceResolver);
539
return returnType == typeof(string) ? string.Empty :
XmlUntypedConverter
.Untyped.ChangeType(string.Empty, returnType, namespaceResolver);
System\Xml\Core\XmlReaderAsync.cs (2)
61
return
XmlUntypedConverter
.Untyped.ChangeType(strContentValue, returnType, namespaceResolver ?? this as IXmlNamespaceResolver);
106
return returnType == typeof(string) ? string.Empty :
XmlUntypedConverter
.Untyped.ChangeType(string.Empty, returnType, namespaceResolver);
System\Xml\Core\XmlWriter.cs (1)
247
WriteString(
XmlUntypedConverter
.Untyped.ToString(value, null));
System\Xml\Core\XsdValidatingReader.cs (16)
473
return
XmlUntypedConverter
.Untyped.ToBoolean(typedValue);
507
return
XmlUntypedConverter
.Untyped.ToDateTime(typedValue);
541
return
XmlUntypedConverter
.Untyped.ToDouble(typedValue);
575
return
XmlUntypedConverter
.Untyped.ToSingle(typedValue);
609
return
XmlUntypedConverter
.Untyped.ToDecimal(typedValue);
643
return
XmlUntypedConverter
.Untyped.ToInt32(typedValue);
678
return
XmlUntypedConverter
.Untyped.ToInt64(typedValue);
755
return
XmlUntypedConverter
.Untyped.ChangeType(typedValue, returnType, namespaceResolver);
801
return
XmlUntypedConverter
.Untyped.ToBoolean(typedValue!);
836
return
XmlUntypedConverter
.Untyped.ToDateTime(typedValue!);
871
return
XmlUntypedConverter
.Untyped.ToDouble(typedValue!);
906
return
XmlUntypedConverter
.Untyped.ToSingle(typedValue!);
941
return
XmlUntypedConverter
.Untyped.ToDecimal(typedValue!);
976
return
XmlUntypedConverter
.Untyped.ToInt32(typedValue!);
1011
return
XmlUntypedConverter
.Untyped.ToInt64(typedValue!);
1089
return
XmlUntypedConverter
.Untyped.ChangeType(typedValue!, returnType, namespaceResolver);
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
105
return
XmlUntypedConverter
.Untyped.ChangeType(typedValue, returnType, namespaceResolver);
205
return
XmlUntypedConverter
.Untyped.ChangeType(typedValue, returnType, namespaceResolver);
System\Xml\Schema\DataTypeImplementation.cs (2)
1352
return
XmlUntypedConverter
.Untyped;
1397
return
XmlUntypedConverter
.Untyped;
System\Xml\Schema\XmlSchemaType.cs (1)
200
return
XmlUntypedConverter
.Untyped;
System\Xml\Schema\XmlValueConverter.cs (3)
2011
private XmlUntypedConverter(
XmlUntypedConverter
atomicConverter, bool allowListToList)
2910
if (atomicConverter ==
XmlUntypedConverter
.Untyped)
2911
return
XmlUntypedConverter
.UntypedList;
System\Xml\XPath\XPathNavigator.cs (7)
132
value ??=
XmlUntypedConverter
.Untyped.ToString(typedValue, this);
204
return
XmlUntypedConverter
.Untyped.ToBoolean(Value);
238
return
XmlUntypedConverter
.Untyped.ToDateTime(Value);
272
return
XmlUntypedConverter
.Untyped.ToDouble(Value);
306
return
XmlUntypedConverter
.Untyped.ToInt32(Value);
340
return
XmlUntypedConverter
.Untyped.ToInt64(Value);
373
return
XmlUntypedConverter
.Untyped.ChangeType(Value, returnType, nsResolver);