2 using Microsoft.CSharp.RuntimeBinder;
12 public int Property { get; set; }
14 string this [int index] {
21 public static dynamic Factory ()
29 public static int Main ()
31 dynamic d = A.Factory ();
36 } catch (RuntimeBinderException e) {
37 if (e.Message != "`A.N.Foo()' is inaccessible due to its protection level")
44 } catch (RuntimeBinderException e) {
45 if (e.Message != "`A.N.Property.get' is inaccessible due to its protection level")
52 } catch (RuntimeBinderException e) {
53 if (e.Message != "`A.N.this[int]' is inaccessible due to its protection level")