18 references to LogMessageSeverity
Microsoft.CodeAnalysis.Features (18)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
867log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning); 928log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning);
EditAndContinue\CommittedSolution.cs (7)
448log.Write($"Source file of project '{projectName}' doesn't match output PDB: PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}') not found", LogMessageSeverity.Warning); 455log.Write($"Source file of project '{projectName}' doesn't match output PDB: error opening PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}'): {e.Message}", LogMessageSeverity.Warning); 498log.Write($"Checksum differs for source file '{sourceFilePath}'", LogMessageSeverity.Warning); 505log.Write($"Error calculating checksum for source file '{sourceFilePath}': '{e.Message}'", LogMessageSeverity.Error); 550log.Write($"Source '{sourceFilePath}' doesn't match output PDB: no document", LogMessageSeverity.Warning); 558log.Write($"Source '{sourceFilePath}' doesn't match PDB: unknown checksum alg", LogMessageSeverity.Warning); 565log.Write($"Source '{sourceFilePath}' doesn't match output PDB: error reading symbols: {e.Message}", LogMessageSeverity.Error);
EditAndContinue\DebuggingSession.cs (1)
411SessionLog.Write($"Failed to create baseline for '{projectId.DebugName}': {e.Message}", LogMessageSeverity.Error);
EditAndContinue\EditSession.cs (2)
496log.Write($"Source generator failed: {generatorDiagnostic}", LogMessageSeverity.Info); 1267Log.Write($"Exception while emitting update: {e}", LogMessageSeverity.Error);
EditAndContinue\IEditAndContinueLogReporter.cs (1)
12void Report(string message, LogMessageSeverity severity);
EditAndContinue\SolutionUpdate.cs (3)
65DiagnosticSeverity.Warning => LogMessageSeverity.Warning, 66DiagnosticSeverity.Error => LogMessageSeverity.Error, 67_ => LogMessageSeverity.Info
EditAndContinue\TraceLog.cs (2)
160public void Write(string message, LogMessageSeverity severity = LogMessageSeverity.Info)