39 references to XmlCustomFormatter
dotnet-svcutil-lib (39)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (7)
288
dtString =
XmlCustomFormatter
.FromDate(dt);
293
dtString =
XmlCustomFormatter
.FromDateTime(dt);
298
dtString =
XmlCustomFormatter
.FromDateTime(dt);
376
long val =
XmlCustomFormatter
.ToEnum(defaultValue, values, em.TypeName, true);
377
return
XmlCustomFormatter
.FromEnum(val, names, ids, em.TypeDesc.FullName);
398
return
XmlCustomFormatter
.ToDateTime(defaultValue);
412
return
XmlCustomFormatter
.ToDefaultValue(defaultValue, pm.TypeDesc.FormatterName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCustomFormatter.cs (1)
16
/// The <see cref="
XmlCustomFormatter
"/> class provides a set of static methods for converting
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
935
long val =
XmlCustomFormatter
.ToEnum((string)value, values, em.TypeName, false);
936
return val != 0 ?
XmlCustomFormatter
.FromEnum(val, names, ids, mapping.TypeDesc.FullName) : null;
973
string defaultValue =
XmlCustomFormatter
.FromDefaultValue(value, pm.TypeDesc.FormatterName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1866
XmlCustomFormatter
.ToDefaultValue(enumeration.Value, sourceTypeDesc.FormatterName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (11)
953
return
XmlCustomFormatter
.ToByteArrayBase64(value);
969
return
XmlCustomFormatter
.ToByteArrayHex(value);
1142
return
XmlCustomFormatter
.ToDateTime(value);
1148
return
XmlCustomFormatter
.ToDate(value);
1154
return
XmlCustomFormatter
.ToTime(value);
1160
return
XmlCustomFormatter
.ToChar(value);
1166
return
XmlCustomFormatter
.ToEnum(value, h, typeName, true);
1172
return
XmlCustomFormatter
.ToXmlName(value);
1178
return
XmlCustomFormatter
.ToXmlNCName(value);
1184
return
XmlCustomFormatter
.ToXmlNmToken(value);
1190
return
XmlCustomFormatter
.ToXmlNmTokens(value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (16)
120
return
XmlCustomFormatter
.FromByteArrayHex(value);
126
return
XmlCustomFormatter
.FromDateTime(value);
132
return
XmlCustomFormatter
.FromDate(value);
138
return
XmlCustomFormatter
.FromTime(value);
144
return
XmlCustomFormatter
.FromChar(value);
150
return
XmlCustomFormatter
.FromEnum(value, values, ids, null);
156
return
XmlCustomFormatter
.FromEnum(value, values, ids, typeName);
162
return
XmlCustomFormatter
.FromXmlName(name);
168
return
XmlCustomFormatter
.FromXmlNCName(ncName);
174
return
XmlCustomFormatter
.FromXmlNmToken(nmToken);
180
return
XmlCustomFormatter
.FromXmlNmTokens(nmTokens);
385
XmlCustomFormatter
.WriteArrayBase64(_w, (byte[])o, 0, ((byte[])o).Length);
1019
XmlCustomFormatter
.WriteArrayBase64(_w, value, 0, value.Length);
1037
XmlCustomFormatter
.WriteArrayBase64(_w, value, 0, value.Length);
1059
XmlCustomFormatter
.WriteArrayBase64(_w, value, 0, value.Length);
1158
XmlCustomFormatter
.WriteArrayBase64(_w, value, 0, value.Length);