45 references to Write
Microsoft.CodeAnalysis.Features (45)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
550log.Write($"Document unchanged: '{filePath}'"); 568log.Write($"Syntax errors found in '{filePath}'"); 576log.Write($"Experimental features enabled in '{filePath}'"); 588log.Write($"Parse options differ for '{filePath}'"); 681log.Write($"Capabilities required by '{filePath}': {capabilities.GrantedCapabilities}"); 732log.Write($"Rude edit {diagnostic.Kind}:{diagnostic.SyntaxKind} '{filePath}' line {lineNumber}: '{lineText}'"); 991log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning); 1052log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning);
EditAndContinue\CommittedSolution.cs (8)
413log.Write($"Source file of project '{projectName}' doesn't match output PDB: PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}') not found", LogMessageSeverity.Warning); 420log.Write($"Source file of project '{projectName}' doesn't match output PDB: error opening PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}'): {e.Message}", LogMessageSeverity.Warning); 461log.Write($"Checksum differs for source file '{sourceFilePath}'", LogMessageSeverity.Warning); 468log.Write($"Error calculating checksum for source file '{sourceFilePath}': '{e.Message}'", LogMessageSeverity.Error); 502debuggingSession.SessionLog.Write($"Unable to determine default defaultEncoding for '{document.FilePath}': {e.Message}"); 530log.Write($"Source '{sourceFilePath}' doesn't match output PDB: no document", LogMessageSeverity.Warning); 538log.Write($"Source '{sourceFilePath}' doesn't match PDB: unknown checksum alg", LogMessageSeverity.Warning); 545log.Write($"Source '{sourceFilePath}' doesn't match output PDB: error reading symbols: {e.Message}", LogMessageSeverity.Error);
EditAndContinue\DebuggingSession.cs (6)
141sessionLog.Write($"Debugging session started: #{id}"); 238SessionLog.Write($"Debugging session ended: #{Id}"); 246SessionLog.Write($"Edit session restarted (break state: {inBreakState?.ToString() ?? "null"})"); 427SessionLog.Write($"Failed to create baseline for '{projectId.DebugName}': {e.Message}", LogMessageSeverity.Error); 523EditSession.Log.Write($"Exception while analyzing document '{document.FilePath}': {e}"); 695SessionLog.Write($"Baselines discarded: {solution.GetRequiredProject(projectId).GetLogDisplay()}.");
EditAndContinue\EditAndContinueService.cs (2)
170Log.Write($"Session #{sessionId} started."); 192Log.Write($"Session #{debuggingSession.Id} ended.");
EditAndContinue\EditSession.cs (13)
571log.Write($"Source-generated document '{newDocument.FilePath}' changed even though there are no differences in the project. The generator is faulty.", LogMessageSeverity.Warning); 576log.Write($"Source-generated document '{document.FilePath}' has been deleted even though there are no differences in the project. The generator is faulty.", LogMessageSeverity.Warning); 595log.Write($"Source generator failed: {generatorDiagnostic}", LogMessageSeverity.Info); 1130Log.Write($"Emitting solution update {updateId} for solution '{solution.FilePath}'"); 1209Log.Write($"EnC state of {newProject.GetLogDisplay()} queried: project is stale"); 1233Log.Write($"Project build requested for {newProject.GetLogDisplay()}"); 1238Log.Write($"Changes not applied to {newProject.GetLogDisplay()}: project not built"); 1273Log.Write($"Changes not applied to {newProject.GetLogDisplay()}: binaries not up-to-date"); 1295Log.Write($"Changed document '{changedDocumentAnalysis.FilePath}' has syntax error: {changedDocumentAnalysis.SyntaxError}"); 1299Log.Write($"Document changed, added, or deleted: '{changedDocumentAnalysis.FilePath}'"); 1321Log.Write($"Project summary for {newProject.GetLogDisplay()}: {projectSummary}"); 1398Log.Write($"Emitting update of {newProject.GetLogDisplay()}"); 1636Log.Write($"Exception while emitting update: {e}", LogMessageSeverity.Error);
EditAndContinue\ProjectDifferences.cs (3)
53log.Write($"Found {ChangedOrAddedDocuments.Count} potentially changed, {DeletedDocuments.Count} deleted document(s) in project {newProject.GetLogDisplay()}"); 58log.Write($"References of project {newProject.GetLogDisplay()} changed"); 63log.Write($"Settings of project {newProject.GetLogDisplay()} changed");
EditAndContinue\SolutionUpdate.cs (3)
53log.Write($"Solution update {updateId} status: {ModuleUpdates.Status}"); 57log.Write("Module update: " + 67log.Write($"[{projectDiagnostics.ProjectId.DebugName}]: {diagnostic}", diagnostic.Severity switch
EditAndContinue\Utilities\Extensions.cs (2)
66=> log?.Write($"Project '{project.GetLogDisplay()}' doesn't support EnC: {message}"); 90=> log?.Write($"Project {project.GetLogDisplay()} ignored for EnC: {message}");