Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-212.cs
blob099cc330fd211362635e9a9f42cfc8efcd2b33de
1 public interface SomeInterface
3 bool Valid { get; }
6 public struct SomeStruct : SomeInterface
8 public bool Valid {
9 get {
10 return false;
15 public class Test
17 public static void Fun<T>(T t) where T:SomeInterface {
18 bool a = t.Valid;
21 public static void Main()
23 Fun(new SomeStruct());