[Mono-devel-list] Use of ILDASM

Eric Durand Tremblay erdut2 at ift.ulaval.ca
Fri Jan 16 15:05:26 EST 2004

Miguel de Icaza wrote:

>>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).
>Well, they can disassemble the output generated by `CompileToAssembly',
That's exactly what We wanted to know.

>but they should not disassemble the System.dll/mscorlib.dll
Never intended to do that.

We just want to understand how MS achieve to specialize Regex class ( 
there is only a protected constructor and we can't override the Match 
method )
It's obviously a "factory"  desing pattern but the interface is 
different than our's.

Eric Durand Tremblay
University Laval

More information about the Mono-devel-list mailing list