[Mono-dev] SoapFormatter patch

Atsushi Eno atsushi at ximian.com
Wed Oct 10 10:49:45 EDT 2007


Hi,

Joel Reed wrote:
>> Index: SoapTypeMapper.cs
>> ===================================================================
>> --- SoapTypeMapper.cs (revision 87053)
>> +++ SoapTypeMapper.cs (working copy)
>> @@ -194,8 +194,9 @@
>>         out typeNamespace, 
>>         out assemblyName);
>>  
>> -     string typeName = typeNamespace + Type.Delimiter +
>>       localName;
>> -
>> +     string typeName = (typeNamespace == null || typeNamespace
>>       == String.Empty) ?
> 
> String.IsNullOrEmpty(typeNamespace) would be better.

Well, since String.IsNullOrEmpty() is not available in 1.x profile,
we cannot use it here.

Atsushi Eno



More information about the Mono-devel-list mailing list