C++/CLI Support
In addition to standard ISO C++ syntax, ReSharper also supports Microsoft's C++/CLI Specification syntax, such as ^
for CLR references, gcnew
for allocating on the managed heap, etc. Besides traditional features such as code inspection, coding assistance, and navigation and search, there are some features worth mentioning:
Cross-language navigation works between C++/CLI and C#/VB.NET. However, the #using directive and cross-language refactorings are not supported yet.
You can generate .NET Equals() and GetHashCode() with Alt+Insert.
Some C++ postfix templates (
.gcnew
and.foreach
) are specially designed to produce C++/CLI code when invoked in its context.