26 references to FormatterName
System.Xml (26)
System\Xml\Serialization\XmlCodeExporter.cs (6)
257
if (mapping.TypeDesc.
FormatterName
== "Date") {
261
else if (mapping.TypeDesc.
FormatterName
== "Time") {
350
if (pm.TypeDesc.
FormatterName
== "String")
352
if (pm.TypeDesc.
FormatterName
== "DateTime")
357
MethodInfo format = formatter.GetMethod("To" + pm.TypeDesc.
FormatterName
, new Type[] {typeof(string)});
367
return XmlCustomFormatter.ToDefaultValue(defaultValue, pm.TypeDesc.
FormatterName
);
System\Xml\Serialization\XmlSchemaExporter.cs (2)
824
if (pm.TypeDesc.
FormatterName
== "String")
833
string defaultValue = XmlCustomFormatter.FromDefaultValue(value, pm.TypeDesc.
FormatterName
);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1624
XmlCustomFormatter.ToDefaultValue(enumeration.Value, sourceTypeDesc.
FormatterName
);
System\Xml\Serialization\XmlSerializationReader.cs (4)
2669
else if (mapping.TypeDesc.
FormatterName
== "String") {
2685
Writer.Write(mapping.TypeDesc.
FormatterName
);
3814
if (text.Mapping.TypeDesc == StringTypeDesc || text.Mapping.TypeDesc.
FormatterName
== "String") {
4326
switch (element.Mapping.TypeDesc.
FormatterName
) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
812
else if (mapping.TypeDesc.
FormatterName
== "String") {
871
if ((mapping.TypeDesc.
FormatterName
== "ByteArrayBase64" && source == "false")
872
|| (mapping.TypeDesc.
FormatterName
== "ByteArrayHex" && source == "false")
873
|| (mapping.TypeDesc.
FormatterName
== "XmlQualifiedName")) {
879
"To" + mapping.TypeDesc.
FormatterName
,
888
"To" + mapping.TypeDesc.
FormatterName
,
2452
if (text.Mapping.TypeDesc == StringTypeDesc || text.Mapping.TypeDesc.
FormatterName
== "String") {
3133
switch (element.Mapping.TypeDesc.
FormatterName
) {
System\Xml\Serialization\XmlSerializationWriter.cs (2)
1452
if (typeDesc == StringTypeDesc || typeDesc.
FormatterName
== "String") {
1466
Writer.Write(typeDesc.
FormatterName
);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
136
if (typeDesc == StringTypeDesc || typeDesc.
FormatterName
== "String") {
157
if (typeDesc.
FormatterName
== "XmlQualifiedName") {
162
"From" + typeDesc.
FormatterName
,