[Mono-list] Strange explicit implementation

Jaime Anguiano Olarra jaime@gnome.org
02 Dec 2002 20:20:05 +0100


--=-yKYirf/lJkVmyJo6zPSc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

I am looking at MS.NET docs and I have found an strange explicit
interface implementation:

interface IFoo {
	event Handler Bar;
	...
}

class X : IFoo {
	event Handler IFoo.Bar()=20
	{
	}
	...
}

For me that's a strange declaration. It's not legal anyway since
interface explicit implementations for events must be property syntaxed
but I really can't understand what that code can mean. I would like to
know what's that supposed to work.

Anyway, it's not legal so don't worry too much, but if it's written must
be because you might think of writing it, no?.

Thanks,

Jaime.

--=20
// http://www.go-mono.org -- The Mono Project. .NET + freedom.


--=-yKYirf/lJkVmyJo6zPSc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA967Jl0ZuGtECkr6cRAvSMAJoDm6To8XxONLVMZPkUhIJIlOF6uQCgymL4
rF35CUSXqi37iYPnS7RsDJo=
=gADk
-----END PGP SIGNATURE-----

--=-yKYirf/lJkVmyJo6zPSc--