repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
gcs0184-3.cs
blob
a27c85fab796cb4fd09f85189a0768c8fb06e7c3
1
// CS0184: The given expression is never of the provided (`int') type
2
// Line: 10
3
// Compiler options: -warnaserror -warn:1
4
5
class
X
6
{
7
public void
Foo
<
T
> ()
where T
:
class
8
{
9
T t
=
default
(
T
);
10
if
(
t
is int
) {
11
}
12
}
13
}