7 writes to ReadOnly
System.Private.Xml (7)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1126ReadOnly = readOnly
System\Xml\Serialization\SoapReflectionImporter.cs (2)
658member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor; 677member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1385member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor; 1417member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlSerializationReader.cs (1)
4563memberMapping.ReadOnly = readOnly;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2862memberMapping.ReadOnly = readOnly;
8 references to ReadOnly
System.Private.Xml (8)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
815WriteElement(e, isList && member.Mapping.TypeDesc.IsNullable, member.Mapping.ReadOnly, ns, member.FixupIndex, fixup, member); 1355else if (!member.Mapping.ReadOnly) 1445bool readOnly = member.Mapping.ReadOnly;
System\Xml\Serialization\XmlSerializationReader.cs (3)
3523WriteAddCollectionFixup(td, member.Mapping.ReadOnly, memberSource, targetSource); 3944if (member.IsList && !member.Mapping.ReadOnly && member.Mapping.TypeDesc.IsNullable) 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 (2)
2161if (member.IsList && !member.Mapping.ReadOnly) //&& member.Mapping.TypeDesc.IsNullable) // nullable or not, we are likely to assign null in the next step if we don't do this initialization. So just do this. 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);