Fixing formatting in RoslynCompilationService

This commit is contained in:
Pranav K 2015-09-11 12:22:34 -07:00
parent 345021d822
commit 85bb33a62a
1 changed files with 12 additions and 7 deletions

View File

@ -51,7 +51,8 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
/// The <see cref="ICompilerOptionsProvider"/> that provides Roslyn compilation settings. /// The <see cref="ICompilerOptionsProvider"/> that provides Roslyn compilation settings.
/// </param> /// </param>
/// <param name="host">The <see cref="IMvcRazorHost"/> that was used to generate the code.</param> /// <param name="host">The <see cref="IMvcRazorHost"/> that was used to generate the code.</param>
public RoslynCompilationService(IApplicationEnvironment environment, public RoslynCompilationService(
IApplicationEnvironment environment,
IAssemblyLoadContextAccessor loaderAccessor, IAssemblyLoadContextAccessor loaderAccessor,
ILibraryExporter libraryExporter, ILibraryExporter libraryExporter,
ICompilerOptionsProvider compilerOptionsProvider, ICompilerOptionsProvider compilerOptionsProvider,
@ -157,7 +158,11 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
sourceFileContent = ReadFileContentsSafely(_fileProvider, sourceFilePath); sourceFileContent = ReadFileContentsSafely(_fileProvider, sourceFilePath);
} }
var compilationFailure = new CompilationFailure(sourceFilePath, sourceFileContent, compilationContent, group.Select(d => d.ToDiagnosticMessage(_environment.RuntimeFramework))); var compilationFailure = new CompilationFailure(
sourceFilePath,
sourceFileContent,
compilationContent,
group.Select(d => d.ToDiagnosticMessage(_environment.RuntimeFramework)));
failures.Add(compilationFailure); failures.Add(compilationFailure);
} }