1 write to SoapDefaultValue
System.Xml (1)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
685a.SoapDefaultValue = null;
11 references to SoapDefaultValue
System.Xml (11)
System\Xml\Serialization\SoapReflectionImporter.cs (11)
683if (a.SoapDefaultValue == null || a.SoapDefaultValue == DBNull.Value) return null; 686return a.SoapDefaultValue; 690if (fieldTypeDesc != typeScope.GetTypeDesc(a.SoapDefaultValue.GetType())) 691throw new InvalidOperationException(Res.GetString(Res.XmlInvalidDefaultEnumValue, a.SoapDefaultValue.GetType().FullName, fieldTypeDesc.FullName)); 692string strValue = Enum.Format(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "G").Replace(",", " "); 693string numValue = Enum.Format(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "D"); 695throw new InvalidOperationException(Res.GetString(Res.XmlInvalidDefaultValue, strValue, a.SoapDefaultValue.GetType().FullName)); 698return a.SoapDefaultValue;