提交 28bd71d5 编写于 作者: K Kevin Halverson

Merge pull request #5409 from KevinH-MS/NoUAPA

Disable UseAutoPropertyAnalyzer for now...
......@@ -12,8 +12,9 @@
namespace Microsoft.CodeAnalysis.Editor.CSharp.UseAutoProperty
{
[Export]
[DiagnosticAnalyzer(LanguageNames.CSharp)]
// https://github.com/dotnet/roslyn/issues/5408
//[Export]
//[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class UseAutoPropertyAnalyzer : AbstractUseAutoPropertyAnalyzer<PropertyDeclarationSyntax, FieldDeclarationSyntax, VariableDeclaratorSyntax, ExpressionSyntax>
{
protected override bool SupportsReadOnlyProperties(Compilation compilation)
......
......@@ -8,8 +8,9 @@ Imports Microsoft.CodeAnalysis.UseAutoProperty
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UseAutoProperty
<Export>
<DiagnosticAnalyzer(LanguageNames.VisualBasic)>
' https://github.com/dotnet/roslyn/issues/5408
'<Export>
'<DiagnosticAnalyzer(LanguageNames.VisualBasic)>
Friend Class UseAutoPropertyAnalyzer
Inherits AbstractUseAutoPropertyAnalyzer(Of PropertyBlockSyntax, FieldDeclarationSyntax, ModifiedIdentifierSyntax, ExpressionSyntax)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册