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