I have hundreds occurences of this kind of lines in my app :
public ICommand MyCommandName => ReactiveCommand.Create(TriggerCommand);
I tried without luck to add a Custom Pattern in resharper to change it to :
private ICommand _MyCommandName;
public ICommand MyCommandName => _MyCommandName ??= ReactiveCommand.Create(TriggerCommand);
the pattern is ambiguous and can't be saved. Here are the placeholders :





??=is not thread-safe. You may want to consider making_MyCommandNamelazily initialized.