Skip to content

Commit

Permalink
Make analyzer C# only
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkoshevoi committed Sep 12, 2019
1 parent 8c43b7e commit 057ecb9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CodeQuality.Analyzers.QualityGuidelines
/// <summary>
/// CA2246: Prevent objects from being referenced in statements where they are reassigned
/// </summary>
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.VisualBasic)]
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class AssigningSymbolAndItsMemberInSameStatement : DiagnosticAnalyzer
{
internal const string RuleId = "CA2246";
Expand Down Expand Up @@ -97,4 +97,4 @@ private void AnalyzeAssignment(OperationAnalysisContext context)
return false;
}
}
}
}

0 comments on commit 057ecb9

Please sign in to comment.