12 writes to IncludeInSchema
dotnet-svcutil-lib (12)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
186
mapping.
IncludeInSchema
= false;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (3)
263
mapping.
IncludeInSchema
= false;
319
mapping.
IncludeInSchema
= false; //baseMapping.IncludeInSchema;
345
if (a.SoapType != null) mapping.
IncludeInSchema
= a.SoapType.IncludeInSchema;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
264
mapping.
IncludeInSchema
= false;
333
structMapping.
IncludeInSchema
= false;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (4)
644
mapping.
IncludeInSchema
= false;
688
mapping.
IncludeInSchema
= baseMapping.IncludeInSchema;
754
mapping.
IncludeInSchema
= a.XmlType.IncludeInSchema;
1205
mapping.
IncludeInSchema
= a.XmlType == null ? true : a.XmlType.IncludeInSchema;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1659
xmlnsMapping.
IncludeInSchema
= false;
1906
enumMapping.
IncludeInSchema
= false;
13 references to IncludeInSchema
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
189
if (!derived.ReferencedByElement && derived.
IncludeInSchema
&& !derived.IsAnonymousType)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
116
AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.
IncludeInSchema
);
129
if (!mapping.
IncludeInSchema
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
323
if (!mapping.
IncludeInSchema
) throw new InvalidOperationException(string.Format(ResXml.XmlSoapCannotIncludeInSchema, mapping.TypeDesc.Name));
331
if (mapping.BaseMapping != null && mapping.BaseMapping.
IncludeInSchema
)
402
if (derived.
IncludeInSchema
) ExportStructMapping(derived, mapping.TypeDesc.IsRoot ? null : mapping.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
164
AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.
IncludeInSchema
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
688
mapping.IncludeInSchema = baseMapping.
IncludeInSchema
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (5)
258
if (!accessor.Mapping.
IncludeInSchema
&& !accessor.Mapping.TypeDesc.IsRoot)
1018
if (!mapping.
IncludeInSchema
) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.Name));
1029
if (mapping.BaseMapping != null && mapping.BaseMapping.
IncludeInSchema
)
1180
if (derived.
IncludeInSchema
) ExportStructMapping(derived, derived.Namespace, null);
1186
if (!mapping.
IncludeInSchema
) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.Name));