Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0023-25.cs
blobd6f5c5bbe1a428ce01764c11bd924b96211ede34
1 // CS0023: The `?' operator cannot be applied to operand of type `T'
2 // Line: 8
4 class C
6 static void Foo<T> (T t) where T : struct
8 var r = t?.ToString ();