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
[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git]
/
mcs
/
errors
/
cs0451.cs
blob
c56634be62dce09c26a446a9ba6417feec22272a
1
// CS0451: The `new()' constraint cannot be used with the `struct' constraint
2
// Line: 6
3
4
class
C
5
{
6
public static void
Foo
<
T
>()
where T
:
struct
,
new
()
7
{
8
}
9
}