From ed94f87d987b03fb81fa0237701250741d981fb2 Mon Sep 17 00:00:00 2001 From: Vlada Shubina Date: Tue, 6 Jul 2021 12:49:33 +0300 Subject: [PATCH] dotnet/templating#3360 using file-scoped namespaces in classlib template --- .../content/ClassLibrary-CSharp/Class1.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/template_feed/Microsoft.DotNet.Common.ProjectTemplates.6.0/content/ClassLibrary-CSharp/Class1.cs b/template_feed/Microsoft.DotNet.Common.ProjectTemplates.6.0/content/ClassLibrary-CSharp/Class1.cs index 72abb3efe5a..d3d5e813301 100644 --- a/template_feed/Microsoft.DotNet.Common.ProjectTemplates.6.0/content/ClassLibrary-CSharp/Class1.cs +++ b/template_feed/Microsoft.DotNet.Common.ProjectTemplates.6.0/content/ClassLibrary-CSharp/Class1.cs @@ -1,8 +1,7 @@ -using System; +namespace Company.ClassLibrary1 +using System; -namespace Company.ClassLibrary1 +public class Class1 { - public class Class1 - { - } + }