freebsd-ports/multimedia/moonlight/files/patch-class_System.Windows_Mono_NativeDependencyObjectHelper.cs
Romain Tartière 5c80951022 - Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
  devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
  devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
  graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
  multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
  www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
  x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).

PR:		ports/143657 [1]
Submitted by:	glewis [1]
2010-06-01 12:41:30 +00:00

21 lines
804 B
C#

$FreeBSD$
--- class/System.Windows/Mono/NativeDependencyObjectHelper.cs.orig
+++ class/System.Windows/Mono/NativeDependencyObjectHelper.cs
@@ -177,7 +177,6 @@
throw new ExecutionEngineException ("multiple mappings registered for the same unmanaged peer");
#endif
Console.WriteLine ("multiple mappings registered for the same unmanaged peer 0x{0:x}, type = {1}", native, wrapper.GetType());
- Console.WriteLine (Environment.StackTrace);
return false;
}
@@ -229,7 +228,6 @@
INativeEventObjectWrapper wrapper = CreateObject (k, ptr) as INativeEventObjectWrapper;
if (wrapper == null){
Report.Warning ("System.Windows: Returning a null object, did not know how to construct {0}", k);
- Report.Warning (Environment.StackTrace);
}
return wrapper;