1 type derived from SpecialMapping
System.Private.Xml (1)
System\Xml\Serialization\Mappings.cs (1)
1036internal sealed class SerializableMapping : SpecialMapping
5 instantiations of SpecialMapping
System.Private.Xml (5)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
576mapping = new SpecialMapping();
System\Xml\Serialization\XmlSchemaImporter.cs (4)
1182SpecialMapping textMapping = new SpecialMapping(); 1203SpecialMapping mapping = new SpecialMapping(); 1379SpecialMapping mapping = new SpecialMapping(); 1490SpecialMapping mapping = new SpecialMapping();
43 references to SpecialMapping
System.Private.Xml (43)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (4)
684if (text.Mapping is SpecialMapping special) 950else if (element.Mapping is SpecialMapping specialMapping) 1070private static bool IsWildcard(SpecialMapping mapping) 1915if (attribute.Mapping is SpecialMapping special)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
303else if (text.Mapping is SpecialMapping specialMapping) 430else if (element.Mapping is SpecialMapping) 875if (attribute.Mapping is SpecialMapping special)
System\Xml\Serialization\XmlReflectionImporter.cs (4)
510private SpecialMapping ImportSpecialMapping(Type type, TypeDesc typeDesc, string? ns, ImportContext context) 513SpecialMapping? mapping = (SpecialMapping?)_specials[type]; 1632if (!(text.Mapping is SpecialMapping) && targetTypeDesc != _typeScope.GetTypeDesc(typeof(string)))
System\Xml\Serialization\XmlSchemaExporter.cs (9)
45if (mapping.Members!.Length == 1 && mapping.Members[0].Elements![0].Mapping is SpecialMapping) 47SpecialMapping special = (SpecialMapping)mapping.Members[0].Elements![0].Mapping!; 359else if (mapping is SpecialMapping) 360ExportSpecialMapping((SpecialMapping)mapping, ns, isAny, null); 388else if (mapping is SpecialMapping) 389ExportSpecialMapping((SpecialMapping)mapping, ns, isAny, element); 412private XmlSchemaType? ExportSpecialMapping(SpecialMapping mapping, string? ns, bool isAny, XmlSchemaElement? element) 791else if (!(accessor.Mapping is SpecialMapping))
System\Xml\Serialization\XmlSchemaImporter.cs (9)
104if (typeMapping is SpecialMapping && ((SpecialMapping)typeMapping).NamedAny) 310if (mapping is SpecialMapping && ((SpecialMapping)mapping).NamedAny) 1182SpecialMapping textMapping = new SpecialMapping(); 1203SpecialMapping mapping = new SpecialMapping(); 1364private SpecialMapping? ImportAnyMapping(XmlSchemaType? type, bool repeats) 1379SpecialMapping mapping = new SpecialMapping(); 1490SpecialMapping mapping = new SpecialMapping();
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
397internal static bool IsWildcard(SpecialMapping mapping)
System\Xml\Serialization\XmlSerializationILGen.cs (1)
565internal static bool IsWildcard(SpecialMapping mapping)
System\Xml\Serialization\XmlSerializationReader.cs (3)
3797if (attribute.Mapping is SpecialMapping special) 4076if (text.Mapping is SpecialMapping special) 4805else if (element.Mapping is SpecialMapping special)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
2035if (attribute.Mapping is SpecialMapping special) 2317if (text.Mapping is SpecialMapping special) 3173else if (element.Mapping is SpecialMapping special)
System\Xml\Serialization\XmlSerializationWriter.cs (3)
3462if (attribute.Mapping is SpecialMapping special) 3895else if (text.Mapping is SpecialMapping simple) 4136else if (element.Mapping is SpecialMapping)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1358if (attribute.Mapping is SpecialMapping special) 1870else if (text.Mapping is SpecialMapping specialMapping) 2018else if (element.Mapping is SpecialMapping)