2 references to Rule
Roslyn.Diagnostics.CSharp.Analyzers (2)
CSharpDoNotCapturePrimaryContructorParameters.cs (2)
28
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
Rule
);
60
context.ReportDiagnostic(Diagnostic.Create(
Rule
, operation.Syntax.GetLocation(), operation.Parameter.Name));