2 // This test verifies that we resolve the source expression in a compound
3 // expression before we attempt to use it.
5 // The test also attempts
8 using System
.Collections
.Specialized
;
12 public Container
this [ string s
]
20 public class Container
22 public static Container
operator + ( Container c
, object o
)
29 static void A (NameValueCollection n
, MyClass m
, object o
)
32 // Tests that ";" is a StringLiteral, *and* it has been resolved. Triggered
33 // by indexers, as indexers trigger an OverloadResolve.
38 // A different, but similar beast. A bug existed in the compiler that
39 // prevented the following from working (bug 36505)
45 public static int Main ()