projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
[mono.git]
/
mcs
/
errors
/
gcs0417.cs
1
// CS0417: 'T': Cannot provide arguments when creating an instance of a variable type
2
// Line: 9
3
4
public class Foo<T>
5
where T : new ()
6
{
7
public T Create ()
8
{
9
return new T (8);
10
}
11
}
12
13
class X
14
{
15
static void Main ()
16
{
17
}
18
}