3 instantiations of SerializableMapping
System.Private.Xml (3)
System\Xml\Serialization\XmlReflectionImporter.cs (3)
531serializableMapping = new SerializableMapping(method, provider.IsAny, ns); 568serializableMapping = new SerializableMapping(); 607SerializableMapping baseMapping = new SerializableMapping(baseQname, schemas);
42 references to SerializableMapping
System.Private.Xml (42)
System\Xml\Serialization\Mappings.cs (8)
1051private SerializableMapping? _baseMapping; 1052private SerializableMapping? _derivedMappings; 1053private SerializableMapping? _nextDerivedMapping; 1054private SerializableMapping? _next; // all mappings with the same qname 1074internal void SetBaseMapping(SerializableMapping? mapping) 1133internal SerializableMapping? DerivedMappings 1141internal SerializableMapping? NextDerivedMapping 1149internal SerializableMapping? Next
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
967SerializableMapping sm = (SerializableMapping)element.Mapping; 1072if (mapping is SerializableMapping serializableMapping)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
432if (element.Mapping is SerializableMapping)
System\Xml\Serialization\XmlReflectionImporter.cs (10)
521SerializableMapping? serializableMapping; 536SerializableMapping? existingMapping = (SerializableMapping?)_serializables[qname]; 545SerializableMapping? next = existingMapping.Next; 585internal void SetBase(SerializableMapping mapping, XmlQualifiedName baseQname) 607SerializableMapping baseMapping = new SerializableMapping(baseQname, schemas); 611mapping.SetBaseMapping((SerializableMapping?)_serializables[baseQname]); 2232if (mapping is SerializableMapping) return; 2240if (!isAny && mapping is SerializableMapping) 2242isAny = ((SerializableMapping)mapping).IsAny;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
436SerializableMapping serializableMapping = (SerializableMapping)mapping; 952else if (mapping is SerializableMapping) 954ExportSpecialMapping((SerializableMapping)mapping, mapping.Namespace, false, null);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
399if (mapping is SerializableMapping) 400return ((SerializableMapping)mapping).IsAny;
System\Xml\Serialization\XmlSerializationILGen.cs (2)
567if (mapping is SerializableMapping) 568return ((SerializableMapping)mapping).IsAny;
System\Xml\Serialization\XmlSerializationReader.cs (5)
4819SerializableMapping sm = (SerializableMapping)element.Mapping; 4884private void WriteDerivedSerializable(SerializableMapping head, SerializableMapping mapping, string source, bool isWrappedAny) 4888for (SerializableMapping? derived = mapping.DerivedMappings; derived != null; derived = derived.NextDerivedMapping)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
3194SerializableMapping sm = (SerializableMapping)element.Mapping; 3267private void WriteDerivedSerializable(SerializableMapping head, SerializableMapping? mapping, string source, bool isWrappedAny) 3271for (SerializableMapping? derived = mapping.DerivedMappings; derived != null; derived = derived.NextDerivedMapping)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
4138if (element.Mapping is SerializableMapping)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2020if (element.Mapping is SerializableMapping)