Move Initialisation to constructor
For the following line, resharper offers to "Move Initialisation to constructor"
public TimeSpan ShortBreakDuration = TimePeriod.Duration.Minutes(5);
For the following line, can an optimisation be offered to move to a static constructor?
public static TimeSpan ShortBreakDuration = TimePeriod.Duration.Minutes(5);
Please sign in to leave a comment.
I have raised this as a feature request at http://youtrack.jetbrains.net/issue/JT-10093
you have selected youtrack as project. I am not sure if you can change this but for the future make sure you have selected resharper as project. :)