4 writes to CheckShouldPersist
System.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
608
member.
CheckShouldPersist
= model.CheckShouldPersist;
622
member.
CheckShouldPersist
= model.CheckShouldPersist;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1198
member.
CheckShouldPersist
= model.CheckShouldPersist;
1222
member.
CheckShouldPersist
= model.CheckShouldPersist;
10 references to CheckShouldPersist
System.Xml (10)
System\Xml\Serialization\SoapSchemaExporter.cs (1)
325
bool valueTypeOptional = member.CheckSpecified != SpecifiedAccessor.None || member.
CheckShouldPersist
|| !member.TypeDesc.IsValueType;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
940
bool valueTypeOptional = member.CheckSpecified != SpecifiedAccessor.None || member.
CheckShouldPersist
;
986
ExportAttributeAccessor(type, members[i].Attribute, members[i].CheckSpecified != SpecifiedAccessor.None || members[i].
CheckShouldPersist
, ns);
System\Xml\Serialization\XmlSerializationWriter.cs (4)
2124
if (m.
CheckShouldPersist
) {
2146
if (m.
CheckShouldPersist
) {
2158
bool checkShouldPersist = m.
CheckShouldPersist
&& (m.Elements.Length > 0 || m.Text != null);
3435
if (member.
CheckShouldPersist
){
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1041
if (m.
CheckShouldPersist
) {
1056
if (m.
CheckShouldPersist
) {
1067
bool checkShouldPersist = m.
CheckShouldPersist
&& (m.Elements.Length > 0 || m.Text != null);