I suspect it's unlikely, but you'll never know until you ask, but are there any attributes that would allow us to contribute to
the compiled output?
e.g.
// this class exists in a separate, compiled assembly for the compiler to load during compilation
class MyMethodCompiler : Attribute
{
// This is called during compilation
public override void GenerateMethod(MethodBuilder method)
{
// modify the IL that was generated from the compiler
}
}
// some class in a user assembly
class MyClass
{
[MyMethodCompiler]
public void SomeMethod(...)
{
// User code in method
...
...
...
}
}
"Gary Chang[MSFT]" - 05 May 2006 06:22 GMT
Hi Stuart,
I notice that you have posted the same question in our framework.clr
newsgroup, which we have already responded. So please check my answer there
and if you need any further assistance on this particular issue, please
reply to me in that thread so I can follow up with you in time.
Thanks for your understanding.
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.