14 references to DiagnosticDescriptors
Microsoft.Build.TaskAuthoring.Analyzer (9)
MultiThreadableTaskAnalyzer.cs (7)
39public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => DiagnosticDescriptors.All; 193DiagnosticDescriptors.CriticalError, 217DiagnosticDescriptors.FilePathRequiresAbsolute, 230BannedApiDefinitions.ApiCategory.CriticalError => DiagnosticDescriptors.CriticalError, 231BannedApiDefinitions.ApiCategory.TaskEnvironment => DiagnosticDescriptors.TaskEnvironmentRequired, 232BannedApiDefinitions.ApiCategory.PotentialIssue => DiagnosticDescriptors.PotentialIssue, 233_ => DiagnosticDescriptors.TaskEnvironmentRequired,
TransitiveCallChainAnalyzer.cs (2)
36ImmutableArray.Create(DiagnosticDescriptors.TransitiveUnsafeCall); 356DiagnosticDescriptors.TransitiveUnsafeCall,
ThreadSafeTaskAnalyzer.Tests (5)
MultiThreadableTaskCodeFixProviderTests.cs (5)
41DiagnosticIds.CriticalError => new DiagnosticResult(DiagnosticDescriptors.CriticalError), 42DiagnosticIds.TaskEnvironmentRequired => new DiagnosticResult(DiagnosticDescriptors.TaskEnvironmentRequired), 43DiagnosticIds.FilePathRequiresAbsolute => new DiagnosticResult(DiagnosticDescriptors.FilePathRequiresAbsolute), 44DiagnosticIds.PotentialIssue => new DiagnosticResult(DiagnosticDescriptors.PotentialIssue), 45DiagnosticIds.TransitiveUnsafeCall => new DiagnosticResult(DiagnosticDescriptors.TransitiveUnsafeCall),