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