Skip to content

Commit

Permalink
Remove obsoleted factories that are no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Aug 13, 2024
1 parent 53b7bdb commit 1d50be3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/xunit.runner.visualstudio/Sinks/DiagnosticMessageSink.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Xunit.Runner.Common;

namespace Xunit.Runner.VisualStudio;
Expand All @@ -18,17 +17,4 @@ public DiagnosticMessageSink(
if (showInternalDiagnostics)
InternalDiagnosticMessageEvent += args => log.Log("{0}", args.Message.Message);
}

[Obsolete("Would like to see this collapsed")]
public static DiagnosticMessageSink ForDiagnostics(
LoggerHelper log,
string assemblyDisplayName,
bool showDiagnostics) =>
new(log, assemblyDisplayName, showDiagnostics, showInternalDiagnostics: false);

[Obsolete("Would like to see this collapsed")]
public static DiagnosticMessageSink ForInternalDiagnostics(
LoggerHelper log,
bool showInternalDiagnostics) =>
new(log, assemblyDisplayName: null, showDiagnostics: false, showInternalDiagnostics);
}

0 comments on commit 1d50be3

Please sign in to comment.