EncoderReplacementFallbackBuffer.Reset() did not really reset its internals.
[mono-project/dkf.git] / mcs / tests / gtest-etree-25.cs
blob40ffe66ca2799f066cff95369a268537c4219997
1 using System;
2 using System.Linq.Expressions;
4 class Foo
6 public void OnBaz (IBaz baz)
11 interface IBar
13 void RunOnBaz (Action<IBaz> action);
16 interface IBaz
20 class C : IBar
22 public void RunOnBaz (Action<IBaz> action)
24 action (null);
27 static int Main ()
29 var foo = new Foo ();
31 Expression<Action<IBar>> e = bar => bar.RunOnBaz (foo.OnBaz);
32 e.Compile () (new C ());
34 return 0;