repo.or.cz
/
mono.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mono
/
tests
/
exception14.cs
blob
02626fa269fd594cf28b88d7f28b4c7b64681fbd
1
using
System
;
2
3
class
Class1
{
4
static int
Main
(
string
[]
args
)
5
{
6
string
s1
=
"original"
;
7
8
try
{
9
bool
huh
=
s1
.
StartsWith
(
null
);
10
}
catch
(
ArgumentNullException
) {
11
}
12
13
if
(
s1
.
StartsWith
(
"o"
)){
14
return
0
;
15
}
else
{
16
return
1
;
17
}
18
}
19
}
20
21