5 references to ReadOnly
System.Xml (5)
System\Xml\Serialization\Models.cs (1)
157if (model.ReadOnly && model.FieldTypeDesc.Kind != TypeKind.Collection && model.FieldTypeDesc.Kind != TypeKind.Enumerable)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
610member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor; 627member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1200member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor; 1227member.ReadOnly = model.ReadOnly; // || !model.FieldTypeDesc.HasDefaultConstructor;