From d95d306db8be82b4fcd29d774a3d15ba2d6b5d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=20=E6=9E=97?= Date: Wed, 17 Mar 2021 09:46:21 +0800 Subject: [PATCH] add avoid using SyntaxFactory prifex option --- RoslynSyntaxTool/MainWindow.xaml.cs | 2 +- RoslynSyntaxTool/View/SettingPage.xaml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/RoslynSyntaxTool/MainWindow.xaml.cs b/RoslynSyntaxTool/MainWindow.xaml.cs index 3bd7856..34551d1 100644 --- a/RoslynSyntaxTool/MainWindow.xaml.cs +++ b/RoslynSyntaxTool/MainWindow.xaml.cs @@ -42,7 +42,7 @@ private void MainWindow_Loaded(object sender, RoutedEventArgs e) { SettingInfo = new SettingInfo() { - + AvoidUsingStatic = true }; LocalDataService.SaveObjectLocal(SettingInfo); diff --git a/RoslynSyntaxTool/View/SettingPage.xaml b/RoslynSyntaxTool/View/SettingPage.xaml index 816e8ee..72cecc5 100644 --- a/RoslynSyntaxTool/View/SettingPage.xaml +++ b/RoslynSyntaxTool/View/SettingPage.xaml @@ -13,6 +13,16 @@ + + + + + + + + +