Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Curried Delegates   (RSS)

Why Can’t Extension methods on Value Type be curried

This is a followup to an post Extension Methods and Curried delegates . I have been recently asked if why Error CS1113: “Extension methods ' Name ' defined on value type ' typename ' cannot be used to create delegates” was added and what does it mean

Extension methods and Curried Delegates

Delegates Since Extension methods behave like instance method it makes sense that we should be able to create delegates that would accept the instance method signature, to this end we have included Adding an Extension Methods to delegate invocation List
 
Page view tracker