40 references to Write
Microsoft.CodeAnalysis.Features (40)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
545log.Write($"Document unchanged: '{filePath}'"); 563log.Write($"Syntax errors found in '{filePath}'"); 571log.Write($"Experimental features enabled in '{filePath}'"); 583log.Write($"Parse options differ for '{filePath}'"); 676log.Write($"Capabilities required by '{filePath}': {capabilities.GrantedCapabilities}"); 727log.Write($"Rude edit {diagnostic.Kind}:{diagnostic.SyntaxKind} '{filePath}' line {lineNumber}: '{lineText}'"); 986log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning); 1047log.Write($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning);
EditAndContinue\CommittedSolution.cs (7)
446log.Write($"Source file of project '{projectName}' doesn't match output PDB: PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}') not found", LogMessageSeverity.Warning); 453log.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 (5)
140sessionLog.Write($"Debugging session started: #{id}"); 236SessionLog.Write($"Debugging session ended: #{Id}"); 244SessionLog.Write($"Edit session restarted (break state: {inBreakState?.ToString() ?? "null"})"); 424SessionLog.Write($"Failed to create baseline for '{projectId.DebugName}': {e.Message}", LogMessageSeverity.Error); 681SessionLog.Write($"Baselines discarded: {solution.GetRequiredProject(projectId).GetLogDisplay()}.");
EditAndContinue\EditAndContinueService.cs (2)
173Log.Write($"Session #{sessionId} started."); 202Log.Write($"Session #{debuggingSession.Id} ended.");
EditAndContinue\EditSession.cs (11)
557log.Write($"Source generator failed: {generatorDiagnostic}", LogMessageSeverity.Info); 967Log.Write($"Found {updateId.SessionId} potentially changed document(s) in project {updateId.Ordinal} '{solution.FilePath}'"); 1037Log.Write($"EnC state of {newProject.GetLogDisplay()} queried: project is stale"); 1061Log.Write($"Project build requested for {newProject.GetLogDisplay()}"); 1066Log.Write($"Changes not applied to {newProject.GetLogDisplay()}: project not built"); 1101Log.Write($"Changes not applied to {newProject.GetLogDisplay()}: binaries not up-to-date"); 1119Log.Write($"Changed document '{changedDocumentAnalysis.FilePath}' has syntax error: {changedDocumentAnalysis.SyntaxError}"); 1123Log.Write($"Document changed, added, or deleted: '{changedDocumentAnalysis.FilePath}'"); 1140Log.Write($"Project summary for {newProject.GetLogDisplay()}: {projectSummary}"); 1217Log.Write($"Emitting update of {newProject.GetLogDisplay()}"); 1439Log.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 (1)
71=> log?.Write($"Project '{project.GetLogDisplay()}' doesn't support EnC: {message}");