Cleanup warnings

- primary action is removing interfaces from Razor that Core exports
- also remove an unused field from Core's `DefaultControllerAssemblyProvider`
This commit is contained in:
dougbu 2014-03-22 18:58:23 -07:00
parent 47b33b907f
commit d3217fd3af
7 changed files with 0 additions and 60 deletions

View File

@ -19,7 +19,6 @@ namespace Microsoft.AspNet.Mvc
"Microsoft.AspNet.Mvc.Rendering",
};
private readonly ILibraryManager _libraryManager;
private readonly Func<ILibraryInformation, Assembly> _assemblyLoader;
public DefaultControllerAssemblyProvider(ILibraryManager libraryManager)
{

View File

@ -11,7 +11,4 @@ namespace Microsoft.Net.Runtime
string ApplicationBasePath { get; }
FrameworkName TargetFramework { get; }
}
[AssemblyNeutral]
public class AssemblyNeutralAttribute : Attribute { }
}

View File

@ -1,12 +0,0 @@
using System;
using System.Collections.Generic;
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface ILibraryExport
{
IList<IMetadataReference> MetadataReferences { get; }
IList<ISourceReference> SourceReferences { get; }
}
}

View File

@ -1,12 +0,0 @@
using System.Collections.Generic;
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface ILibraryInformation
{
string Name { get; }
IEnumerable<string> Dependencies { get; }
}
}

View File

@ -1,16 +0,0 @@
using System.Collections.Generic;
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface ILibraryManager
{
ILibraryExport GetLibraryExport(string name);
IEnumerable<ILibraryInformation> GetReferencingLibraries(string name);
ILibraryInformation GetLibraryInformation(string name);
IEnumerable<ILibraryInformation> GetLibraries();
}
}

View File

@ -1,9 +0,0 @@

namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface IMetadataReference
{
string Name { get; }
}
}

View File

@ -1,7 +0,0 @@
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface ISourceReference
{
}
}