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
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
gtest-639.cs
blob
afc0b2004a2e0fbcbdfc017b16f67a4de53a1a3e
1
class
A
<
T
>
where T
:
CB
,
IA
2
{
3
void
Foo
(
T t
)
4
{
5
t
.
Prop
=
3
;
6
long
l
=
t
.
Prop2
;
7
t
[
"1"
] =
"2"
;
8
}
9
}
10
11
class
A2
<
T
,
U
>
12
where T
:
CB
,
U
13
where U
:
IA
14
{
15
void
Foo
(
T t
)
16
{
17
t
.
Prop
=
3
;
18
long
l
=
t
.
Prop2
;
19
t
[
"1"
] =
"2"
;
20
}
21
}
22
23
class
CB
:
CA
24
{
25
}
26
27
class
CA
28
{
29
public int
Prop { get; set; }
30
31
public string this
[
byte
b
]
{ get { return ""; }
}
32
}
33
34
interface
IA
35
{
36
string
Prop { get; set; }
37
long
Prop2 { get; }
38
39
string this
[
string
b
]
{ get; set; }
40
}
41
42
class
X
43
{
44
public static void
Main
()
45
{
46
}
47
}