static void Main() { using (var wrapper = new ReleaseWrapper()) { var baz = wrapper.Add(() => new Foo().Bar.Baz); Console.WriteLine(baz.Name); } }