That's the best way to do it!

On Fri, Nov 14, 2014 at 1:26 PM, Andriy Tylychko
<[email protected]> wrote:
> If you check assembly IL by any disasm (MS ildasm.exe or ILSpy) you can see
> that enums and structs are classes with specific flags. Enum elements are
> just static fields of a class. My suggestion is before of generating
> anything by Cecil implement it in C# or any other language that produce IL
> and check generated byte code.
>
>
> On Thursday, November 13, 2014 3:26:33 PM UTC, BlackSky Blacksky wrote:
>>
>> Hello,
>>
>> I already did some research but wasn't able to find questions similar to
>> mine.
>> So, I like to know how I can create an Enumeration with Cecil and also how
>> I can Create a Struct, and how I can define their Datatypes and the
>> Constants/Variables they hold.
>> There didn't find something like an EnumerationDefinition or
>> StructDefinition in the Cecil lib, so I decided to ask you guys here :)
>> Anyone? :P
>>
>>
> --
> --
> --
> 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/d/optout.

-- 
-- 
--
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/d/optout.

Reply via email to