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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0029-37.cs
blob
80f8e8c800214ddeba4963adbb8a645f80cbdef5
1
// CS0029: Cannot implicitly convert type `string' to `int'
2
// Line: 8
3
4
class
A
<
T
>
where T
:
CB
,
IA
5
{
6
void
Foo
(
T t
)
7
{
8
t
.
Prop
=
"3"
;
9
}
10
}
11
12
class
CB
:
CA
13
{
14
}
15
16
class
CA
17
{
18
public int
Prop { get; set; }
19
}
20
21
interface
IA
22
{
23
string
Prop { get; set; }
24
}