projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git]
/
mcs
/
tests
/
gtest-exmethod-18.cs
1
using System;
2
3
class Foo {
4
public bool IsBar {
5
get { return false; }
6
}
7
}
8
9
static class FooExt {
10
11
public static bool IsBar (this Foo f)
12
{
13
return f.IsBar;
14
}
15
}
16
17
class Repro {
18
19
public static void Main ()
20
{
21
var f = new Foo ();
22
Console.WriteLine (f.IsBar ());
23
}
24
}