Author: urs
Date: 2005-04-27 15:37:14 -0400 (Wed, 27 Apr 2005)
New Revision: 43680
Modified:
trunk/cocoa-sharp/generator/custom/Foundation/TypeConverter.cs
Log:
revert
Modified: trunk/cocoa-sharp/generator/custom/Foundation/TypeConverter.cs
===================================================================
--- trunk/cocoa-sharp/generator/custom/Foundation/TypeConverter.cs
2005-04-27 19:28:29 UTC (rev 43679)
+++ trunk/cocoa-sharp/generator/custom/Foundation/TypeConverter.cs
2005-04-27 19:37:14 UTC (rev 43680)
@@ -122,7 +122,7 @@
return nsObj.Raw;
string str = obj as string;
if (str != null)
- return
((NSString)(NSString.StringWithUTF8String(str))).Raw;
+ return new NSString(str).Raw;
throw new Exception("Net2NS: not handled type of
object: " + obj.GetType());
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches