Browse Source

屏蔽代码分析器中:static字段声明的要求

johnclot69 1 year ago
parent
commit
2496217ece
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Share/Analyzer/Analyzer/StaticFieldDeclarationAnalyzer.cs

+ 2 - 2
Share/Analyzer/Analyzer/StaticFieldDeclarationAnalyzer.cs

@@ -5,7 +5,7 @@ using Microsoft.CodeAnalysis.Diagnostics;
 
 namespace ET.Analyzer
 {
-    [DiagnosticAnalyzer(LanguageNames.CSharp)]
+    /*[DiagnosticAnalyzer(LanguageNames.CSharp)]
     public class StaticFieldDeclarationAnalyzer : DiagnosticAnalyzer
     {
         
@@ -58,6 +58,6 @@ namespace ET.Analyzer
             }
         }
         
-    }
+    }*/
 }