1 write to SoapDefaultValue
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
769
a.
SoapDefaultValue
= null;
11 references to SoapDefaultValue
dotnet-svcutil-lib (11)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (11)
766
if (a.
SoapDefaultValue
== null || a.
SoapDefaultValue
== DBNull.Value) return null;
770
return a.
SoapDefaultValue
;
775
if (fieldTypeDesc != _typeScope.GetTypeDesc(a.
SoapDefaultValue
.GetType()))
776
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultEnumValue, a.
SoapDefaultValue
.GetType().FullName, fieldTypeDesc.FullName));
777
string strValue = Enum.Format(a.
SoapDefaultValue
.GetType(), a.
SoapDefaultValue
, "G").Replace(",", " ");
778
string numValue = Enum.Format(a.
SoapDefaultValue
.GetType(), a.
SoapDefaultValue
, "D");
780
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultValue, strValue, a.
SoapDefaultValue
.GetType().FullName));
783
return a.
SoapDefaultValue
;