2 references to XmlCannotIncludeInSchema
System.Private.Xml (2)
System\Xml\Serialization\XmlSchemaExporter.cs (2)
975
if (!mapping.IncludeInSchema) throw new InvalidOperationException(SR.Format(SR.
XmlCannotIncludeInSchema
, mapping.TypeDesc.Name));
1143
if (!mapping.IncludeInSchema) throw new InvalidOperationException(SR.Format(SR.
XmlCannotIncludeInSchema
, mapping.TypeDesc!.Name));