From ceb31d8f30f39709a2bcd0a3a30bf81dda34a7e8 Mon Sep 17 00:00:00 2001 From: discostu105 Date: Tue, 23 Feb 2016 17:28:50 +0100 Subject: [PATCH] styling --- .../AssemblyInfoFileGenerator.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Compiler.Common/AssemblyInfoFileGenerator.cs b/src/Microsoft.DotNet.Compiler.Common/AssemblyInfoFileGenerator.cs index 5f36f2d5c..3e4408bc8 100644 --- a/src/Microsoft.DotNet.Compiler.Common/AssemblyInfoFileGenerator.cs +++ b/src/Microsoft.DotNet.Compiler.Common/AssemblyInfoFileGenerator.cs @@ -74,7 +74,8 @@ namespace Microsoft.DotNet.Cli.Compiler.Common if (SupportsTargetFrameworkAttribute(metadata)) { - attributes[typeof(TargetFrameworkAttribute)] = EscapeCharacters(metadata.TargetFramework); // TargetFrameworkAttribute only exists since .NET 4.0 + // TargetFrameworkAttribute only exists since .NET 4.0 + attributes[typeof(TargetFrameworkAttribute)] = EscapeCharacters(metadata.TargetFramework); }; return attributes; @@ -88,7 +89,7 @@ namespace Microsoft.DotNet.Cli.Compiler.Common return false; } - NuGetFramework targetFramework = NuGetFramework.Parse(metadata.TargetFramework); + var targetFramework = NuGetFramework.Parse(metadata.TargetFramework); if (!targetFramework.IsDesktop()) { // assuming .NET Core, which should support .NET 4.0 attributes