Managed D-Bus 0.3

Alp Toker alp at atoker.com
Sat Dec 16 15:42:58 PST 2006


Doug Goldstein wrote:
> Getting two warnings with this:
> 
> Address.cs(28,4): warning CS0278:
> `System.Collections.Generic.IDictionary<string,string>' contains
> ambiguous implementation of `enumerable' pattern. Method
> `System.Collections.IEnumerable.GetEnumerator()' is ambiguous with
> method
> `System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>.GetEnumerator()'
> 
> 
> gmcs -debug  -out:monitor.exe -t:exe   -r:../src/NDesk.DBus.dll  Monitor.cs
> Monitor.cs(66,3): warning CS0278:
> `System.Collections.Generic.IDictionary<NDesk.DBus.FieldCode,object>'
> contains ambiguous implementation of `enumerable' pattern. Method
> `System.Collections.IEnumerable.GetEnumerator()' is ambiguous with
> method
> `System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<NDesk.DBus.FieldCode,object>>.GetEnumerator()'

These warnings were caused by bug #79998 in the Mono C# compiler, which 
was fixed by Marek Safar about a week ago. The bug did not affect the 
compiled code, only the compiler's reporting output.

> It's also be nice if make install worked...

There is not much point in installing it yet since it is not API-stable. 
Developers are advised to bundle the code with their applications if 
they absolutely need the functionality or to wait for an installable 
release, which is due to happen in the next revision or two.



More information about the dbus mailing list