1 write to _culture
Microsoft.CodeAnalysis (1)
CommandLine\SarifErrorLogger.cs (1)
33
_culture
= culture;
11 references to _culture
Microsoft.CodeAnalysis (11)
CommandLine\SarifV1ErrorLogger.cs (3)
72
string? message = diagnostic.GetMessage(
_culture
);
163
string? shortDescription = descriptor.Title.ToString(
_culture
);
169
string? fullDescription = descriptor.Description.ToString(
_culture
);
CommandLine\SarifV2ErrorLogger.cs (8)
65
string? message = diagnostic.GetMessage(
_culture
);
127
_totalAnalyzerExecutionTime = ReportAnalyzerUtil.GetFormattedAnalyzerExecutionTime(totalAnalyzerExecutionTime,
_culture
).Trim();
220
if (
_culture
.Name.Length > 0)
221
_writer.Write("language",
_culture
.Name);
244
string? shortDescription = descriptor.Title.ToString(
_culture
);
252
string? fullDescription = descriptor.Description.ToString(
_culture
);
309
var executionTime = ReportAnalyzerUtil.GetFormattedAnalyzerExecutionTime(descriptorInfo.ExecutionTime,
_culture
).Trim();
312
var executionPercentage = ReportAnalyzerUtil.GetFormattedAnalyzerExecutionPercentage(descriptorInfo.ExecutionPercentage,
_culture
).Trim();