5 references to XmlInvalidDefaultValue
System.Private.Xml (5)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
755
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, strValue, a.SoapDefaultValue.GetType().FullName));
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2163
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, strValue, a.XmlDefaultValue.GetType().FullName));
System\Xml\Serialization\XmlSchemaExporter.cs (3)
876
if (value.GetType() != typeof(string)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, SR.Format(SR.
XmlInvalidDefaultValue
, value, value.GetType().FullName)));
932
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, value, pm.TypeDesc.Name));
935
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, value, pm.TypeDesc.Name));