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