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