repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.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