37 references to Write
Microsoft.CodeAnalysis.Features (37)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (7)
545log.Write($"Document unchanged: '{filePath}'"); 563log.Write($"Syntax errors found in '{filePath}'"); 571log.Write($"Experimental features enabled in '{filePath}'"); 667log.Write($"Capabilities required by '{filePath}': {capabilities.GrantedCapabilities}"); 719log.Write($"Rude edit {diagnostic.Kind}:{diagnostic.SyntaxKind} '{filePath}' line {lineNumber}: '{lineText}'"); 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 (4)
139sessionLog.Write($"Debugging session started: #{id}"); 235SessionLog.Write($"Debugging session ended: #{Id}"); 243SessionLog.Write($"Edit session restarted (break state: {inBreakState?.ToString() ?? "null"})"); 413SessionLog.Write($"Failed to create baseline for '{projectId.DebugName}': {e.Message}", LogMessageSeverity.Error);
EditAndContinue\EditAndContinueService.cs (2)
173Log.Write($"Session #{sessionId} started."); 202Log.Write($"Session #{debuggingSession.Id} ended.");
EditAndContinue\EditSession.cs (12)
504log.Write($"Source generator failed: {generatorDiagnostic}", generatorDiagnostic.Severity switch 852Log.Write($"Found {updateId.SessionId} potentially changed document(s) in project {updateId.Ordinal} '{solution.FilePath}'"); 902Log.Write($"EnC state of {newProject.GetLogDisplay()} queried: project not loaded"); 924Log.Write($"Found {documentDifferences.ChangedOrAdded.Count} potentially changed and {documentDifferences.Deleted.Count} deleted document(s) in project {newProject.GetLogDisplay()}"); 931Log.Write($"EnC state of {newProject.GetLogDisplay()} queried: project is stale"); 951Log.Write($"Changes not applied to {newProject.Name} '{newProject.FilePath}': project not built"); 992Log.Write($"Changes not applied to {newProject.Name} '{newProject.FilePath}': binaries not up-to-date"); 1009Log.Write($"Changed document '{changedDocumentAnalysis.FilePath}' has syntax error: {changedDocumentAnalysis.SyntaxError}"); 1013Log.Write($"Document changed, added, or deleted: '{changedDocumentAnalysis.FilePath}'"); 1020Log.Write($"Project summary for {newProject.Name} '{newProject.FilePath}': {projectSummary}"); 1080Log.Write($"Emitting update of {newProject.Name} '{newProject.FilePath}': project not built"); 1276Log.Write($"Exception while emitting update: {e}", LogMessageSeverity.Error);
EditAndContinue\SolutionUpdate.cs (4)
45log.Write($"Solution update {updateId} status: {ModuleUpdates.Status}"); 49log.Write("Module update: " + 61log.Write($"Project {projectDiagnostics.ProjectId.DebugName} update error: {diagnostic}", LogMessageSeverity.Error); 70log.Write($"Document {documentWithRudeEdits.Id.DebugName} rude edit: {rudeEdit.Kind} {rudeEdit.SyntaxKind}", LogMessageSeverity.Error);
EditAndContinue\Utilities\Extensions.cs (1)
70=> log?.Write($"Project '{project.GetLogDisplay()}' doesn't support EnC: {message}");