4 writes to Constants
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
585
mapping.
Constants
= constants.ToArray();
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1224
mapping.
Constants
= constants.ToArray();
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1773
enumMapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
1821
enumMapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
33 references to Constants
System.Private.Xml (33)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
1274
foreach (ConstantMapping c in mapping.
Constants
!)
1289
ConstantMapping[] constants = mapping.
Constants
!;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
693
ConstantMapping[] constants = mapping.
Constants
!;
System\Xml\Serialization\XmlReflectionImporter.cs (7)
1993
for (int j = 0; j < choiceMapping.
Constants
!.Length; j++)
1995
string xmlName = choiceMapping.
Constants
[j].XmlName;
2002
accessor.ChoiceIdentifier.MemberIds[i] = choiceMapping.
Constants
[j].Name;
2016
accessor.ChoiceIdentifier.MemberIds[i] = choiceMapping.
Constants
[j].Name;
2128
for (int i = 0; i < choiceMapping.
Constants
!.Length; i++)
2130
string choiceId = choiceMapping.
Constants
[i].XmlName;
2140
ids.Add(choiceName, choiceNs, choiceMapping.
Constants
[i]);
System\Xml\Serialization\XmlSchemaExporter.cs (3)
880
ConstantMapping[] c = em.
Constants
!;
1158
for (int i = 0; i < mapping.
Constants
!.Length; i++)
1160
ConstantMapping constant = mapping.
Constants
[i];
System\Xml\Serialization\XmlSchemaImporter.cs (2)
847
ConstantMapping[] constants = ((EnumMapping)member.ChoiceIdentifier.Mapping).
Constants
!;
1774
if (isList && enumMapping.
Constants
.Length > 63)
System\Xml\Serialization\XmlSerializationReader.cs (2)
2929
ConstantMapping[] constants = mapping.
Constants
!;
3000
ConstantMapping[] constants = mapping.
Constants
!;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
982
ConstantMapping[] constants = mapping.
Constants
!;
1041
ConstantMapping[] constants = mapping.
Constants
!;
System\Xml\Serialization\XmlSerializationWriter.cs (7)
2883
ConstantMapping[] constants = mapping.
Constants
!;
4449
for (int i = 0; i < choiceMapping.
Constants
!.Length; i++)
4451
string xmlName = choiceMapping.
Constants
[i].XmlName;
4458
enumValue = choiceMapping.
Constants
[i].Value.ToString(CultureInfo.InvariantCulture);
4460
enumValue = choiceMapping.
Constants
[i].Name;
4474
enumValue = choiceMapping.
Constants
[i].Value.ToString(CultureInfo.InvariantCulture);
4476
enumValue = choiceMapping.
Constants
[i].Name;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
614
ConstantMapping[] constants = mapping.
Constants
!;
2244
for (int i = 0; i < choiceMapping.
Constants
!.Length; i++)
2246
string xmlName = choiceMapping.
Constants
[i].XmlName;
2252
enumValue = choiceMapping.
Constants
[i].Name;
2253
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.
Constants
[i].Value);
2266
enumValue = choiceMapping.
Constants
[i].Name;
2267
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.
Constants
[i].Value);