4 writes to CheckShouldPersist
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
684
member.
CheckShouldPersist
= model.CheckShouldPersist;
699
member.
CheckShouldPersist
= model.CheckShouldPersist;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
1376
member.
CheckShouldPersist
= model.CheckShouldPersist;
1403
member.
CheckShouldPersist
= model.CheckShouldPersist;
10 references to CheckShouldPersist
dotnet-svcutil-lib (10)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
376
bool valueTypeOptional = member.CheckSpecified != SpecifiedAccessor.None || member.
CheckShouldPersist
|| !member.TypeDesc.IsValueType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
1103
bool valueTypeOptional = member.CheckSpecified != SpecifiedAccessor.None || member.
CheckShouldPersist
;
1161
ExportAttributeAccessor(type, members[i].Attribute, members[i].CheckSpecified != SpecifiedAccessor.None || members[i].
CheckShouldPersist
, ns);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
2455
if (m.
CheckShouldPersist
)
2480
if (m.
CheckShouldPersist
)
2494
bool checkShouldPersist = m.
CheckShouldPersist
&& (m.Elements.Length > 0 || m.Text != null);
3925
if (member.
CheckShouldPersist
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1129
if (m.
CheckShouldPersist
)
1147
if (m.
CheckShouldPersist
)
1160
bool checkShouldPersist = m.
CheckShouldPersist
&& (m.Elements.Length > 0 || m.Text != null);