Custom Modifiers
Posted by: IKVM.NET Weblog,
on 02 Dec 2011 |
View original | Bookmarked: 0 time(s)
As I wrote earlier today, the theme of today's snapshot is custom modifiers, but I
decided to expand a bit on that, since they are a relatively unknown feature of .NET.
In the early days of IKVM.NET I ran into the
problem that some Java types must be erased in .NET signatures. An example are arrays
of what I call ghost types. Fortunately these are not very common, but here's an example
method:
void foo(CharSequence[] array) { }
When this is compiled...