projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3609 from xmcclure/checked-imageset
[mono.git]
/
mcs
/
errors
/
cs0183-4.cs
1
// CS0183: The given expression is always of the provided (`T') type
2
// Line: 10
3
// Compiler options: -warnaserror -warn:1
4
5
class X
6
{
7
static bool Foo<T> () where T : struct
8
{
9
T o = default (T);
10
return o is T;
11
}
12
}