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:
parent
c6d9aa37f8
commit
05e002d8f5
2 changed files with 8 additions and 10 deletions
|
@ -201,12 +201,11 @@ namespace System
|
|||
outFileName.Append(name);
|
||||
outText.AppendF(
|
||||
$"""
|
||||
namespace {Namespace}
|
||||
{{
|
||||
namespace {Namespace};
|
||||
|
||||
class {name}
|
||||
{{
|
||||
}}
|
||||
}}
|
||||
""");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 .();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue