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)
162
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
357
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
1685
if (member.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
1952
if (member.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1457
member.CheckSpecified = SpecifiedAccessor.
ReadWrite
;
1483
member.CheckSpecified = SpecifiedAccessor.
ReadWrite
;
System\Xml\Serialization\XmlSerializationReader.cs (8)
2520
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
2700
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
3322
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
3459
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
3540
if (member.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
&& member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0)
3850
if (member.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
&& member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0)
4161
WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
? anyElement.CheckSpecifiedSource : null, false, false, -1, i);
4314
WriteElement(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)
447
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
1546
if (mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
)
2111
if (member.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
&& member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0)
2429
WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.
ReadWrite
? anyElement.CheckSpecifiedSource : null, false, false, -1, i);
2533
WriteElement(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);