File: Program.cs
Web Access
Project: src\src\Shared\test\testassets\CreateHostBuilderInvalidSignature\CreateHostBuilderInvalidSignature.csproj (CreateHostBuilderInvalidSignature)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using MockHostTypes;
 
namespace CreateHostBuilderInvalidSignature;
 
public class Program
{
    public static void Main(string[] args)
    {
        var webHost = CreateHostBuilder(null, args).Build();
    }
 
    // Extra parameter
    private static IHostBuilder CreateHostBuilder(object extraParam, string[] args) => null;
}