6 writes to ReadOnly
System.Xml (6)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
610
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
627
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1200
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
1227
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlSerializationReader.cs (1)
4195
memberMapping.
ReadOnly
= readOnly;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2879
memberMapping.
ReadOnly
= readOnly;
5 references to ReadOnly
System.Xml (5)
System\Xml\Serialization\XmlSerializationReader.cs (3)
3287
WriteAddCollectionFixup(td, member.Mapping.
ReadOnly
, memberSource, targetSource);
3672
if (member.IsList && !member.Mapping.
ReadOnly
&& member.Mapping.TypeDesc.IsNullable) {
3982
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 (2)
2214
if (member.IsList && !member.Mapping.
ReadOnly
&& member.Mapping.TypeDesc.IsNullable) {
2578
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);