a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
352 B
C#
22 lines
352 B
C#
// CS0122: `BB.AnEvent' is inaccessible due to its protection level
|
|
// Line: 10
|
|
|
|
using System;
|
|
|
|
class X
|
|
{
|
|
static void Main ()
|
|
{
|
|
BB b = new BB ();
|
|
b.AnEvent += DoIt;
|
|
}
|
|
|
|
public static void DoIt (object sender, EventArgs args) {}
|
|
}
|
|
|
|
public class BB
|
|
{
|
|
event EventHandler AnEvent;
|
|
}
|
|
|