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
Remove unnecessary !s for [DoesNotReturn] (dotnet/coreclr#26512)
[mono-project.git]
/
mcs
/
errors
/
cs0173-6.cs
blob
6c2dab2672bb004b6a87ef8966ff58a59cf5a4ed
1
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `throw expression' and `throw expression'
2
// Line: 8
3
4
class
C
5
{
6
public static void
Test
(
bool
b
)
7
{
8
var
s
=
b
?
throw null
:
throw null
;
9
}
10
}