10 writes to IncludeInSchema
System.Private.Xml (10)
System\Xml\Serialization\SchemaImporter.cs (1)
116
mapping.
IncludeInSchema
= false;
System\Xml\Serialization\SoapReflectionImporter.cs (3)
231
mapping.
IncludeInSchema
= false;
289
mapping.
IncludeInSchema
= false; //baseMapping.IncludeInSchema;
316
if (a.SoapType != null) mapping.
IncludeInSchema
= a.SoapType.IncludeInSchema;
System\Xml\Serialization\XmlReflectionImporter.cs (4)
642
mapping.
IncludeInSchema
= false;
687
mapping.
IncludeInSchema
= baseMapping.IncludeInSchema;
755
mapping.
IncludeInSchema
= a.XmlType.IncludeInSchema;
1209
mapping.
IncludeInSchema
= a.XmlType == null ? true : a.XmlType.IncludeInSchema;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1555
xmlnsMapping.
IncludeInSchema
= false;
1805
enumMapping.
IncludeInSchema
= false;
6 references to IncludeInSchema
System.Private.Xml (6)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
687
mapping.IncludeInSchema = baseMapping.
IncludeInSchema
;
System\Xml\Serialization\XmlSchemaExporter.cs (5)
231
if (!accessor.Mapping!.
IncludeInSchema
&& !accessor.Mapping.TypeDesc!.IsRoot)
975
if (!mapping.
IncludeInSchema
) throw new InvalidOperationException(SR.Format(SR.XmlCannotIncludeInSchema, mapping.TypeDesc.Name));
986
if (mapping.BaseMapping != null && mapping.BaseMapping.
IncludeInSchema
)
1137
if (derived.
IncludeInSchema
) ExportStructMapping(derived, derived.Namespace, null);
1143
if (!mapping.
IncludeInSchema
) throw new InvalidOperationException(SR.Format(SR.XmlCannotIncludeInSchema, mapping.TypeDesc!.Name));