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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs7095.cs
blob
ecc74b30fff7f0a2548dd99c495466791fc9f3f9
1
// CS7095: Exception filter expression is a constant
2
// Line: 12
3
// Compiler options: -warnaserror
4
5
using
System
;
6
7
class
X
8
{
9
public static int
Main
()
10
{
11
try
{
12
throw new
ApplicationException
();
13
}
catch
when
(
true
) {
14
return
0
;
15
}
16
}
17
}