Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0079-4.cs
blobec7687102c8d3a5442d04405b505c9f48c18e565
1 // CS0079: The event `Foo.BaseFoo.Changed' can only appear on the left hand side of `+=' or `-=' operator
2 // Line: 16
4 using System;
6 namespace Foo
8 public delegate void VoidHandler ();
10 public class BaseFoo
12 public extern event VoidHandler Changed;
14 public string Name {
15 set {
16 Changed ();