In the Resharper API, JetBrains.Resharper.Psi.Csharp.Tree.AddAttributeBefore takes an IAttribute param, and an IAttribute anchor. How are these arguments different, and how can they be constructed?
In the Resharper API, JetBrains.Resharper.Psi.Csharp.Tree.AddAttributeBefore takes an IAttribute param , and an IAttribute anchor
Share
Have a peek at the working with XML document inside it shows use of the
AddAttributeBeforecall the first is the attribute you wish to insert. The second one is a attribute that already exists that you wish to insert before. If the second attribute isNULLthe new attribute is inserted after the last attribute.