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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0452-11.cs
blob
f0681aae7e7fc3a866b61f71e56d42c0b78f1bb9
1
// CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `Program.M<T>(T, T)'
2
// Line: 8
3
4
class
Program
5
{
6
public static void
M
<
T
> (
T item1
,
T item2
=
null
)
where T
:
class
7
{
8
M
(
1
);
9
}
10
}