c# - error in .net reflector -


i have reflected 1 program .net reflector , open in visual studio. 1 item in each form is:

bool icontrolbyoptions.get_isdisposed() {   return this.isdisposed; } 

when build solution , has error : 'solo.module.ctrlproductform.solo.base.icontrolbyedition.get_isdisposed()' explicit method implementation cannot implement 'solo.base.icontrolbyedition.isdisposed.get' because accessor.

icontrolbyoptions file contents :

using system;  namespace solo.base {  public interface icontrolbyoptions  {     bool isdisposed { get; }      void refreshuifromcompanyorpersonaloptions();  } } 

how fix error ?

try changing implementation to

bool icontrolbyoptions.isdisposed {     { return this.isdisposed; } } 

update based on comments. try properties setter.

bool ictrltemplateoption.visible {     { return this.visible; }     set { this.visible = value; } }  

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -