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,11 +201,10 @@ namespace System
outFileName.Append(name);
outText.AppendF(
$"""
namespace {Namespace}
namespace {Namespace};
class {name}
{{
class {name}
{{
}}
}}
""");
}

View file

@ -11213,14 +11213,13 @@ namespace IDE
"""
using System;
namespace {}
namespace {};
class {}
{{
class {}
public static int Main(String[] args)
{{
public static int Main(String[] args)
{{
return 0;
}}
return 0;
}}
}}
""", namespaceName, className);