Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Emitting a Module Constructor?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philip_L  
View profile  
 More options Jun 2 2009, 8:40 am
From: Philip_L <Philip.Laure...@gmail.com>
Date: Tue, 2 Jun 2009 05:40:39 -0700 (PDT)
Local: Tues, Jun 2 2009 8:40 am
Subject: Emitting a Module Constructor?
How do you emit a module constructor with Cecil?

Is it just some static method named ".cctor" defined on the special
"<Module>" type in a given assembly?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lotfi Gheribi  
View profile  
 More options Jun 2 2009, 8:44 am
From: Lotfi Gheribi <gheri...@gmail.com>
Date: Tue, 2 Jun 2009 13:44:47 +0100
Local: Tues, Jun 2 2009 8:44 am
Subject: Re: [mono-cecil] Emitting a Module Constructor?

> How do you emit a module constructor with Cecil?

> Is it just some static method named ".cctor" defined on the special
> "<Module>" type in a given assembly?

Yep

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jb Evain  
View profile  
 More options Jun 2 2009, 8:55 am
From: Jb Evain <j...@nurv.fr>
Date: Tue, 2 Jun 2009 14:55:47 +0200
Local: Tues, Jun 2 2009 8:55 am
Subject: Re: [mono-cecil] Emitting a Module Constructor?
Hey,

On 6/2/09, Philip_L <Philip.Laure...@gmail.com> wrote:

>  How do you emit a module constructor with Cecil?

>  Is it just some static method named ".cctor" defined on the special
>  "<Module>" type in a given assembly?

As Lotfi said, yes. Just note that you can have only one of those, and
that it have to be SpecialName | RTSpecialName.

--
Jb Evain  <j...@nurv.fr>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »