projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
tests
/
gtest-422.cs
1
class A
2
{
3
public static bool operator > (A a, object b)
4
{
5
return false;
6
}
7
8
public static bool operator < (A a, object b)
9
{
10
return true;
11
}
12
}
13
14
class C
15
{
16
public static int Main ()
17
{
18
return new C ().Test () ? 1 : 0;
19
}
20
21
int? Id {
22
get { return 1; }
23
}
24
25
bool Test ()
26
{
27
A a = new A ();
28
bool b = a > Id && a < Id;
29
return b;
30
}
31
}