Skip to content

Commit

Permalink
Remove unused/disabled code
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Nov 4, 2019
1 parent 013b657 commit 1cbea12
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using NuGet.Common;
Expand Down Expand Up @@ -745,38 +744,6 @@ public static class NetStandard
NuGetVersion.Parse("2.0.3")),
@"build\netstandard2.0\ref")
.AddAssemblies(ImmutableArray.Create("netstandard"));

////public static ReferenceAssemblies NetStandard21 { get; }
//// = new ReferenceAssemblies("netstandard2.1")
//// .AddPackages(ImmutableArray.Create(new PackageIdentity("NETStandard.Library", NuGetVersion.Parse("2.0.3"))));
}

#if false
public static class Runtime
{
public static ReferenceAssemblies Current
{
get
{
var metadataReferences =
new[]
{
typeof(object).GetTypeInfo().Assembly,
typeof(System.Diagnostics.Debug).GetTypeInfo().Assembly,
typeof(Enumerable).GetTypeInfo().Assembly,
typeof(Microsoft.VisualBasic.Strings).GetTypeInfo().Assembly,
}
.Select(assembly => assembly.Location)
.Distinct()
.Select(location => MetadataReferences.CreateReferenceFromFile(location))
.ToImmutableArray();

return new ReferenceAssemblies(
metadataReferences,
ImmutableDictionary.Create<string, ImmutableArray<MetadataReference>>());
}
}
}
#endif
}
}

0 comments on commit 1cbea12

Please sign in to comment.