[Mono-devel-list] Use of ILDASM
Ben Maurer
bmaurer at users.sourceforge.net
Fri Jan 16 00:12:21 EST 2004
On Thu, 2004-01-15 at 22:41, Miguel de Icaza wrote:
> Hello,
>
> > I just want to know if it is "illegal" to use ILDASM to open MS.net
> > assembly.
> >
> > We are trying to make mono compile Regex assembly compatible with MS
> > runtime. The problem is, mono implementation of regex do not seem to
> > use the same "factory framework" than MS do.
> >
> > For now I restricted myself to the Object Browser (can view the
> > interface of the assembly) but ildasm can prove very usefull to
> > understand the framework used by MS.
> >
> > Note that in no way we intend to look at MS IL to build our ILCompiler.
>
> Avoid using ILDASM at any costs.
>
> First because the only publicly available API (as far as I can
> remember) is the flag that you pass to the Regex engine to compile to
> IL.
There are some `Methods for the .NET infrastructure' that are in
sys.text.regex. They are 100% undocumented but are used by the compiled
assembly. It is critical that we implement these exactly the same as MS,
because that will allow pre-compiled regexes to interoperate between the
frameworks. It would be great to get some input as to how much they can
look to see what these methods do. I know there are some other APIs
where we will face similar problems (JScript comes to mind).
-- Ben
More information about the Mono-devel-list
mailing list