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