15 references to CriticalError
Microsoft.Build.TaskAuthoring.Analyzer (15)
BannedApiDefinitions.cs (11)
54
ApiCategory.
CriticalError
, "terminates entire process; return false or throw instead"),
56
ApiCategory.
CriticalError
, "terminates entire process; return false or throw instead"),
58
ApiCategory.
CriticalError
, "terminates entire process; return false or throw instead"),
60
ApiCategory.
CriticalError
, "terminates entire process; return false or throw instead"),
64
ApiCategory.
CriticalError
, "may terminate the MSBuild host process"),
66
ApiCategory.
CriticalError
, "may terminate the MSBuild host process"),
70
ApiCategory.
CriticalError
, "modifies process-wide thread pool settings"),
72
ApiCategory.
CriticalError
, "modifies process-wide thread pool settings"),
76
ApiCategory.
CriticalError
, "affects culture of all new threads in process"),
78
ApiCategory.
CriticalError
, "affects UI culture of all new threads in process"),
82
ApiCategory.
CriticalError
, "modifies process-wide working directory; use TaskEnvironment.ProjectDirectory instead"),
MultiThreadableTaskAnalyzer.cs (1)
237
BannedApiDefinitions.ApiCategory.
CriticalError
=> DiagnosticDescriptors.CriticalError,
TransitiveCallChainAnalyzer.cs (3)
218
BannedApiDefinitions.ApiCategory.
CriticalError
,
228
var violation = new ViolationInfo(BannedApiDefinitions.ApiCategory.
CriticalError
, displayName, message, context.Operation.Syntax.GetLocation());
474
BannedApiDefinitions.ApiCategory.
CriticalError
or