projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3583 from xmcclure/test-418-checked
[mono.git]
/
mcs
/
errors
/
cs0184-9.cs
1
// CS0184: The given expression is never of the provided (`T') type
2
// Line: 9
3
// Compiler options: -warnaserror -warn:1
4
5
class X<T> where T : class
6
{
7
static void Foo ()
8
{
9
if (1 is T) {
10
}
11
}
12
}