6 references to XmlInvalidDefaultValue
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
780
throw new InvalidOperationException(string.Format(ResXml.
XmlInvalidDefaultValue
, strValue, a.SoapDefaultValue.GetType().FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
387
throw new InvalidOperationException(string.Format(ResXml.
XmlInvalidDefaultValue
, defaultValue, em.TypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
2148
throw new InvalidOperationException(string.Format(ResXml.
XmlInvalidDefaultValue
, strValue, a.XmlDefaultValue.GetType().FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
919
if (value.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, string.Format(ResXml.
XmlInvalidDefaultValue
, value.ToString(), value.GetType().FullName)));
975
throw new InvalidOperationException(string.Format(ResXml.
XmlInvalidDefaultValue
, value.ToString(), pm.TypeDesc.Name));
978
throw new InvalidOperationException(string.Format(ResXml.
XmlInvalidDefaultValue
, value.ToString(), pm.TypeDesc.Name));