Skip to content

Commit

Permalink
Don't use top level statements in the repro app (#69779)
Browse files Browse the repository at this point in the history
I'm finding myself adding `class Program` too often. Top level statements are not helpful here.
  • Loading branch information
MichalStrehovsky committed May 25, 2022
1 parent 8aac5ee commit 6761c44
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/coreclr/tools/aot/ILCompiler/repro/Program.cs
@@ -1,3 +1,12 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;

Console.WriteLine("Hello world");
class Program
{
static void Main()
{
Console.WriteLine("Hello world");
}
}

0 comments on commit 6761c44

Please sign in to comment.