RE: [Ikvm-developers] (no subject)
Brought to you by:
jfrijters
|
From: Jonathan P. <jp...@ny...> - 2003-07-25 00:54:00
|
Jeroen, >System.String doesn't implement CharSequence, so that wouldn't work (at >least not until I write the code that makes the compiler pretend that >System.String implements CharSequence). I guess I don't fully understand the issue or perhaps your map implementation. I would think that you could just map the call so that ikvmc replaces calls to CharSequence.subSequence (int beginIndex, int endIndex) with calls to System.String.SubString (beginIndex, endIndex) Any implementation of String.subSequence would need to return a System.String instance anyway. The subsequence method would not be available to C# code, but the compiled java code would return the result you expect. Jonathan |