System.Dynamic bug?
- by ControlFlow
While I playing with the C# 4.0 dynamic, I found strange things happening with the code like this:
using System.Dynamic;
sealed class Foo : DynamicObject
{
public override bool TryInvoke(
InvokeBinder binder, object[] args, out object result)
{
result = new object();
return true;
}
static void Main()
{…