[Mono-dev] SoapFormatter patch
Joel Reed
joelwreed at gmail.com
Wed Oct 10 10:55:38 EDT 2007
On Wed, Oct 10, 2007 at 11:49:45PM +0900, Atsushi Eno wrote:
> 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.
Good point! I've only ever used 2.0 and up - I guess to my deteriment.
jr
More information about the Mono-devel-list
mailing list