CR feedback
This commit is contained in:
parent
cff4a21e08
commit
8d53d40647
|
|
@ -4,7 +4,7 @@ namespace Microsoft.AspNet.Mvc
|
|||
{
|
||||
internal static class PlatformHelper
|
||||
{
|
||||
private static Lazy<bool> _isMono = new Lazy<bool>(() => Type.GetType("Mono.Runtime") != null);
|
||||
private static readonly Lazy<bool> _isMono = new Lazy<bool>(() => Type.GetType("Mono.Runtime") != null);
|
||||
|
||||
public static bool IsMono
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
|
|||
{
|
||||
public class RoslynCompilationService : ICompilationService
|
||||
{
|
||||
private static readonly ConcurrentDictionary<string, MetadataReference> _metadataFileCache = new ConcurrentDictionary<string, MetadataReference>(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
private readonly IApplicationEnvironment _environment;
|
||||
private readonly IAssemblyLoaderEngine _loader;
|
||||
private static readonly ConcurrentDictionary<string, MetadataReference> _metadataFileCache = new ConcurrentDictionary<string, MetadataReference>(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
public RoslynCompilationService(IApplicationEnvironment environment,
|
||||
IAssemblyLoaderEngine loaderEngine,
|
||||
|
|
|
|||
Loading…
Reference in New Issue