2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTasksWithoutPassingATaskScheduler.cs (2)
34
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
71
operationContext.ReportDiagnostic(invocation.CreateDiagnostic(
Rule
, invocation.TargetMethod.Name));