[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0029-37.cs
blob80f8e8c800214ddeba4963adbb8a645f80cbdef5
1 // CS0029: Cannot implicitly convert type `string' to `int'
2 // Line: 8
4 class A<T> where T : CB, IA
6 void Foo (T t)
8 t.Prop = "3";
12 class CB : CA
16 class CA
18 public int Prop { get; set; }
21 interface IA
23 string Prop { get; set; }