net10.0
namespace Microsoft.Extensions.Validation
{
    [DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
    [Experimental("ASP0029", UrlFormat = "https://aka.ms/aspnet/analyzer/{0}")]
    public readonly struct ValidationErrorContext
    {
        public IReadOnlyList<string!>! Errors { get; set; }
    }
}
.NET
10.0
Information specific to net10.0
Assembly

Microsoft.Extensions.Validation , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Preview ASP0029: This API is marked as experimental.(more details)
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API