6 writes to CheckSpecified
System.Private.Xml (6)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
657member.CheckSpecified = model.CheckSpecified; 673member.CheckSpecified = model.CheckSpecified;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1384member.CheckSpecified = model.CheckSpecified; 1413member.CheckSpecified = model.CheckSpecified;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1457member.CheckSpecified = SpecifiedAccessor.ReadWrite; 1483member.CheckSpecified = SpecifiedAccessor.ReadWrite;
37 references to CheckSpecified
System.Private.Xml (37)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (4)
162if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 357if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1685if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1952if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (4)
581if (m.CheckSpecified != SpecifiedAccessor.None) 613if (m.CheckSpecified != SpecifiedAccessor.None) 1219if (member.CheckSpecified != SpecifiedAccessor.None) 1250if (member.CheckSpecified != SpecifiedAccessor.None)
System\Xml\Serialization\XmlMemberMapping.cs (1)
95get { return _mapping.CheckSpecified != SpecifiedAccessor.None; }
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\XmlSerializationReader.cs (8)
2520if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 2700if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3322if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3459if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 3540if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 3850if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 4161WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i); 4314WriteElement(member.ArraySource, member.ArrayName, member.ChoiceArraySource, e, choice, member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? member.CheckSpecifiedSource : null, member.IsList && member.Mapping.TypeDesc!.IsNullable, member.Mapping.ReadOnly, member.FixupIndex, j);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
447if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 1546if (mapping.CheckSpecified == SpecifiedAccessor.ReadWrite) 2111if (member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) 2429WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i); 2533WriteElement(member.ArraySource, member.ArrayName, member.ChoiceArraySource, e, choice, member.Mapping.CheckSpecified == SpecifiedAccessor.ReadWrite ? member.CheckSpecifiedSource : null, member.IsList && member.Mapping.TypeDesc!.IsNullable, member.Mapping.ReadOnly, member.FixupIndex, j);
System\Xml\Serialization\XmlSerializationWriter.cs (7)
1709if (member.CheckSpecified != SpecifiedAccessor.None) 2657if (member.CheckSpecified != SpecifiedAccessor.None) 2710if (member.CheckSpecified != SpecifiedAccessor.None) 3199if (m.CheckSpecified != SpecifiedAccessor.None) 3210if (m.CheckSpecified != SpecifiedAccessor.None) 3240if (m.CheckSpecified != SpecifiedAccessor.None) 3258if (m.CheckSpecified != SpecifiedAccessor.None)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (6)
415if (member.CheckSpecified != SpecifiedAccessor.None) 470if (member.CheckSpecified != SpecifiedAccessor.None) 1080if (m.CheckSpecified != SpecifiedAccessor.None) 1088if (m.CheckSpecified != SpecifiedAccessor.None) 1113if (m.CheckSpecified != SpecifiedAccessor.None) 1129if (m.CheckSpecified != SpecifiedAccessor.None)