Skip to content

Commit 1c7c017

Browse files
committed
Remove unused code
1 parent 277684b commit 1c7c017

File tree

1 file changed

+0
-11
lines changed
  • src/Components/test/E2ETestMigration/Infrastructure/ServerFixtures

1 file changed

+0
-11
lines changed

src/Components/test/E2ETestMigration/Infrastructure/ServerFixtures/ServerFixture.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures
1313
{
1414
public abstract class ServerFixture : IDisposable
1515
{
16-
private static readonly Lazy<Dictionary<string, string>> _projects = new Lazy<Dictionary<string, string>>(FindProjects);
17-
1816
public Uri RootUri => _rootUriInitializer.Value;
1917

2018
private readonly Lazy<Uri> _rootUriInitializer;
@@ -33,15 +31,6 @@ public ServerFixture()
3331

3432
protected abstract string StartAndGetRootUri();
3533

36-
private static Dictionary<string, string> FindProjects()
37-
{
38-
return typeof(ServerFixture).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>()
39-
.Where(m => m.Key.StartsWith("TestAssemblyApplication[", StringComparison.Ordinal))
40-
.ToDictionary(m =>
41-
m.Key.Replace("TestAssemblyApplication", "").TrimStart('[').TrimEnd(']'),
42-
m => m.Value);
43-
}
44-
4534
public static string FindSampleOrTestSitePath(string projectName)
4635
{
4736
var comma = projectName.IndexOf(",", StringComparison.Ordinal);

0 commit comments

Comments
 (0)