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)
1143
PrimitiveMapping mapping = new
PrimitiveMapping
();
System\Xml\Serialization\XmlSchemaImporter.cs (4)
40
PrimitiveMapping mapping = new
PrimitiveMapping
();
1554
PrimitiveMapping mapping = new
PrimitiveMapping
();
1790
PrimitiveMapping mapping = new
PrimitiveMapping
();
1806
mapping = new
PrimitiveMapping
();
51 references to PrimitiveMapping
System.Private.Xml (51)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
882
else if (!element.Mapping!.IsSoap && (element.Mapping is
PrimitiveMapping
))
934
else if (element.Mapping is StructMapping || (element.Mapping.IsSoap && element.Mapping is
PrimitiveMapping
))
1441
if (mapping is StructMapping || mapping is ArrayMapping || mapping is
PrimitiveMapping
|| mapping is NullableMapping)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (5)
285
if (text.Mapping is
PrimitiveMapping
primitiveMapping)
397
else if (element.Mapping is
PrimitiveMapping
)
399
var
mapping = element.Mapping as
PrimitiveMapping
;
487
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)
650
if (mapping.BaseMapping is
PrimitiveMapping
&& baseMapping is
PrimitiveMapping
)
1024
else if (itemTypeMapping is
PrimitiveMapping
)
1141
private static
PrimitiveMapping
ImportPrimitiveMapping(PrimitiveModel model, ImportContext context, string dataType, bool repeats)
1143
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)
40
PrimitiveMapping
mapping = new PrimitiveMapping();
1092
if (!(mapping is
PrimitiveMapping
|| mapping!.TypeDesc!.CanBeTextValue))
1119
PrimitiveMapping
pm = (
PrimitiveMapping
)accessor.Mapping;
1554
PrimitiveMapping
mapping = new PrimitiveMapping();
1673
if (mapping != null && mapping is
PrimitiveMapping
)
1675
((
PrimitiveMapping
)mapping).IsList = true;
1787
private
PrimitiveMapping
ImportPrimitiveDataType(XmlSchemaSimpleType dataType, TypeFlags flags)
1790
PrimitiveMapping
mapping = new PrimitiveMapping();
1797
private static
PrimitiveMapping
? ImportNonXsdPrimitiveDataType(XmlSchemaSimpleType dataType, string? ns, TypeFlags flags)
1799
PrimitiveMapping
? mapping = null;
System\Xml\Serialization\XmlSerializationReader.cs (3)
3861
if (mapping is StructMapping || mapping is ArrayMapping || mapping is
PrimitiveMapping
|| mapping is NullableMapping)
4632
else if (!element.Mapping!.IsSoap && (element.Mapping is
PrimitiveMapping
))
4722
else if (element.Mapping is StructMapping || (element.Mapping.IsSoap && element.Mapping is
PrimitiveMapping
))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
3026
else if (element.Mapping is
PrimitiveMapping
)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3880
if (text.Mapping is
PrimitiveMapping
primitive)
4071
else if (element.Mapping is
PrimitiveMapping
primitiveMapping)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1874
if (text.Mapping is
PrimitiveMapping
primitiveMapping)
1999
else if (element.Mapping is
PrimitiveMapping
primitiveMapping)