Severity: Warning
File: src/Servy.Manager/Utils/HistoryResult.cs
Line: 14
Description:
public List<LogLine> Lines { get; } has no setter but List<LogLine> is mutable. Any caller can call Lines.Add(...), Lines.Clear(), etc., corrupting the result for other consumers.
Suggested fix:
Change to IReadOnlyList<LogLine>.
Severity: Warning
File:
src/Servy.Manager/Utils/HistoryResult.csLine: 14
Description:
public List<LogLine> Lines { get; }has no setter butList<LogLine>is mutable. Any caller can callLines.Add(...),Lines.Clear(), etc., corrupting the result for other consumers.Suggested fix:
Change to
IReadOnlyList<LogLine>.