Fix for Warning CA1822 Member 'Hyperlink' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ReportWindow.xaml.cs 45 Active

This commit is contained in:
ryanbodrug-microsoft 2020-06-18 08:23:52 -07:00
parent d1ca30a28f
commit 2d890603c6

View File

@ -42,7 +42,7 @@ namespace PowerLauncher
ErrorTextbox.Document.Blocks.Add(paragraph);
}
private Paragraph Hyperlink(string textBeforeUrl, string url)
private static Paragraph Hyperlink(string textBeforeUrl, string url)
{
var paragraph = new Paragraph();
paragraph.Margin = new Thickness(0);