7 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDirectlyAwaitATask.cs (7)
33
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
43
!context.Options.GetOutputKindsOption(
Rule
, tree, context.Compilation).Contains(context.Compilation.Options.OutputKind))
69
rule:
Rule
,
104
context.ReportDiagnostic(forEachOperation.Collection.CreateDiagnostic(
Rule
));
117
context.ReportDiagnostic(awaitExpression.Operation.Syntax.CreateDiagnostic(
Rule
));
143
context.ReportDiagnostic(reportingOperation.CreateDiagnostic(
Rule
));
170
context.ReportDiagnostic(reportingOperation.CreateDiagnostic(
Rule
));