[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0455-4.cs
blobb27656de91a876830e90c1e7ec73e91bd70c82b0
1 // CS0455: Type parameter `Y' inherits conflicting constraints `long' and `long?'
2 // Line: 11
4 abstract class A<T1, T2>
6 public abstract void Foo<U> () where U : T1, T2;
9 class B : A<long, long?>
11 public override void Foo<Y> ()