89 writes to IsRequired
dotnet-aot (11)
Generated\361d1da7f942c932\SdkVulnerabilityJsonContext.SdkCveInfo.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\ToolListJsonSerializerContext.LocalToolListJsonContract.g.cs (4)
72
properties[0].
IsRequired
= true;
93
properties[1].
IsRequired
= true;
114
properties[2].
IsRequired
= true;
135
properties[3].
IsRequired
= true;
Generated\361d1da7f942c932\ToolListJsonSerializerContext.ToolListJsonContract.g.cs (3)
72
properties[0].
IsRequired
= true;
93
properties[1].
IsRequired
= true;
114
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\ToolListJsonSerializerContext.VersionedDataContractLocalToolListJsonContractArray.g.cs (1)
92
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\ToolListJsonSerializerContext.VersionedDataContractToolListJsonContractArray.g.cs (1)
92
properties[1].
IsRequired
= true;
Microsoft.AspNetCore.Authentication.BearerToken (3)
Generated\361d1da7f942c932\BearerTokenJsonSerializerContext.AccessTokenResponse.g.cs (3)
93
properties[1].
IsRequired
= true;
116
properties[2].
IsRequired
= true;
137
properties[3].
IsRequired
= true;
Microsoft.AspNetCore.Components.Server (1)
Generated\361d1da7f942c932\ServerComponentJsonContext.RootComponentOperationBatch.g.cs (1)
92
properties[1].
IsRequired
= true;
Microsoft.AspNetCore.Components.WebAssembly (1)
Generated\361d1da7f942c932\WebAssemblyJsonSerializerContext.RootComponentOperationBatch.g.cs (1)
92
properties[1].
IsRequired
= true;
Microsoft.AspNetCore.Identity (65)
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.ForgotPasswordRequest.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.InfoResponse.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.PasskeyInfoResponse.g.cs (2)
72
properties[0].
IsRequired
= true;
115
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.PasskeyLoginRequest.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.PasskeyRegistrationRequest.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.RefreshRequest.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.RegisterRequest.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.ResendConfirmationEmailRequest.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.ResetPasswordRequest.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.TwoFactorResponse.g.cs (4)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
136
properties[3].
IsRequired
= true;
157
properties[4].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.AllAcceptedCredentialsSignalOptions.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.AuthenticatorAssertionResponse.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
138
properties[3].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.AuthenticatorAttestationResponse.g.cs (2)
72
properties[0].
IsRequired
= true;
115
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.CollectedClientData.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.CurrentUserDetailsSignalOptions.g.cs (4)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
141
properties[3].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PasskeyAssertionState.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PasskeyAttestationState.g.cs (2)
72
properties[0].
IsRequired
= true;
93
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PasskeyUserEntity.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAssertionResponse.g.cs (4)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
139
properties[3].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAttestationResponse.g.cs (4)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
139
properties[3].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialId.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialParameters.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialRpEntity.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.PublicKeyCredentialUserEntity.g.cs (3)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
118
properties[2].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.TokenBinding.g.cs (1)
72
properties[0].
IsRequired
= true;
Generated\361d1da7f942c932\IdentityJsonSerializerContext.UnknownCredentialSignalOptions.g.cs (2)
72
properties[0].
IsRequired
= true;
95
properties[1].
IsRequired
= true;
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
52
propertyInfo.
IsRequired
|= hasRequiredAttribute ?? false;
Microsoft.AspNetCore.StaticAssets (2)
Generated\361d1da7f942c932\StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (2)
92
properties[1].
IsRequired
= true;
115
properties[2].
IsRequired
= true;
Microsoft.DotNet.ProjectTools (1)
Generated\361d1da7f942c932\LaunchProfileJsonSerializerContext.ExecutableLaunchProfile.g.cs (1)
72
properties[0].
IsRequired
= true;
NuGet.Packaging (1)
Generated\361d1da7f942c932\NupkgMetadataSerializationContext.NupkgMetadataFile.g.cs (1)
92
properties[1].
IsRequired
= true;
NuGet.Protocol (2)
Generated\361d1da7f942c932\RepositorySignatureJsonContext.RepositoryCertificateInfo.g.cs (2)
138
properties[3].
IsRequired
= true;
159
properties[4].
IsRequired
= true;
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
906
propertyInfo.
IsRequired
=
8 references to IsRequired
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
268
if (property is {
IsRequired
: true } or { AssociatedParameter.IsRequiredParameter: true })
System\Text\Json\Serialization\Attributes\JsonRequiredAttribute.cs (1)
14
/// this attribute will be mapped to <see cref="JsonPropertyInfo.
IsRequired
"/>.
System\Text\Json\Serialization\JsonUnionTypeStructuralClassifier.cs (3)
274
int requiredPropertyIndex = property.
IsRequired
? requiredPropertyCount++ : -1;
277
property.
IsRequired
,
282
if (property.
IsRequired
)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
444
if (
IsRequired
)
504
IgnoreNullTokensOnRead = !_isUserSpecifiedSetter && !
IsRequired
;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1543
if (property.
IsRequired
)