File: FormMapping\FormMappingHelpers.cs
Web Access
Project: src\src\Components\Endpoints\src\Microsoft.AspNetCore.Components.Endpoints.csproj (Microsoft.AspNetCore.Components.Endpoints)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.Endpoints.FormMapping;
 
internal static class FormMappingHelpers
{
    public const string RequiresUnreferencedCodeMessage = "Form mapping is not compatible with trimming, as it requires dynamic access to code that is not referenced statically.";
    public const string RequiresDynamicCodeMessage = "Form mapping may require dynamic code generation.";
}