1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Used file-scoped namespace

This commit is contained in:
Brian Fiete 2022-08-23 11:26:34 -07:00
parent c6d9aa37f8
commit 05e002d8f5
2 changed files with 8 additions and 10 deletions

View file

@ -201,12 +201,11 @@ namespace System
outFileName.Append(name);
outText.AppendF(
$"""
namespace {Namespace}
{{
namespace {Namespace};
class {name}
{{
}}
}}
""");
}
}

View file

@ -11213,8 +11213,8 @@ namespace IDE
"""
using System;
namespace {}
{{
namespace {};
class {}
{{
public static int Main(String[] args)
@ -11222,7 +11222,6 @@ namespace IDE
return 0;
}}
}}
}}
""", namespaceName, className);
String srcPath = scope .();