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)
1222
constant.
Value
= model.Value;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1730
constant.
Value
= i;
1779
constant.
Value
= i;
18 references to Value
System.Private.Xml (18)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1327
h.Add(constants[i].XmlName, constants[i].
Value
);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
714
if (enumValue == c.
Value
)
732
valueIds[i] = constants[i].
Value
;
System\Xml\Serialization\XmlSerializationReader.cs (1)
2935
Writer.Write(string.Create(CultureInfo.InvariantCulture, $"{constants[i].
Value
}L"));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
1002
ilg.Ldc(Enum.ToObject(mapping.TypeDesc!.Type!, constants[i].
Value
));
1106
retValues.Add(Enum.ToObject(mapping.TypeDesc.Type!, c.
Value
));
System\Xml\Serialization\XmlSerializationWriter.cs (7)
2115
_writer.Write(c.
Value
.ToString(CultureInfo.InvariantCulture));
2894
if (values[c.
Value
] == null)
2900
values.Add(c.
Value
, c.
Value
);
2929
Writer.Write(c.
Value
.ToString(CultureInfo.InvariantCulture));
4456
enumValue = choiceMapping.Constants[i].
Value
.ToString(CultureInfo.InvariantCulture);
4472
enumValue = choiceMapping.Constants[i].
Value
.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
644
if (values.Add(c.
Value
))
648
ilg.Ldc(Enum.ToObject(mapping.TypeDesc.Type!, c.
Value
));
689
ilg.Ldc(c.
Value
);
2285
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.Constants[i].
Value
);
2299
eValue = Enum.ToObject(choiceMapping.TypeDesc!.Type!, choiceMapping.Constants[i].
Value
);