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
Move Enum and CorElementType to shared (dotnet/coreclr#23177)
[mono-project.git]
/
mcs
/
tests
/
gtest-547.cs
blob
b745555cc3ba3d86cae406e34eb413e573a64407
1
using
System
;
2
3
public class
Foo
4
{
5
static void
GenericLock
<
T
> (
T t
)
where T
:
class
6
{
7
lock
(
t
)
8
{
9
}
10
}
11
12
public static void
Main
()
13
{
14
GenericLock
(
"s"
);
15
}
16
}