projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git]
/
mcs
/
tests
/
test-770.cs
1
using System;
2
3
public class MyClass
4
{
5
public class A
6
{
7
public event EventHandler MouseClick;
8
}
9
10
public class B : A
11
{
12
public new event EventHandler MouseClick;
13
}
14
15
public class C : B
16
{
17
public new void MouseClick ()
18
{
19
Console.WriteLine ("This should be printed");
20
}
21
}
22
23
static public void Main ()
24
{
25
C myclass = new C ();
26
myclass.MouseClick ();
27
}
28
}
29