Hi,

I'm new to Cecil (great job!) so am still floundering around a bit. 
Apologies for such a noob question.

I just caught myself doing this:

    var compilerGeneratedAttributeCtor = 
ModuleDefinition.Import(ModuleDefinition.Import(typeof(CompilerGeneratedAttribute)).Resolve().GetConstructors().First(x
 
=> x.Parameters.Count == 0));

And I thought: surely there's a cleaner, easier way. Any thoughts?

Thanks

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to