update readme (#21797)
[mono-project.git] / mcs / errors / cs1750-4.cs
blob44997808ff3f8b9072e7744825c7ca505e725a55
1 // CS1750: Optional parameter expression of type `null' cannot be converted to parameter type `A'
2 // Line: 8
4 using System;
6 class GenericClass<T>
8 public GenericClass (GenericClass<T> g = null, A a = null)
13 class DerivedClass<T> : GenericClass<T>
15 public DerivedClass (GenericClass<T> g) : base(g)
20 public struct A
22 public int Field;