103 instantiations of Required
Aspire.Dashboard (3)
Microsoft.AspNetCore.Diagnostics.Middleware (5)
Logging\RequestHeadersLogEnricherOptions.cs (1)
22[Required]
Microsoft.AspNetCore.Identity.UI (36)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
61[Required]
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
39[Required]
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
50[Required]
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
45[Required]
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
35[Required]
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
56[Required]
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
65[Required]
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
41[Required]
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
39[Required]
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
61[Required]
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
39[Required]
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
50[Required]
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
45[Required]
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
35[Required]
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
56[Required]
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
65[Required]
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
41[Required]
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
39[Required]
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
Microsoft.DotNet.HotReload.Watch (11)
Microsoft.Extensions.AI.Abstractions.Tests (8)
Microsoft.Extensions.AmbientMetadata.Application (2)
Microsoft.Extensions.Compliance.Testing (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Http.Diagnostics (6)
Microsoft.Extensions.Http.Resilience (15)
Microsoft.Extensions.Telemetry (2)
Sampling\RandomProbabilisticSamplerOptions.cs (1)
18[Required]
Microsoft.Extensions.Telemetry.Abstractions (3)
Microsoft.Private.Windows.Core (4)
System.Private.Windows.Core (4)
53 references to Required
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.DataAnnotations (10)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (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 (27)
System\ComponentModel\DataAnnotations\Validator.cs (22)
30/// If there is a <see cref="RequiredAttribute" /> found on the property, it will be evaluated before all other
35/// If <paramref name="validationResults" /> is null and there isn't a <see cref="RequiredAttribute" /> failure,
79/// checks to ensure all properties marked with <see cref="RequiredAttribute" /> are set. It does not validate the
111/// checks to ensure all properties marked with <see cref="RequiredAttribute" /> are set. If
122/// For any given property, if it has a <see cref="RequiredAttribute" /> that fails validation, no other validators
176/// If there is a <see cref="RequiredAttribute" /> within the <paramref name="validationAttributes" />, it will
182/// If <paramref name="validationResults" /> is null and there isn't a <see cref="RequiredAttribute" /> failure,
324/// A <see cref="RequiredAttribute" /> within the <paramref name="validationAttributes" /> will always be evaluated
354/// If there is a <see cref="RequiredAttribute" /> found on the property, it is evaluated before all other
412/// checks to ensure all properties marked with <see cref="RequiredAttribute" /> are set. It does not validate
451/// checks to ensure all properties marked with <see cref="RequiredAttribute" /> are set. If
609/// This method checks the <see cref="RequiredAttribute" /> attributes on the object's properties.
651/// This method checks the <see cref="RequiredAttribute" /> attributes on the object's properties even when
881if (attribute is RequiredAttribute reqAttr)
920RequiredAttribute? required = null;
923required = attribute as RequiredAttribute;
1162/// ones marked with <see cref="RequiredAttribute" /> are not null.
1188if (attribute is RequiredAttribute reqAttr)
1246/// If a <see cref="RequiredAttribute" /> is found, it will be evaluated first, and if that fails,
1254/// <see cref="RequiredAttribute" /> failure will always abort with that sole failure.
1267RequiredAttribute? required = null;
1270required = attribute as RequiredAttribute;
System.ComponentModel.DataAnnotations (1)