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