4 writes to CheckShouldPersist
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
656member.CheckShouldPersist = model.CheckShouldPersist; 672member.CheckShouldPersist = model.CheckShouldPersist;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1383member.CheckShouldPersist = model.CheckShouldPersist; 1412member.CheckShouldPersist = model.CheckShouldPersist;
12 references to CheckShouldPersist
System.Private.Xml (12)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
587if (m.CheckShouldPersist) 619if (m.CheckShouldPersist) 626bool checkShouldPersist = m.CheckShouldPersist && (m.Elements!.Length > 0 || m.Text != null);
System\Xml\Serialization\XmlSchemaExporter.cs (2)
1060bool valueTypeOptional = member.CheckSpecified != SpecifiedAccessor.None || member.CheckShouldPersist; 1118ExportAttributeAccessor(type, members[i].Attribute, members[i].CheckSpecified != SpecifiedAccessor.None || members[i].CheckShouldPersist, ns);
System\Xml\Serialization\XmlSerializationWriter.cs (4)
1704if (member.CheckShouldPersist) 3190if (m.CheckShouldPersist) 3215if (m.CheckShouldPersist) 3229bool checkShouldPersist = m.CheckShouldPersist && (m.Elements!.Length > 0 || m.Text != null);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1074if (m.CheckShouldPersist) 1092if (m.CheckShouldPersist) 1105bool checkShouldPersist = m.CheckShouldPersist && (m.Elements!.Length > 0 || m.Text != null);