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)
2164
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, strValue, a.XmlDefaultValue.GetType().FullName));
System\Xml\Serialization\XmlSchemaExporter.cs (3)
872
if (value.GetType() != typeof(string)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, SR.Format(SR.
XmlInvalidDefaultValue
, value, value.GetType().FullName)));
928
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, value, pm.TypeDesc.Name));
931
throw new InvalidOperationException(SR.Format(SR.
XmlInvalidDefaultValue
, value, pm.TypeDesc.Name));