5 writes to Constants
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
614
mapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
653
enumMapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
1220
mapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1875
enumMapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
1922
enumMapping.
Constants
= (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
33 references to Constants
dotnet-svcutil-lib (33)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (3)
245
if (mapping.IsFlags && mapping.
Constants
.Length > 31)
251
for (int i = 0; i < mapping.
Constants
.Length; i++)
253
ExportConstant(codeClass, mapping.
Constants
[i], type, mapping.IsFlags, 1L << i);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (2)
420
for (int i = 0; i < mapping.
Constants
.Length; i++)
422
ConstantMapping constant = mapping.
Constants
[i];
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
654
if (isList && enumMapping.
Constants
.Length > 63)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
361
ConstantMapping[] c = em.
Constants
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
1982
for (int j = 0; j < choiceMapping.
Constants
.Length; j++)
1984
string xmlName = choiceMapping.
Constants
[j].XmlName;
1991
accessor.ChoiceIdentifier.MemberIds[i] = choiceMapping.
Constants
[j].Name;
2005
accessor.ChoiceIdentifier.MemberIds[i] = choiceMapping.
Constants
[j].Name;
2117
for (int i = 0; i < choiceMapping.
Constants
.Length; i++)
2119
string choiceId = choiceMapping.
Constants
[i].XmlName;
2129
ids.Add(choiceName, choiceNs, choiceMapping.
Constants
[i]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
923
ConstantMapping[] c = em.
Constants
;
1201
for (int i = 0; i < mapping.
Constants
.Length; i++)
1203
ConstantMapping constant = mapping.
Constants
[i];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
949
ConstantMapping[] constants = ((EnumMapping)member.ChoiceIdentifier.Mapping).
Constants
;
1876
if (isList && enumMapping.
Constants
.Length > 63)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (7)
2150
ConstantMapping[] constants = mapping.
Constants
;
3663
for (int i = 0; i < choiceMapping.
Constants
.Length; i++)
3665
string xmlName = choiceMapping.
Constants
[i].XmlName;
3672
enumValue = choiceMapping.
Constants
[i].Value.ToString();
3674
enumValue = choiceMapping.
Constants
[i].Name;
3688
enumValue = choiceMapping.
Constants
[i].Value.ToString();
3690
enumValue = choiceMapping.
Constants
[i].Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
629
ConstantMapping[] constants = mapping.
Constants
;
2379
for (int i = 0; i < choiceMapping.
Constants
.Length; i++)
2381
string xmlName = choiceMapping.
Constants
[i].XmlName;
2387
enumValue = choiceMapping.
Constants
[i].Name;
2388
eValue = Enum.ToObject(choiceMapping.TypeDesc.Type, choiceMapping.
Constants
[i].Value);
2401
enumValue = choiceMapping.
Constants
[i].Name;
2402
eValue = Enum.ToObject(choiceMapping.TypeDesc.Type, choiceMapping.
Constants
[i].Value);