0
Answer

CodeDom Question

Sam

Sam

17y
2.4k
1

Hi all,

I am currently experimenting with dynamically generating code using CodeDom and have come across a difficulty.

Is there a way to create a method that is static extern  without uisng CodeSnippetTypeMember?

I would prefer to use CodeMemberMethod but the Attributes property takes a MemberAttributes enum and the MemberAttributes enum doesn't seem to contain an option for extern

 

Thanks in advance,

Sam