Skip to content

Commit

Permalink
Rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Sep 8, 2024
1 parent fb8b52f commit 0208d72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace Buildalyzer;

[DebuggerDisplay("Count = {Count}")]
[DebuggerTypeProxy(typeof(Diagnostics.CollectionDebugView<BuildEventArgs>))]
internal sealed class BuildEventCollector : IReadOnlyCollection<BuildEventArgs>, IDisposable
internal sealed class BuildEventArgsCollector : IReadOnlyCollection<BuildEventArgs>, IDisposable
{
public BuildEventCollector(EventArgsDispatcher server)
public BuildEventArgsCollector(EventArgsDispatcher server)
{
Server = server;
Server.AnyEventRaised += EventRaised;
Expand Down
4 changes: 0 additions & 4 deletions src/Buildalyzer/ProjectAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ void OnPipeLoggerOnAnyEventRaised(object o, BuildEventArgs buildEventArgs)

pipeLogger.AnyEventRaised += OnPipeLoggerOnAnyEventRaised;

using var collector = new BuildEventCollector(pipeLogger);

using var eventProcessor = new EventProcessor(Manager, this, BuildLoggers, pipeLogger, results != null);

// Run MSBuild
Expand Down Expand Up @@ -205,8 +203,6 @@ void OnProcessRunnerExited()

// Collect the results
results?.Add(eventProcessor.Results, exitCode == 0 && eventProcessor.OverallSuccess);

var events = collector.ToImmutableArray();
}
return results;
}
Expand Down

0 comments on commit 0208d72

Please sign in to comment.