In addition to standard ISO C++ syntax, JetBrains Rider also supports Microsoft's C++/CLI Specification syntax, such as
^ for CLR references,
gcnew for allocating on the managed heap, and so on. Besides traditional features such as code inspection, Coding Assistance, and navigation and search, there are some features worth mentioning:
You can generate .NET Equals() and GetHashCode() with Alt+Insert.
Some C++ Postfix Templates (
.foreach) are specially designed to produce C++/CLI code when invoked in its context.
JetBrains Rider inspects the way you allocate memory and suggests a quick-fix to replace
newwhen the target type is not valid. It also works for replacing
Another inspection warns you when you try to use the C++
finalspecifier on a managed class or interface, with a quick-fix to make it
You can use a quick-fix to convert a C-style cast to a
When looking for derived symbols from C++/CLI code, JetBrains Rider will find symbols in C# code in addition to symbols in C++/CLI.