projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[msbuild] Bump to xplat-master branch HEAD
[mono.git]
/
mcs
/
errors
/
cs0071-2.cs
diff --git
a/mcs/errors/cs0071-2.cs
b/mcs/errors/cs0071-2.cs
index b40878f362910b9c3322750f08f24b886e3a71ee..39f0b244e81d04b9a122eeeffab5b886487e65d4 100644
(file)
--- a/
mcs/errors/cs0071-2.cs
+++ b/
mcs/errors/cs0071-2.cs
@@
-1,4
+1,4
@@
-//
cs0071-2.cs
: An explicit interface implementation of an event must use property syntax
+//
CS0071: `ErrorCS0071.IFoo.OnFoo'
: An explicit interface implementation of an event must use property syntax
// Line: 13
using System;
// Line: 13
using System;
@@
-6,13
+6,11
@@
using System;
public delegate void Foo (object source);
interface IFoo {
public delegate void Foo (object source);
interface IFoo {
-
event Foo OnFoo;
+ event Foo OnFoo;
}
class ErrorCS0071 : IFoo {
}
class ErrorCS0071 : IFoo {
- public event Foo IFoo.OnFoo () { }
- public static void Main () {
- }
+ public event Foo IFoo.OnFoo;
}
}