repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
monotouch uses the real HttpWebRequest
[mcs.git]
/
tests
/
gtest-initialize-07.cs
blob
f2e6f485fd023e172fce6a7b8514dac650cac006
1
public class
A
2
{
3
public string
Name { get; set; }
4
5
public bool
Matches
(
string
s
)
6
{
7
return
Name
==
s
;
8
}
9
}
10
11
class
M
12
{
13
public static int
Main
()
14
{
15
if
(!
new
A
()
{ Name = "Foo" }
.
Matches
(
"Foo"
))
16
return
1
;
17
18
return
0
;
19
}
20
}