37 references to Write
Microsoft.CodeAnalysis.Features (37)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (7)
545
log.
Write
($"Document unchanged: '{filePath}'");
563
log.
Write
($"Syntax errors found in '{filePath}'");
571
log.
Write
($"Experimental features enabled in '{filePath}'");
667
log.
Write
($"Capabilities required by '{filePath}': {capabilities.GrantedCapabilities}");
719
log.
Write
($"Rude edit {diagnostic.Kind}:{diagnostic.SyntaxKind} '{filePath}' line {lineNumber}: '{lineText}'");
867
log.
Write
($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning);
928
log.
Write
($"Invalid active statement span: {oldStatementSpan}", LogMessageSeverity.Warning);
EditAndContinue\CommittedSolution.cs (7)
448
log.
Write
($"Source file of project '{projectName}' doesn't match output PDB: PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}') not found", LogMessageSeverity.Warning);
455
log.
Write
($"Source file of project '{projectName}' doesn't match output PDB: error opening PDB '{compilationOutputs.PdbDisplayPath}' (assembly: '{compilationOutputs.AssemblyDisplayPath}'): {e.Message}", LogMessageSeverity.Warning);
498
log.
Write
($"Checksum differs for source file '{sourceFilePath}'", LogMessageSeverity.Warning);
505
log.
Write
($"Error calculating checksum for source file '{sourceFilePath}': '{e.Message}'", LogMessageSeverity.Error);
550
log.
Write
($"Source '{sourceFilePath}' doesn't match output PDB: no document", LogMessageSeverity.Warning);
558
log.
Write
($"Source '{sourceFilePath}' doesn't match PDB: unknown checksum alg", LogMessageSeverity.Warning);
565
log.
Write
($"Source '{sourceFilePath}' doesn't match output PDB: error reading symbols: {e.Message}", LogMessageSeverity.Error);
EditAndContinue\DebuggingSession.cs (4)
139
sessionLog.
Write
($"Debugging session started: #{id}");
235
SessionLog.
Write
($"Debugging session ended: #{Id}");
243
SessionLog.
Write
($"Edit session restarted (break state: {inBreakState?.ToString() ?? "null"})");
413
SessionLog.
Write
($"Failed to create baseline for '{projectId.DebugName}': {e.Message}", LogMessageSeverity.Error);
EditAndContinue\EditAndContinueService.cs (2)
173
Log.
Write
($"Session #{sessionId} started.");
202
Log.
Write
($"Session #{debuggingSession.Id} ended.");
EditAndContinue\EditSession.cs (12)
504
log.
Write
($"Source generator failed: {generatorDiagnostic}", generatorDiagnostic.Severity switch
852
Log.
Write
($"Found {updateId.SessionId} potentially changed document(s) in project {updateId.Ordinal} '{solution.FilePath}'");
902
Log.
Write
($"EnC state of {newProject.GetLogDisplay()} queried: project not loaded");
924
Log.
Write
($"Found {documentDifferences.ChangedOrAdded.Count} potentially changed and {documentDifferences.Deleted.Count} deleted document(s) in project {newProject.GetLogDisplay()}");
931
Log.
Write
($"EnC state of {newProject.GetLogDisplay()} queried: project is stale");
951
Log.
Write
($"Changes not applied to {newProject.Name} '{newProject.FilePath}': project not built");
992
Log.
Write
($"Changes not applied to {newProject.Name} '{newProject.FilePath}': binaries not up-to-date");
1009
Log.
Write
($"Changed document '{changedDocumentAnalysis.FilePath}' has syntax error: {changedDocumentAnalysis.SyntaxError}");
1013
Log.
Write
($"Document changed, added, or deleted: '{changedDocumentAnalysis.FilePath}'");
1020
Log.
Write
($"Project summary for {newProject.Name} '{newProject.FilePath}': {projectSummary}");
1080
Log.
Write
($"Emitting update of {newProject.Name} '{newProject.FilePath}': project not built");
1276
Log.
Write
($"Exception while emitting update: {e}", LogMessageSeverity.Error);
EditAndContinue\SolutionUpdate.cs (4)
45
log.
Write
($"Solution update {updateId} status: {ModuleUpdates.Status}");
49
log.
Write
("Module update: " +
61
log.
Write
($"Project {projectDiagnostics.ProjectId.DebugName} update error: {diagnostic}", LogMessageSeverity.Error);
70
log.
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}");