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