117 writes to ErrorMessage
BasicWebSite (8)
Identity.ExternalClaims (10)
IdentitySample.DefaultUI (4)
IdentitySample.Mvc (8)
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Identity.UI (20)
Microsoft.AspNetCore.Mvc.Core.Test (5)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (33)
DataAnnotationsModelValidatorTest.cs (12)
369attribute.ErrorMessage = "{0} should have no more than {1} characters.";
452new RegularExpressionAttribute(regex) { ErrorMessage = LocalizationKey },
457new MaxLengthAttribute(length) { ErrorMessage = LocalizationKey },
461new MaxLengthAttribute(length) { ErrorMessage = LocalizationKey },
466new CompareAttribute(pattern) { ErrorMessage = LocalizationKey },
470new MinLengthAttribute(length) { ErrorMessage = LocalizationKey },
475new CreditCardAttribute() { ErrorMessage = LocalizationKey },
480new StringLengthAttribute(length) { ErrorMessage = LocalizationKey, MinimumLength = 1},
485new RangeAttribute(0, length) { ErrorMessage = LocalizationKey },
490new EmailAddressAttribute() { ErrorMessage = LocalizationKey },
495new PhoneAttribute() { ErrorMessage = LocalizationKey },
500new UrlAttribute() { ErrorMessage = LocalizationKey },
Microsoft.AspNetCore.Mvc.IntegrationTests (10)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
RazorPagesWebSite (7)
Shared.Tests (1)
40 references to ErrorMessage
Microsoft.AspNetCore.Mvc.DataAnnotations (5)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (20)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Telemetry (1)
Shared (1)
System.ComponentModel.Annotations (6)