fixed newlines

This commit is contained in:
discostu105 2016-02-21 23:38:13 +01:00
parent ac3e14c89e
commit a31d4a7920

View file

@ -59,7 +59,8 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
private static Dictionary<Type, string> GetProjectAttributes(AssemblyInfoOptions metadata)
{
var attributes = new Dictionary<Type, string>() {
var attributes = new Dictionary<Type, string>()
{
[typeof(AssemblyTitleAttribute)] = EscapeCharacters(metadata.Title),
[typeof(AssemblyDescriptionAttribute)] = EscapeCharacters(metadata.Description),
[typeof(AssemblyCopyrightAttribute)] = EscapeCharacters(metadata.Copyright),
@ -71,7 +72,8 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
};
// only .net 4.0+ compatible
if (metadata.TargetFrameworkVersion == null || metadata.TargetFrameworkVersion >= new Version(4, 0)) {
if (metadata.TargetFrameworkVersion == null || metadata.TargetFrameworkVersion >= new Version(4, 0))
{
attributes[typeof(TargetFrameworkAttribute)] = EscapeCharacters(metadata.TargetFramework);
};
return attributes;
@ -89,4 +91,4 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
return str != null ? SymbolDisplay.FormatLiteral(str, quote: false) : null;
}
}
}
}