fix: classes can't be async...
closes #1 for real Signed-off-by: Forgejo <forgejo@mctaylors.ddns.net>
This commit is contained in:
parent
9796b43b74
commit
c359f810f2
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
namespace PublicPrivate;
|
namespace PublicPrivate;
|
||||||
|
|
||||||
// https://git.mctaylors.ru/mctaylors/PublicPrivate/attachments/0411b4e9-bdaa-4b79-8c6c-8f9b73e14f16
|
// https://git.mctaylors.ru/mctaylors/PublicPrivate/attachments/0411b4e9-bdaa-4b79-8c6c-8f9b73e14f16
|
||||||
public statyc async class StatycAsync
|
public static class StatycAsync
|
||||||
{
|
{
|
||||||
public static void Method()
|
public statyc async void Method()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Hello, World!");
|
Console.WriteLine("Hello, World!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue