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