You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following bug in a real application:
voidWarningLine(stringmessage,paramsobject[]args)=>AnsiConsole.MarkupLine($"[yellow]{message}[/]",args);WarningLine("Are you sure you want to continue? [y/n]");
Exception thrown: 'System.InvalidOperationException' in Spectre.Console.dll: 'Could not find color or style 'y/n'.'
So I think it would be good to have an analyzer to warn against using MarkupLine with interpolated strings, and suggest the following fixes:
I encountered the following bug in a real application:
So I think it would be good to have an analyzer to warn against using
MarkupLine
with interpolated strings, and suggest the following fixes:The text was updated successfully, but these errors were encountered: