Tag Archives: code analysis and quick-fixes

Generate deconstructors with ReSharper

With C# 7 came language support for deconstructing tuples and other types. ReSharper 2017.3 Early Access Program adds better support for deconstructors, including new inspections and generators. But before diving into how ReSharper can help with writing deconstructors, let’s cover what … Continue reading

Posted in How-To's | Tagged , , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – How this affects other ReSharper features

Over the past days, we have been blogging about ReSharper support for C# 7.0 and C# 7.1. Today, let’s conclude with a final part around how ReSharper understands the new syntax and constructs that C# 7.0 and C# 7.1 bring, and … Continue reading

Posted in How-To's | Tagged , , , , , | 4 Comments

C# 7.0 and 7.1 support in ReSharper – Pattern matching with generics

Pattern matching with generics (spec) is another great topic for our blog series about support for C# 7.0 and C# 7.1 in ReSharper (and Rider)! Using pattern matching, we can combine a type check with a cast, removing some language ceremony. Let’s see how ReSharper can … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Tuples

ReSharper 2017.1 and 2017.2 bring better support for C# 7.0 and C# 7.1, with a number of new inspections, quick-fixes and context actions. In this 6th part of our blog series, let’s cover how ReSharper (and Rider) work with tuples and how … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Default literal

As part of our blog series about ReSharper support for C# 7.0 and C# 7.1, let’s talk about the default literal (spec) which was added to C# 7.1. It lets us initialize variables in our code regardless of these variables being value types … Continue reading

Posted in How-To's | Tagged , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Async main

Many developers have been wishing for an async main method to be able to use async/await constructs in console-based applications. The good news is that C# 7.1 introduces support for this (spec)! ReSharper (and Rider) do so, too. Let’s continue our blog series about ReSharper support for C# 7.0 … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Expression-bodied everything

Today, we continue our blog series on ReSharper support for C# 7.0 and C# 7.1. The previous post touched on throw expressions (spec) and ReSharper’s inspections, quick-fixes and context actions around these language features. Today, let’s talk about expression-bodied methods, properties, local functions, … Continue reading

Posted in How-To's | Tagged , , , , , , , | 2 Comments

C# 7.0 and 7.1 support in ReSharper – Throw expressions

Let’s continue our blog series about ReSharper support for C# 7.0 and C# 7.1! We’ve already blogged about how ReSharper (and Rider) handle out variables, today we’ll look at throw expressions (spec) that are available in C# 7.0. Throw expressions allow us to throw exceptions from … Continue reading

Posted in How-To's | Tagged , , , , , , , | Leave a comment

C# 7.0 and 7.1 support in ReSharper – Out variables

Back in February, we wrote a State of the union about ReSharper C# 7 support, based on ReSharper 2016.3. Since then, a number of improvements have been made, both to C# as well as ReSharper (and Rider, which gets language support updates … Continue reading

Posted in How-To's | Tagged , , , , , , | 3 Comments

JetBrains Rider 2017.2 is released

Please welcome Rider 2017.2 RTM: this year’s second major update to the new .NET IDE. For a recap, here are the highlights of this Rider update: Support for .NET Core 2.0: you can now edit, run, debug, test, navigate and … Continue reading

Posted in How-To's | Tagged , , , , , , , , , | 5 Comments