2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotRaiseExceptionsInExceptionClauses.cs (2)
40
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
56
operationBlockContext.ReportDiagnostic(throwStatement.Syntax.CreateDiagnostic(
Rule
));