User: xtoff
Date: 2009/11/01 01:53 AM

Modified:
 /DynamicProxy/trunk/src/Castle.DynamicProxy.Tests/
  InterfaceProxyBaseTypeTestCase.cs
 /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/
  InterfaceProxyWithTargetGenerator.cs

Log:
 - Conditionally compile check for accessible ctor in base class for interface 
proxy to get rid of false positives, as SL2 does not have the overload we need.

File Changes:

Directory: /DynamicProxy/trunk/src/Castle.DynamicProxy.Tests/
=============================================================

File [modified]: InterfaceProxyBaseTypeTestCase.cs
Delta lines: +0 -0
===================================================================

Directory: /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/
==================================================================

File [modified]: InterfaceProxyWithTargetGenerator.cs
Delta lines: +3 -2
===================================================================

--- 
DynamicProxy/trunk/src/Castle.DynamicProxy.Tests/InterfaceProxyBaseTypeTestCase.cs
  2009-10-31 23:59:20 UTC (rev 6301)
+++ 
DynamicProxy/trunk/src/Castle.DynamicProxy.Tests/InterfaceProxyBaseTypeTestCase.cs
  2009-11-01 08:53:32 UTC (rev 6302)
@@ -67,7 +67,8 @@
                                        "Please use some other valid type.",
                                        typeof(NoDefaultCtor)), 
exception.Message);
                }
-
+#if !Silverlight
+               // we dont check this in SL for now, as SL2 does not have the 
overload we need for this. SL3 does.
                [Test]
                public void Class_with_private_default_ctor_as_base_type()
                {
@@ -82,7 +83,7 @@
                                        "Please use some other valid type.",
                                        typeof(DefaultPrivateCtor)), 
exception.Message);
                }
-
+#endif
                [Test]
                public void Same_Class_as_base_and_target_works_fine()


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to