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