4 writes to Value
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
601
constant.
Value
= model.Value;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1241
constant.
Value
= model.Value;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1769
constant.
Value
= i;
1819
constant.
Value
= i;
18 references to Value
System.Private.Xml (18)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1292
h.Add(constants[i].XmlName, constants[i].
Value
);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
701
if (enumValue == c.
Value
)
719
valueIds[i] = constants[i].
Value
;
System\Xml\Serialization\XmlSerializationReader.cs (1)
2946
Writer.Write(string.Create(CultureInfo.InvariantCulture, $"{constants[i].
Value
}L"));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
993
ilg.Ldc(Enum.ToObject(mapping.TypeDesc!.Type!, constants[i].
Value
));
1096
retValues.Add(Enum.ToObject(mapping.TypeDesc.Type!, c.
Value
));
System\Xml\Serialization\XmlSerializationWriter.cs (7)
2117
_writer.Write(c.
Value
.ToString(CultureInfo.InvariantCulture));
2896
if (values[c.
Value
] == null)
2902
values.Add(c.
Value
, c.
Value
);
2931
Writer.Write(c.
Value
.ToString(CultureInfo.InvariantCulture));
4458
enumValue = choiceMapping.Constants[i].
Value
.ToString(CultureInfo.InvariantCulture);
4474
enumValue = choiceMapping.Constants[i].
Value
.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
630
if (values.Add(c.
Value
))
634
ilg.Ldc(Enum.ToObject(mapping.TypeDesc.Type!, c.
Value
));
675
ilg.Ldc(c.
Value
);
2253
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.Constants[i].
Value
);
2267
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.Constants[i].
Value
);