1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 12:02:21 +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); outFileName.Append(name);
outText.AppendF( outText.AppendF(
$""" $"""
namespace {Namespace} namespace {Namespace};
{{
class {name} class {name}
{{ {{
}} }}
}}
"""); """);
} }
} }

View file

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