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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs7094.cs
blob
d20ff207edc7d9dd5eafcb3fbaf65466f647c8f7
1
// CS7094: The `await' operator cannot be used in the filter expression of a catch clause
2
// Line: 12
3
4
using
System
.
Threading
.
Tasks
;
5
6
class
Test
7
{
8
async static
Task
M1
()
9
{
10
try
{
11
}
12
catch
when
(
await
Task
.
Factory
.
StartNew
(() =>
false
)) {
13
}
14
}
15
}