projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test.
[mono.git]
/
mcs
/
errors
/
cs0071-3.cs
diff --git
a/mcs/errors/cs0071-3.cs
b/mcs/errors/cs0071-3.cs
index f8194665989112533bda23c4434009ce80003bc7..721952b1e42833a1f7cfa7d7b4b22b3f5b1ada0b 100644
(file)
--- a/
mcs/errors/cs0071-3.cs
+++ b/
mcs/errors/cs0071-3.cs
@@
-1,15
+1,17
@@
-//
cs0071-3.cs
: An explicit interface implementation of an event must use property syntax
-// Line: 1
2
+//
CS0071: `Test.IBlah.Foo'
: An explicit interface implementation of an event must use property syntax
+// Line: 1
4
using System;
using System;
+delegate void Delegate ();
+
interface IBlah
{
event Delegate Foo;
}
class Test : IBlah {
interface IBlah
{
event Delegate Foo;
}
class Test : IBlah {
- event
MyEvent ITest
.Foo;
+ event
Delegate IBlah
.Foo;
public static void Main ()
{
public static void Main ()
{