File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/Components/test/testassets/BasicTestApp Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
using System . Globalization ;
5
+ using System . Threading . Tasks ;
5
6
using Microsoft . AspNetCore . Blazor . Hosting ;
6
7
7
8
namespace BasicTestApp
8
9
{
9
10
public class Program
10
11
{
11
- public static void Main ( string [ ] args )
12
+ public static async Task Main ( string [ ] args )
12
13
{
14
+ // Later on, the startup APIs will be inherently asynchronous
15
+ // Until then, use this artificial means to show async main is working
16
+ await Task . Yield ( ) ;
17
+
13
18
// We want the culture to be en-US so that the tests for bind can work consistently.
14
19
CultureInfo . CurrentCulture = new CultureInfo ( "en-US" ) ;
15
20
You can’t perform that action at this time.
0 commit comments