eol
[mcs.git] / tests / gtest-exmethod-18.cs
blob0a47011a81defc699db0f4dac9430b620bcd1f74
1 using System;
3 class Foo {
4 public bool IsBar {
5 get { return false; }
9 static class FooExt {
11 public static bool IsBar (this Foo f)
13 return f.IsBar;
17 class Repro {
19 static void Main ()
21 var f = new Foo ();
22 Console.WriteLine (f.IsBar ());