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