Bug 56708 - QUESTION - Mono 5.3 (Nightly - Update Request wrt. ILGenerator's not yet implemented functions
Summary: QUESTION - Mono 5.3 (Nightly - Update Request wrt. ILGenerator's n...
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-05-21 19:21 UTC by minxomat
Modified: 2017-06-05 13:25 UTC (History)
3 users (show)

Is this bug a regression?: No
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description minxomat 2017-05-21 19:21:20 UTC
Hi there you awesome people :)

I'm currently implementing a language targeting .NET and would like to use some of the ILGenerator procs to implement namespace separation.

Specifically, the UsingNamespace method, which as far as I can see, is marked as TODO since the last commit on Sep 30, 2016: https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Reflection.Emit/ILGenerator.cs#L989-L993

This is a pretty core part (no pun intended) of the IL Emitter, so I'd just like to know if someones still working on this. I had a quick look at the rest of the lib, but the nomenclature differs quite substantially from the reference .NET lib (not in .NET core AFAIK).

If no one's still working on this, I might give it a try, but I don't want to spend time re-inventing the wheel. If someone worked on this recently and has some insights, I'd be happy to hear them.

Comment 1 Marek Safar 2017-06-05 13:25:07 UTC
Nobody is working on this and the method has not been used by apps (if any) in past decade.

However, feel free to send PR with the implementation