1 type derived from PrimitiveMapping
System.Private.Xml (1)
System\Xml\Serialization\Mappings.cs (1)
422
internal sealed class EnumMapping :
PrimitiveMapping
6 instantiations of PrimitiveMapping
System.Private.Xml (6)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
530
PrimitiveMapping mapping = new
PrimitiveMapping
();
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1162
PrimitiveMapping mapping = new
PrimitiveMapping
();
System\Xml\Serialization\XmlSchemaImporter.cs (4)
43
PrimitiveMapping mapping = new
PrimitiveMapping
();
1590
PrimitiveMapping mapping = new
PrimitiveMapping
();
1830
PrimitiveMapping mapping = new
PrimitiveMapping
();
1846
mapping = new
PrimitiveMapping
();
51 references to PrimitiveMapping
System.Private.Xml (51)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
855
else if (!element.Mapping!.IsSoap && (element.Mapping is
PrimitiveMapping
))
907
else if (element.Mapping is StructMapping || (element.Mapping.IsSoap && element.Mapping is
PrimitiveMapping
))
1400
if (mapping is StructMapping || mapping is ArrayMapping || mapping is
PrimitiveMapping
|| mapping is NullableMapping)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (5)
279
if (text.Mapping is
PrimitiveMapping
primitiveMapping)
390
else if (element.Mapping is
PrimitiveMapping
)
392
var
mapping = element.Mapping as
PrimitiveMapping
;
477
private void WriteQualifiedNameElement(string name, string ns, object? defaultValue, XmlQualifiedName o, bool nullable, bool isSoap,
PrimitiveMapping
mapping)
System\Xml\Serialization\SoapReflectionImporter.cs (6)
268
if (mapping.BaseMapping is
PrimitiveMapping
&& baseMapping is
PrimitiveMapping
)
279
else if (!(baseMapping is
PrimitiveMapping
))
475
else if (itemTypeMapping is
PrimitiveMapping
)
528
private static
PrimitiveMapping
ImportPrimitiveMapping(PrimitiveModel model, string dataType)
530
PrimitiveMapping
mapping = new PrimitiveMapping();
System\Xml\Serialization\XmlReflectionImporter.cs (5)
666
if (mapping.BaseMapping is
PrimitiveMapping
&& baseMapping is
PrimitiveMapping
)
1042
else if (itemTypeMapping is
PrimitiveMapping
)
1160
private static
PrimitiveMapping
ImportPrimitiveMapping(PrimitiveModel model, ImportContext context, string dataType, bool repeats)
1162
PrimitiveMapping
mapping = new PrimitiveMapping();
System\Xml\Serialization\XmlSchemaExporter.cs (13)
351
else if (mapping is
PrimitiveMapping
)
353
ExportPrimitiveMapping((
PrimitiveMapping
)mapping, ns);
371
else if (mapping is
PrimitiveMapping
pm)
398
private XmlQualifiedName ExportNonXsdPrimitiveMapping(
PrimitiveMapping
mapping, string? ns)
554
private XmlSchemaSimpleType ExportAnonymousPrimitiveMapping(
PrimitiveMapping
mapping)
566
private XmlQualifiedName ExportPrimitiveMapping(
PrimitiveMapping
mapping, string? ns)
761
if (accessor.Mapping is
PrimitiveMapping
pm)
865
if (!(mapping is
PrimitiveMapping
))
908
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
1085
if (textMapping is
PrimitiveMapping
&& seq.Items.Count == 0)
1087
PrimitiveMapping
pm = (
PrimitiveMapping
)textMapping;
System\Xml\Serialization\XmlSchemaImporter.cs (11)
43
PrimitiveMapping
mapping = new PrimitiveMapping();
1123
if (!(mapping is
PrimitiveMapping
|| mapping!.TypeDesc!.CanBeTextValue))
1150
PrimitiveMapping
pm = (
PrimitiveMapping
)accessor.Mapping;
1590
PrimitiveMapping
mapping = new PrimitiveMapping();
1711
if (mapping != null && mapping is
PrimitiveMapping
)
1713
((
PrimitiveMapping
)mapping).IsList = true;
1827
private
PrimitiveMapping
ImportPrimitiveDataType(XmlSchemaSimpleType dataType, TypeFlags flags)
1830
PrimitiveMapping
mapping = new PrimitiveMapping();
1837
private static
PrimitiveMapping
? ImportNonXsdPrimitiveDataType(XmlSchemaSimpleType dataType, string? ns, TypeFlags flags)
1839
PrimitiveMapping
? mapping = null;
System\Xml\Serialization\XmlSerializationReader.cs (3)
3872
if (mapping is StructMapping || mapping is ArrayMapping || mapping is
PrimitiveMapping
|| mapping is NullableMapping)
4643
else if (!element.Mapping!.IsSoap && (element.Mapping is
PrimitiveMapping
))
4733
else if (element.Mapping is StructMapping || (element.Mapping.IsSoap && element.Mapping is
PrimitiveMapping
))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2994
else if (element.Mapping is
PrimitiveMapping
)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3882
if (text.Mapping is
PrimitiveMapping
primitive)
4073
else if (element.Mapping is
PrimitiveMapping
primitiveMapping)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1851
if (text.Mapping is
PrimitiveMapping
primitiveMapping)
1975
else if (element.Mapping is
PrimitiveMapping
primitiveMapping)