Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 21, 2012 2:25:33 AM |
Updated | Apr 21, 2012 11:41:35 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; class Program { static void Main() { object obj = null; Foo(() => obj.ToString(), obj = ""); } static void Foo(Func<string> x, object y) { Console.WriteLine(x()); } }