Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Geoff Norton
The java version cannot be used either, as it is GPL'd. Please do not advise people to look at other sources without understanding all the implications. -g On Mon, 2008-12-08 at 07:25 +0300, Евгений Гришуль wrote: > I know about that violations and have never read their code. Mono > contributors

Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Евгений Гришуль
I know about that violations and have never read their code. Mono contributors can use Java version of hash code function. I just suggest possible ways to solve problem =) 2008/12/8 Atsushi Eno <[EMAIL PROTECTED]> > Do NOT read MS BCL source code. Jack, now we will never accept your > contribution

Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Jack
You can use Java version of hash code that loos like: public static int JavaStringHashCode( string value ) { int result = 0; foreach( char character in value ) result = 31 * result + ch

Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Atsushi Eno
Do NOT read MS BCL source code. Jack, now we will never accept your contributions to protect copyright violation possibly brought by you. It is EXPLICITLY written in our TOP page for contribution. http://mono-project.com/Contributing Atsushi Eno Jack wrote: > You can use Java version of hash co

Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Alan McGovern
On Mon, Dec 1, 2008 at 9:44 PM, CarGa <[EMAIL PROTECTED]> wrote: > Hello, all! > > I was directed here by Atsushi Eno from mono-olive list with this > question/request about GetHashCode() method. > > DependencyProperty class (that lays at the very base of entire WWF and WPF > libraries) heavily de

Re: [Mono-dev] GetHashCode() implementation for class string

2008-12-07 Thread Alan McGovern
On Mon, Dec 1, 2008 at 9:44 PM, CarGa <[EMAIL PROTECTED]> wrote: > Hello, all! > > I was directed here by Atsushi Eno from mono-olive list with this > question/request about GetHashCode() method. > > DependencyProperty class (that lays at the very base of entire WWF and WPF > libraries) heavily d

[Mono-dev] mono on HTC P4350

2008-12-07 Thread buhochil...@gmail.com
Hi Guys: I have to develop a sofwate solution for a smart phone PDA witch run Windows Mobile 5.0 PocketPC, the software is a GPS tracking system for trucks that are in charges of deliveries, the PocketPc device is conected to internet by a GPRS cell phone network and the idea is to have update

Re: [Mono-dev] Bug in gmcs compilation with shadowed base class member.

2008-12-07 Thread Marek Safar
Hello, > I found this piece of code which compiles under .NET (VS 2008) but not under > gmcs. gmcs gives a compilation error on the line calling a.field, saying > that it is inaccessible since it's private. However, Visual Studio maps > a.field onto the Base class method. The compiler I tried th

Re: [Mono-dev] System.Data.DataSet.GetChanges() -- erroneous ReadOnlyException

2008-12-07 Thread Gert Driesen
David, Please submit a bug report for this. Also, if you add a unit test then the patch is more likely to get applied. Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Turner Sent: woensdag 3 december 2008 11:58 To: mono-devel-list@lists.ximian.com Subject: [Mon