Highlight chained constructor when focused on 'this' keyword
In Visual Studio, you can easily see which constructor is being chained when the the caret is on the `this` keyword.
For example:
public class Foo
{
// If the caret is on the 'this' keyword, ...
public Foo() : this(new List<int>())
{
}
// ...this constructor will be highlighted
public Foo(IEnumerable<int> ints)
{
}
// This constructor will not be highlighted as
// it is not chained by the first constructor
public Foo(string s)
{
}
}
Is it possible to add the same feature to Rider?
Please sign in to leave a comment.