1 write to SoapDefaultValue
System.Private.Xml (1)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
744
a.
SoapDefaultValue
= null;
11 references to SoapDefaultValue
System.Private.Xml (11)
System\Xml\Serialization\SoapReflectionImporter.cs (11)
741
if (a.
SoapDefaultValue
== null || a.
SoapDefaultValue
== DBNull.Value) return null;
745
return a.
SoapDefaultValue
;
750
if (fieldTypeDesc != _typeScope.GetTypeDesc(a.
SoapDefaultValue
.GetType()))
751
throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultEnumValue, a.
SoapDefaultValue
.GetType().FullName, fieldTypeDesc.FullName));
752
string strValue = Enum.Format(a.
SoapDefaultValue
.GetType(), a.
SoapDefaultValue
, "G").Replace(",", " ");
753
string numValue = Enum.Format(a.
SoapDefaultValue
.GetType(), a.
SoapDefaultValue
, "D");
755
throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.
SoapDefaultValue
.GetType().FullName));
758
return a.
SoapDefaultValue
;