49 references to SpecifiedAccessor
System.Xml (49)
System\Xml\Serialization\Mappings.cs (2)
793
SpecifiedAccessor
checkSpecified;
822
internal
SpecifiedAccessor
CheckSpecified {
System\Xml\Serialization\Models.cs (10)
221
SpecifiedAccessor
checkSpecified =
SpecifiedAccessor
.None;
239
this.checkSpecified = checkSpecified ?
SpecifiedAccessor
.ReadWrite :
SpecifiedAccessor
.None;
257
this.checkSpecified = specifiedField.IsInitOnly ?
SpecifiedAccessor
.ReadOnly :
SpecifiedAccessor
.ReadWrite;
264
this.checkSpecified = specifiedProperty.CanWrite ?
SpecifiedAccessor
.ReadWrite :
SpecifiedAccessor
.ReadOnly;
267
if (this.checkSpecified !=
SpecifiedAccessor
.None && specifiedProperty.PropertyType != typeof(bool)) {
297
internal
SpecifiedAccessor
CheckSpecified {
System\Xml\Serialization\SoapCodeExporter.cs (2)
227
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
250
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
System\Xml\Serialization\SoapSchemaExporter.cs (1)
325
bool valueTypeOptional = member.CheckSpecified !=
SpecifiedAccessor
.None || member.CheckShouldPersist || !member.TypeDesc.IsValueType;
System\Xml\Serialization\SoapSchemaImporter.cs (1)
510
member.CheckSpecified =
SpecifiedAccessor
.ReadWrite;
System\Xml\Serialization\XmlCodeExporter.cs (2)
712
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
735
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
System\Xml\Serialization\XmlMemberMapping.cs (1)
98
get { return mapping.CheckSpecified !=
SpecifiedAccessor
.None; }
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\XmlSchemaImporter.cs (2)
1364
member.CheckSpecified =
SpecifiedAccessor
.ReadWrite;
1385
member.CheckSpecified =
SpecifiedAccessor
.ReadWrite;
System\Xml\Serialization\XmlSerializationReader.cs (8)
2374
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite) {
2533
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite) {
3104
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite)
3227
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite)
3302
if (member.Mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) {
3590
if (member.Mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) {
3863
WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i);
3982
WriteElement(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)
465
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite) {
1578
if (mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite)
2172
if (member.Mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite && member.CheckSpecifiedSource != null && member.CheckSpecifiedSource.Length > 0) {
2487
WriteElement(anyElement.ArraySource, anyElement.ArrayName, anyElement.ChoiceArraySource, element, anyElement.Mapping.ChoiceIdentifier, anyElement.Mapping.CheckSpecified ==
SpecifiedAccessor
.ReadWrite ? anyElement.CheckSpecifiedSource : null, false, false, -1, i);
2578
WriteElement(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)
1652
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
1699
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
2132
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
2142
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
2168
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
2184
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
3439
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
System\Xml\Serialization\XmlSerializationWriterILGen.cs (6)
387
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
436
if (member.CheckSpecified !=
SpecifiedAccessor
.None) {
1046
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
1053
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
1074
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {
1089
if (m.CheckSpecified !=
SpecifiedAccessor
.None) {