Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 0.8.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
The method overloading with Clr extension methods dose not work like expected in the following case:
I i have an class which have a method of parameter object. Now i want to extend this class with an extension method of the parameter string. When i now call this method, the original method is called instead of the string extension method.
This works if booth methods are Extension methods.
Attached a failing testcase for this issue.
Issue Links
- is related to
-
BOO-937
Support CLR 3.5 Extension Methods
-
This is by design, and in compliance with C#: Extension methods are only checked if there are no matching methods on the invoked type.