Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / tests / gtest-388.cs
bloba46e877ddc538a36e71db2678ca6b02fa1ac1126
1 using System;
3 class Data {
4 public int Value;
7 class Foo {
8 static void f (Data d)
10 if (d.Value != 5)
11 throw new Exception ();
14 public static void Main ()
16 Data d;
17 f (d = new Data () { Value = 5 });