Reacting to KRE renames
This commit is contained in:
parent
85b6382c69
commit
f3393db4f4
|
|
@ -15,6 +15,7 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.Emit;
|
||||
using Microsoft.Framework.Runtime;
|
||||
using Microsoft.Framework.Runtime.Roslyn;
|
||||
|
||||
namespace Microsoft.AspNet.Mvc.Razor
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.Framework.Cache.Memory;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.OptionsModel;
|
||||
using Microsoft.Framework.Runtime;
|
||||
using Microsoft.Framework.Runtime.Roslyn;
|
||||
|
||||
namespace Microsoft.AspNet.Mvc.Razor
|
||||
|
|
@ -62,7 +61,7 @@ namespace Microsoft.AspNet.Mvc.Razor
|
|||
CompilationSettings);
|
||||
|
||||
var tree = collectionGenerator.GenerateCollection();
|
||||
context.CSharpCompilation = context.CSharpCompilation.AddSyntaxTrees(tree);
|
||||
context.Compilation = context.Compilation.AddSyntaxTrees(tree);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -103,8 +102,8 @@ namespace Microsoft.AspNet.Mvc.Razor
|
|||
}
|
||||
});
|
||||
|
||||
context.CSharpCompilation = context.CSharpCompilation
|
||||
.AddSyntaxTrees(syntaxTrees.Where(tree => tree != null));
|
||||
context.Compilation = context.Compilation
|
||||
.AddSyntaxTrees(syntaxTrees.Where(tree => tree != null));
|
||||
return razorFiles.Where(file => file != null);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ using Microsoft.CodeAnalysis.CSharp;
|
|||
using Microsoft.Framework.Cache.Memory;
|
||||
using Microsoft.Framework.DependencyInjection;
|
||||
using Microsoft.Framework.DependencyInjection.Fallback;
|
||||
using Microsoft.Framework.DependencyInjection.ServiceLookup;
|
||||
using Microsoft.Framework.Runtime;
|
||||
using Microsoft.Framework.Runtime.Roslyn;
|
||||
|
||||
namespace Microsoft.AspNet.Mvc
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue