22 references to ReadWrite
System.Private.Xml (22)
System\Xml\Serialization\Models.cs (3)
288_checkSpecified = checkSpecified ? SpecifiedAccessor.ReadWrite : SpecifiedAccessor.None; 310_checkSpecified = specifiedField.IsInitOnly ? SpecifiedAccessor.ReadOnly : SpecifiedAccessor.ReadWrite; 320_checkSpecified = specifiedProperty.CanWrite ? SpecifiedAccessor.ReadWrite : SpecifiedAccessor.ReadOnly;
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (4)
162if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 357if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1685if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1952if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite)
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1457member.CheckSpecified = SpecifiedAccessor.ReadWrite; 1483member.CheckSpecified = SpecifiedAccessor.ReadWrite;
System\Xml\Serialization\XmlSerializationReader.cs (8)
2520if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 2700if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3322if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3459if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3540if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 3850if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 4161WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i); 4314WriteElement(member.ArraySource, member.ArrayName, member.ChoiceArraySource, e, choice, member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? member.CheckSpecifiedSource : null, member.IsList && member.Mapping.TypeDesc!.IsNullable, member.Mapping.ReadOnly, member.FixupIndex, j);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
447if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1546if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 2111if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 2429WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i); 2533WriteElement(member.ArraySource, member.ArrayName, member.ChoiceArraySource, e, choice, member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? member.CheckSpecifiedSource : null, member.IsList && member.Mapping.TypeDesc!.IsNullable, member.Mapping.ReadOnly, member.FixupIndex, j);