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
Remove debugging code from generated code
[mono-project.git]
/
mcs
/
errors
/
gcs0451.cs
blob
da3301b0eca5975d6b3aa513a7d4118f70f432da
1
// CS0451: The `new()' constraint cannot be used with the `struct' constraint
2
// Line: 8
3
4
class
C
5
{
6
public static void
Foo
<
T
>()
where T
:
struct
,
new
()
7
{
8
}
9
}