1 type derived from PrimitiveMapping
System.Xml (1)
System\Xml\Serialization\Mappings.cs (1)
354
internal class EnumMapping :
PrimitiveMapping
{
11 instantiations of PrimitiveMapping
System.Xml (11)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
501
PrimitiveMapping mapping = new
PrimitiveMapping
();
System\Xml\Serialization\SoapSchemaImporter.cs (5)
449
mapping = new
PrimitiveMapping
();
538
mapping = new
PrimitiveMapping
();
583
mapping = new
PrimitiveMapping
();
596
PrimitiveMapping mapping = new
PrimitiveMapping
();
608
mapping = new
PrimitiveMapping
();
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1014
PrimitiveMapping mapping = new
PrimitiveMapping
();
System\Xml\Serialization\XmlSchemaImporter.cs (4)
79
PrimitiveMapping mapping = new
PrimitiveMapping
();
1475
PrimitiveMapping mapping = new
PrimitiveMapping
();
1681
PrimitiveMapping mapping = new
PrimitiveMapping
();
1694
mapping = new
PrimitiveMapping
();
71 references to PrimitiveMapping
System.Xml (71)
System\Xml\Serialization\SoapReflectionImporter.cs (6)
270
if (mapping.BaseMapping is
PrimitiveMapping
&& baseMapping is
PrimitiveMapping
)
279
else if (!(baseMapping is
PrimitiveMapping
)){
455
else if (itemTypeMapping is
PrimitiveMapping
) {
500
PrimitiveMapping
ImportPrimitiveMapping(PrimitiveModel model, string dataType) {
501
PrimitiveMapping
mapping = new PrimitiveMapping();
System\Xml\Serialization\SoapSchemaExporter.cs (5)
156
else if (mapping is
PrimitiveMapping
) {
157
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
175
XmlQualifiedName ExportNonXsdPrimitiveMapping(
PrimitiveMapping
mapping, string ns) {
186
XmlQualifiedName ExportPrimitiveMapping(
PrimitiveMapping
mapping) {
System\Xml\Serialization\SoapSchemaImporter.cs (4)
594
PrimitiveMapping
ImportPrimitiveDataType(XmlSchemaSimpleType dataType) {
596
PrimitiveMapping
mapping = new PrimitiveMapping();
602
PrimitiveMapping
ImportNonXsdPrimitiveDataType(XmlSchemaSimpleType dataType, string ns) {
603
PrimitiveMapping
mapping = null;
System\Xml\Serialization\XmlCodeExporter.cs (7)
190
CodeAttributeArgument[] GetDefaultValueArguments(
PrimitiveMapping
mapping, object value, out CodeExpression initExpression) {
316
if (!(mapping is
PrimitiveMapping
))
347
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
416
if (!(mapping is
PrimitiveMapping
)) {
423
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
System\Xml\Serialization\XmlReflectionImporter.cs (5)
587
if (mapping.BaseMapping is
PrimitiveMapping
&& baseMapping is
PrimitiveMapping
)
906
else if (itemTypeMapping is
PrimitiveMapping
) {
1013
PrimitiveMapping
ImportPrimitiveMapping(PrimitiveModel model, ImportContext context, string dataType, bool repeats) {
1014
PrimitiveMapping
mapping = new PrimitiveMapping();
System\Xml\Serialization\XmlSchemaExporter.cs (17)
341
else if (mapping is
PrimitiveMapping
) {
342
ExportPrimitiveMapping((
PrimitiveMapping
)mapping, ns);
359
else if (mapping is
PrimitiveMapping
) {
360
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
382
XmlQualifiedName ExportNonXsdPrimitiveMapping(
PrimitiveMapping
mapping, string ns) {
515
XmlSchemaType ExportAnonymousPrimitiveMapping(
PrimitiveMapping
mapping) {
524
XmlQualifiedName ExportPrimitiveMapping(
PrimitiveMapping
mapping, string ns) {
686
if (accessor.Mapping is
PrimitiveMapping
) {
687
PrimitiveMapping
pm = (
PrimitiveMapping
)accessor.Mapping;
774
if (!(mapping is
PrimitiveMapping
))
813
PrimitiveMapping
pm = (
PrimitiveMapping
)mapping;
960
if (textMapping is
PrimitiveMapping
&& seq.Items.Count == 0) {
961
PrimitiveMapping
pm = (
PrimitiveMapping
)textMapping;
System\Xml\Serialization\XmlSchemaImporter.cs (11)
79
PrimitiveMapping
mapping = new PrimitiveMapping();
1057
if (!(mapping is
PrimitiveMapping
|| mapping.TypeDesc.CanBeTextValue)) {
1080
PrimitiveMapping
pm = (
PrimitiveMapping
)accessor.Mapping;
1475
PrimitiveMapping
mapping = new PrimitiveMapping();
1579
if (mapping != null && mapping is
PrimitiveMapping
) {
1580
((
PrimitiveMapping
)mapping).IsList = true;
1679
PrimitiveMapping
ImportPrimitiveDataType(XmlSchemaSimpleType dataType, TypeFlags flags) {
1681
PrimitiveMapping
mapping = new PrimitiveMapping();
1688
PrimitiveMapping
ImportNonXsdPrimitiveDataType(XmlSchemaSimpleType dataType, string ns, TypeFlags flags) {
1689
PrimitiveMapping
mapping = null;
System\Xml\Serialization\XmlSerializationReader.cs (3)
3608
if (mapping is StructMapping || mapping is ArrayMapping || mapping is
PrimitiveMapping
|| mapping is NullableMapping) {
4268
else if (!element.Mapping.IsSoap && (element.Mapping is
PrimitiveMapping
)) {
4345
else if (element.Mapping is StructMapping || (element.Mapping.IsSoap && element.Mapping is
PrimitiveMapping
)) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
3011
else if (element.Mapping is
PrimitiveMapping
) {
System\Xml\Serialization\XmlSerializationWriter.cs (6)
2722
if (text.Mapping is
PrimitiveMapping
) {
2723
PrimitiveMapping
mapping = (
PrimitiveMapping
)text.Mapping;
2890
else if (element.Mapping is
PrimitiveMapping
) {
2891
PrimitiveMapping
mapping = (
PrimitiveMapping
)element.Mapping;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (6)
1797
if (text.Mapping is
PrimitiveMapping
) {
1798
PrimitiveMapping
mapping = (
PrimitiveMapping
)text.Mapping;
1913
else if (element.Mapping is
PrimitiveMapping
) {
1914
PrimitiveMapping
mapping = (
PrimitiveMapping
)element.Mapping;