- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 131
Closed
Description
We have following code:
    {
        return currencyString switch
        {
            "EUR" => "€",
            "GBP" => "£",
            "USD" => "$",
            _ => string.Empty,
        };
    }
If we use the Rider plugin this code will be produced
  public static string ToCurrencySymbol(this string currencyString)
    {
        return currencyString switch
        {
            "EUR" => "€",
            "GBP" => "£",
            "USD" => "$",
            _ => string.Empty,
        };
    }
Using the CLI gives us no problems. Also the Visual Studio Plugin does not give us this problem
Metadata
Metadata
Assignees
Labels
No labels