Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Nov 6, 2009 6:30:08 PM |
Updated | Apr 14, 2012 3:59:56 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; using System.Collections; class A { public dynamic X = new C(); static void Main() { new A { X = { 1 } }; } } class C : IEnumerable { public void Add(int x){Console.WriteLine(x);} public IEnumerator GetEnumerator() { throw new NotImplementedException(); } }