7 writes to ReadOnly
System.Private.Xml (7)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1126
ReadOnly
= readOnly
System\Xml\Serialization\SoapReflectionImporter.cs (2)
658
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
677
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1385
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
1417
member.
ReadOnly
= model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlSerializationReader.cs (1)
4563
memberMapping.
ReadOnly
= readOnly;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2862
memberMapping.
ReadOnly
= readOnly;
8 references to ReadOnly
System.Private.Xml (8)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
815
WriteElement(e, isList && member.Mapping.TypeDesc.IsNullable, member.Mapping.
ReadOnly
, ns, member.FixupIndex, fixup, member);
1355
else if (!member.Mapping.
ReadOnly
)
1445
bool readOnly = member.Mapping.
ReadOnly
;
System\Xml\Serialization\XmlSerializationReader.cs (3)
3523
WriteAddCollectionFixup(td, member.Mapping.
ReadOnly
, memberSource, targetSource);
3944
if (member.IsList && !member.Mapping.
ReadOnly
&& member.Mapping.TypeDesc.IsNullable)
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 (2)
2161
if (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.
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);