File: Program.cs
Web Access
Project: src\src\Shared\test\testassets\CreateWebHostBuilderInvalidSignature\CreateWebHostBuilderInvalidSignature.csproj (CreateWebHostBuilderInvalidSignature)
// 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 CreateWebHostBuilderInvalidSignature;
 
public class Program
{
    static void Main(string[] args)
    {
    }
 
    // Wrong return type
    public static IWebHost CreateWebHostBuilder(string[] args) => new WebHost();
}