locked
Usage of CodeModelEvents.ElementChanged event in VS2010 RRS feed

  • Question

  • Hello, I´m trying to handle some CodeModelEvents in my VS plugin. But I´m having trouble with CodeModelEvents.ElementChanged event, everytime its fired, it reports, that changed element is namespace, containing the real change. For example, when I change name of field like this: TestNS.TestClass.TestField, my eventhandler gets CodeNamespace element for TestNS.

    Is it expected behaviour? Is there any documentation for these events? Or another way, how to retrieve such events?

    Thank you very much

    Friday, March 30, 2012 9:02 AM

All replies