Hello! I have a question to you. I dont know how I can make it
correctly. I have source file (http://nsurgeon.codeplex.com/
SourceControl/changeset/view/1647#45740). This code should create
property getter and setter by existing field. But if field is static,
this code works wrong. Properties, created by this program is static.
I Check it by reflector. BUT it reflector I can see string "... static
instance void get_..." Why "instance"? I cant write code like this:
ldarg ...
call get_Property
because get_Property needs object's instance in the stack. Why? Static
flag of an MethodAttribute is setted.

-- 
--
mono-cecil

Reply via email to