Permalink
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 671 Bytes

Replace method group with lambda

Property Value
Id RR0137
Title Replace method group with lambda
Syntax method group
Enabled by Default

Usage

Before

Func<object, object, object> func = Foo;

After

Func<object, object, object> func = (f, g) => Foo(f, g)

full list of refactorings

(Generated with DotMarkdown)