locked
Adding Attribute to a method from a Custom editor at design time RRS feed

  • Question

  • Hi,

    How can i implement a functionality like "adding a attribute to my method for suppressing Code analysis error. In my code analysis errors, if I right click an error and select Supress at source, it will automatically add/append SupressAttribute to that method". I want to add an attribute is same way.

    I have a custom editor window (over an xml file). In one of the fields in my editor window, what ever user has entered text i want to put it as an attribute in my specific c# class and a specific method. The class and method to update is read from xml file.

    Regards


    singhhome
    Tuesday, February 8, 2011 6:19 PM

Answers

All replies