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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0417.cs
blob
4a063825daeb16090bcb71172bdb002de6645cb0
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
}