Skip to content

Commit

Permalink
Add new line to C# item templates with file-scoped namespaces (#30955)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorKrolic authored Mar 6, 2023
1 parent 1430396 commit 43efc3b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public class TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public class TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public enum TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public enum TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public interface TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public record class TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public struct TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace ClassLib;

public struct TestItem1
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#endif
#if (csharpFeature_FileScopedNamespaces)
namespace Company.ClassLibrary1;

public class Class1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#if (csharpFeature_FileScopedNamespaces)
namespace Company.ClassLibrary1;

public enum Enum1
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#endif
#if (csharpFeature_FileScopedNamespaces)
namespace Company.ClassLibrary1;

public interface Interface1
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#if (csharpFeature_RecordClass)
namespace Company.ClassLibrary1;

public record class Record1
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#endif
#if (csharpFeature_FileScopedNamespaces)
namespace Company.ClassLibrary1;

public struct Struct1
{

Expand Down

0 comments on commit 43efc3b

Please sign in to comment.