1 type derived from JsonPropertyInfo
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
14
internal sealed class JsonPropertyInfo<T> :
JsonPropertyInfo
311 references to JsonPropertyInfo
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
607
foreach (
var
prop in typeInfo.Properties)
Microsoft.AspNetCore.Authentication.BearerToken (2)
BearerTokenJsonSerializerContext.AccessTokenResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] AccessTokenResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
Microsoft.AspNetCore.Authentication.Twitter (4)
TwitterJsonContext.TwitterError.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TwitterErrorPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
TwitterJsonContext.TwitterErrorResponse.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TwitterErrorResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[1];
Microsoft.AspNetCore.Components.Endpoints (6)
ImportMapSerializerContext.ImportMapDefinition.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ImportMapDefinitionPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
ResourceCollectionSerializerContext.ResourceAsset.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ResourceAssetPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
ResourceCollectionSerializerContext.ResourceAssetProperty.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ResourceAssetPropertyPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
Microsoft.AspNetCore.Components.Server (4)
CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ComponentMarkerPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[9];
CircuitPersistenceManagerSerializerContext.ComponentMarkerKey.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ComponentMarkerKeyPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
Microsoft.AspNetCore.Components.Web (2)
WebRendererSerializerContext.JSComponentParameter.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JSComponentParameterPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
Microsoft.AspNetCore.Components.WebAssembly (10)
WebAssemblyJsonSerializerContext.ComponentMarker.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ComponentMarkerPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[9];
WebAssemblyJsonSerializerContext.ComponentMarkerKey.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ComponentMarkerKeyPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ComponentParameterPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
WebAssemblyJsonSerializerContext.RootComponentOperation.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] RootComponentOperationPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
WebAssemblyJsonSerializerContext.RootComponentOperationBatch.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] RootComponentOperationBatchPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
Microsoft.AspNetCore.Components.WebView (8)
SourceGenerationContext.StaticWebAssetManifest.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetManifestPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
SourceGenerationContext.StaticWebAssetMatch.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetMatchPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
SourceGenerationContext.StaticWebAssetNode.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetNodePropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
SourceGenerationContext.StaticWebAssetPattern.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetPatternPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.AspNetCore.Diagnostics (2)
ExtensionsExceptionJsonContext.ExceptionExtensionData.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ExceptionExtensionDataPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Internal\Json\MessageTypeInfoResolver.cs (4)
44
var
propertyInfo = CreatePropertyInfo(typeInfo, field.JsonName, field, isSerializable: true);
56
var
propertyInfo = CreatePropertyInfo(typeInfo, mapping.Key, mapping.Value, isSerializable: false);
90
private
JsonPropertyInfo
CreatePropertyInfo(JsonTypeInfo typeInfo, string name, FieldDescriptor field, bool isSerializable)
92
var
propertyInfo = typeInfo.CreateJsonPropertyInfo(
Microsoft.AspNetCore.Hosting (8)
SourceGenerationContext.StaticWebAssetManifest.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetManifestPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
SourceGenerationContext.StaticWebAssetMatch.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetMatchPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
SourceGenerationContext.StaticWebAssetNode.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetNodePropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
SourceGenerationContext.StaticWebAssetPattern.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticWebAssetPatternPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.AspNetCore.Http.Extensions (4)
ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] HttpValidationProblemDetailsPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[7];
ProblemDetailsJsonContext.ProblemDetails.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ProblemDetailsPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[6];
Microsoft.AspNetCore.Http.Microbenchmarks (6)
SharedTestJsonContext.JsonTodo.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JsonTodoPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
SharedTestJsonContext.JsonTodoChild.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JsonTodoChildPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
SharedTestJsonContext.Todo.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TodoPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.AspNetCore.Http.Results.Tests (10)
TestJsonContext.JsonTodo.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JsonTodoPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
TestJsonContext.Todo.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TodoPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
TestJsonContext.TodoChild.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TodoChildPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
TestJsonContext.TodoJsonChild.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TodoJsonChildPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
TestJsonContext.TodoStruct.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TodoStructPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.AspNetCore.Identity (52)
IdentityEndpointsJsonSerializerContext.ForgotPasswordRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ForgotPasswordRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[1];
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] InfoRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityEndpointsJsonSerializerContext.InfoResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] InfoResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] LoginRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
IdentityEndpointsJsonSerializerContext.RefreshRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] RefreshRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[1];
IdentityEndpointsJsonSerializerContext.RegisterRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] RegisterRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityEndpointsJsonSerializerContext.ResendConfirmationEmailRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ResendConfirmationEmailRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[1];
IdentityEndpointsJsonSerializerContext.ResetPasswordRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] ResetPasswordRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TwoFactorRequestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
IdentityEndpointsJsonSerializerContext.TwoFactorResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TwoFactorResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
IdentityJsonSerializerContext.AuthenticatorAssertionResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] AuthenticatorAssertionResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
IdentityJsonSerializerContext.AuthenticatorAttestationResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] AuthenticatorAttestationResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityJsonSerializerContext.AuthenticatorSelectionCriteria.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] AuthenticatorSelectionCriteriaPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
IdentityJsonSerializerContext.CollectedClientData.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] CollectedClientDataPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[6];
IdentityJsonSerializerContext.PasskeyAssertionState.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PasskeyAssertionStatePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityJsonSerializerContext.PasskeyAttestationState.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PasskeyAttestationStatePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityJsonSerializerContext.PasskeyUserEntity.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PasskeyUserEntityPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAssertionResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialAuthenticatorAssertionResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAttestationResponse.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialAuthenticatorAttestationResponsePropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialCreationOptionsPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[11];
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialDescriptorPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityJsonSerializerContext.PublicKeyCredentialParameters.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialParametersPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialRequestOptionsPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[7];
IdentityJsonSerializerContext.PublicKeyCredentialRpEntity.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialRpEntityPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
IdentityJsonSerializerContext.PublicKeyCredentialUserEntity.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PublicKeyCredentialUserEntityPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
IdentityJsonSerializerContext.TokenBinding.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] TokenBindingPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
Microsoft.AspNetCore.JsonPatch.SystemTextJson (9)
Internal\PocoAdapter.cs (8)
22
if (!TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
53
if (!TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
78
if (!TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
112
if (!TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
143
if (!TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
186
if (TryGetJsonProperty(target, serializerOptions, segment, out
var
jsonProperty))
202
out
JsonPropertyInfo
jsonProperty)
207
var
pocoProperty = typeInfo
JsonPatchDocumentOfT.cs (1)
731
var
matchingProp = jsonTypeInfo
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
TestObjectModels\HeterogenousCollection.cs (1)
47
foreach (
var
property in jsonTypeInfo.Properties)
Microsoft.AspNetCore.Mvc.Core.Test (6)
TestJsonContext.JsonPerson.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JsonPersonPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
TestJsonContext.JsonPersonExtended.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] JsonPersonExtendedPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[4];
TestJsonContext.Person.g.cs (2)
49
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PersonPropInit(global::System.Text.Json.JsonSerializerOptions options)
51
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.AspNetCore.OpenApi (9)
Extensions\JsonNodeSchemaExtensions.cs (2)
483
/// <param name="propertyInfo">The <see cref="
JsonPropertyInfo
" /> associated with the schema.</param>
484
internal static void ApplyNullabilityContextInfo(this JsonNode schema,
JsonPropertyInfo
propertyInfo)
Extensions\TypeExtensions.cs (1)
98
public static bool ShouldApplyNullablePropertySchema(this
JsonPropertyInfo
jsonPropertyInfo)
Services\Schemas\OpenApiSchemaService.cs (3)
45
foreach (
var
propertyInfo in jsonTypeInfo.Properties)
402
JsonPropertyInfo
? jsonPropertyInfo,
437
foreach (
var
propertyInfo in jsonTypeInfo.Properties)
Transformers\OpenApiSchemaTransformerContext.cs (3)
16
private
JsonPropertyInfo
? _jsonPropertyInfo;
38
public required
JsonPropertyInfo
? JsonPropertyInfo { get => _jsonPropertyInfo; init => _jsonPropertyInfo = value; }
52
internal void UpdateJsonTypeInfo(JsonTypeInfo jsonTypeInfo,
JsonPropertyInfo
? jsonPropertyInfo)
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (1)
691
foreach (
var
propertyInfo in jsonTypeInfo.Properties)
Microsoft.AspNetCore.StaticAssets (10)
StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticAssetDescriptorPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];
StaticAssetsManifestJsonContext.StaticAssetProperty.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticAssetPropertyPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
StaticAssetsManifestJsonContext.StaticAssetResponseHeader.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticAssetResponseHeaderPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[2];
StaticAssetsManifestJsonContext.StaticAssetSelector.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticAssetSelectorPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
StaticAssetsManifestJsonContext.StaticAssetsManifest.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] StaticAssetsManifestPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[3];
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonSchemaCreateContext.cs (2)
46
/// Gets the <see cref="
JsonPropertyInfo
"/> if the schema is being generated for a property.
48
public
JsonPropertyInfo
? PropertyInfo => _exporterContext.PropertyInfo;
Utilities\AIJsonUtilities.Schema.Create.cs (1)
562
foreach (
JsonPropertyInfo
property in ctx.TypeInfo.Properties)
System.Text.Json (147)
System\Text\Json\Schema\JsonSchemaExporter.cs (5)
59
JsonPropertyInfo
? propertyInfo = null,
218
foreach (
JsonPropertyInfo
property in typeInfo.Properties)
414
private readonly Dictionary<(JsonTypeInfo,
JsonPropertyInfo
?), string[]> _generated = new();
441
(JsonTypeInfo TypeInfo,
JsonPropertyInfo
? PropertyInfo) key = (context.TypeInfo, context.PropertyInfo);
461
public JsonSchemaExporterContext CreateContext(JsonTypeInfo typeInfo,
JsonPropertyInfo
? propertyInfo, JsonTypeInfo? baseTypeInfo)
System\Text\Json\Schema\JsonSchemaExporterContext.cs (3)
17
JsonPropertyInfo
? propertyInfo,
33
/// The <see cref="
JsonPropertyInfo
"/> if the schema is being generated for a property.
35
public
JsonPropertyInfo
? PropertyInfo { get; }
System\Text\Json\Serialization\ArgumentState.cs (2)
7
using FoundProperties = System.ValueTuple<System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
, System.Text.Json.JsonReaderState, long, byte[]?, string?>;
8
using FoundPropertiesAsync = System.ValueTuple<System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
, object?, string?>;
System\Text\Json\Serialization\Attributes\JsonObjectCreationHandlingAttribute.cs (1)
14
/// When default resolvers are used this will be mapped to <see cref="
JsonPropertyInfo
.ObjectCreationHandling"/>.
System\Text\Json\Serialization\Attributes\JsonRequiredAttribute.cs (1)
14
/// this attribute will be mapped to <see cref="
JsonPropertyInfo
.IsRequired"/>.
System\Text\Json\Serialization\Converters\FSharp\FSharpUnionConverter.cs (2)
555
private
JsonPropertyInfo
? _propertyInfoForTypeInfo;
586
public
JsonPropertyInfo
PropertyInfoForTypeInfo => _propertyInfoForTypeInfo ??= _options.GetTypeInfoInternal(FieldType).PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (9)
167
JsonPropertyInfo
jsonPropertyInfo;
302
JsonPropertyInfo
jsonPropertyInfo = JsonSerializer.LookupProperty(
344
foreach (
JsonPropertyInfo
jsonPropertyInfo in jsonTypeInfo.PropertyCache)
361
JsonPropertyInfo
? extensionDataProperty = jsonTypeInfo.ExtensionDataProperty;
392
ReadOnlySpan<
JsonPropertyInfo
> propertyCache = jsonTypeInfo.PropertyCache;
395
JsonPropertyInfo
jsonPropertyInfo = propertyCache[state.Current.EnumeratorIndex];
424
JsonPropertyInfo
? extensionDataProperty = jsonTypeInfo.ExtensionDataProperty;
468
JsonPropertyInfo
jsonPropertyInfo,
502
protected static bool ReadAheadPropertyValue(scoped ref ReadStack state, ref Utf8JsonReader reader,
JsonPropertyInfo
jsonPropertyInfo)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (9)
11
using FoundProperty = System.ValueTuple<System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
, System.Text.Json.JsonReaderState, long, byte[]?, string?>;
12
using FoundPropertyAsync = System.ValueTuple<System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
, object?, string?>;
79
JsonPropertyInfo
jsonPropertyInfo = properties[i].Item1;
221
JsonPropertyInfo
jsonPropertyInfo = argumentState.FoundPropertiesAsync![i].Item1;
331
out
JsonPropertyInfo
jsonPropertyInfo,
414
JsonPropertyInfo
? jsonPropertyInfo;
514
JsonPropertyInfo
jsonPropertyInfo)
617
out
JsonPropertyInfo
jsonPropertyInfo,
632
if (!useExtensionProperty && jsonPropertyInfo !=
JsonPropertyInfo
.s_missingProperty)
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
227
JsonPropertyInfo
? propertyInfo = state.Current.JsonPropertyInfo;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (5)
19
internal static
JsonPropertyInfo
LookupProperty(
30
JsonPropertyInfo
? jsonPropertyInfo = jsonTypeInfo.GetProperty(
52
if (jsonTypeInfo.ExtensionDataProperty is
JsonPropertyInfo
{ HasGetter: true, HasSetter: true } dataExtProperty)
68
jsonPropertyInfo =
JsonPropertyInfo
.s_missingProperty;
107
JsonPropertyInfo
jsonPropertyInfo,
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (10)
230
JsonPropertyInfo
? jsonPropertyInfo = CreatePropertyInfo(typeInfo, typeToConvert, memberInfo, typeNamingPolicy, nullabilityCtx, typeIgnoreCondition, typeInfo.Options, shouldCheckForRequiredKeyword, hasJsonIncludeAttribute);
243
private static
JsonPropertyInfo
? CreatePropertyInfo(
286
JsonPropertyInfo
jsonPropertyInfo = typeInfo.CreatePropertyUsingReflection(typeToConvert, declaringType: memberInfo.DeclaringType);
309
private static bool PropertyIsOverriddenAndIgnored(PropertyInfo propertyInfo, Dictionary<string,
JsonPropertyInfo
>? ignoredMembers)
312
ignoredMembers?.TryGetValue(propertyInfo.Name, out
JsonPropertyInfo
? ignoredMember) == true &&
381
JsonPropertyInfo
jsonPropertyInfo,
423
private static void DeterminePropertyPolicies(
JsonPropertyInfo
propertyInfo, MemberInfo memberInfo)
435
private static void DeterminePropertyName(
JsonPropertyInfo
propertyInfo, MemberInfo memberInfo, JsonNamingPolicy? typeNamingPolicy)
462
private static void DeterminePropertyIsRequired(
JsonPropertyInfo
propertyInfo, MemberInfo memberInfo, bool shouldCheckForRequiredKeyword)
531
private static void DeterminePropertyNullability(
JsonPropertyInfo
propertyInfo, MemberInfo memberInfo, NullabilityInfoContext nullabilityCtx)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.cs (2)
21
/// <returns>A <see cref="
JsonPropertyInfo
"/> instance initialized with the provided metadata.</returns>
23
public static
JsonPropertyInfo
CreatePropertyInfo<T>(JsonSerializerOptions options, JsonPropertyInfoValues<T> propertyInfo)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (4)
131
internal static void PopulateProperties(JsonTypeInfo typeInfo, JsonTypeInfo.JsonPropertyInfoList propertyList, Func<JsonSerializerContext,
JsonPropertyInfo
[]> propInitFunc)
139
JsonPropertyInfo
[] properties = propInitFunc(context!);
145
foreach (
JsonPropertyInfo
jsonPropertyInfo in properties)
202
JsonPropertyInfo
propertyInfo,
System\Text\Json\Serialization\Metadata\JsonObjectInfoValuesOfT.cs (1)
33
public Func<JsonSerializerContext,
JsonPropertyInfo
[]>? PropertyMetadataInitializer { get; init; }
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (3)
15
internal JsonParameterInfo(JsonParameterInfoValues parameterInfoValues,
JsonPropertyInfo
matchingProperty)
73
/// This setting is in sync with the associated <see cref="
JsonPropertyInfo
.IsSetNullable"/> property.
115
internal
JsonPropertyInfo
MatchingProperty { get; }
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (18)
18
internal static readonly
JsonPropertyInfo
s_missingProperty = GetPropertyPlaceholder();
40
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
64
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
83
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
110
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
155
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
232
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
268
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
307
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
339
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
386
internal static
JsonPropertyInfo
GetPropertyPlaceholder()
388
JsonPropertyInfo
info = new JsonPropertyInfo<object>(typeof(object), declaringTypeInfo: null, options: null!);
737
/// Creates a <see cref="
JsonPropertyInfo
"/> instance whose type matches that of the current property.
780
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
783
/// The value of <see cref="Name"/> cannot conflict with that of other <see cref="
JsonPropertyInfo
"/> defined in the declaring <see cref="JsonTypeInfo"/>.
827
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
1038
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
1092
internal bool IsOverriddenOrShadowedBy(
JsonPropertyInfo
other)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoValuesOfT.cs (1)
87
/// Provides a <see cref="ICustomAttributeProvider"/> factory that maps to <see cref="
JsonPropertyInfo
.AttributeProvider"/>.
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (6)
43
internal ReadOnlySpan<
JsonPropertyInfo
> PropertyCache
52
private
JsonPropertyInfo
[]? _propertyCache;
55
internal Dictionary<string,
JsonPropertyInfo
> PropertyIndex
64
private Dictionary<string,
JsonPropertyInfo
>? _propertyIndex;
76
internal
JsonPropertyInfo
? GetProperty(ReadOnlySpan<byte> propertyName, ref ReadStackFrame frame, out byte[] utf8PropertyName)
145
if (PropertyIndex.TryLookupUtf8Key(propertyName, out
JsonPropertyInfo
? info) &&
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (36)
34
/// Negated bitmask of the required properties, indexed by <see cref="
JsonPropertyInfo
.PropertyIndex"/>.
234
/// Gets the list of <see cref="
JsonPropertyInfo
"/> metadata corresponding to the current type.
240
/// The order of <see cref="
JsonPropertyInfo
"/> entries in the list determines the serialization order,
241
/// unless either of the entries specifies a non-zero <see cref="
JsonPropertyInfo
.Order"/> value,
242
/// in which case the properties will be stable sorted by <see cref="
JsonPropertyInfo
.Order"/>.
244
/// It is required that added <see cref="
JsonPropertyInfo
"/> entries are unique up to <see cref="
JsonPropertyInfo
.Name"/>,
247
public IList<
JsonPropertyInfo
> Properties => PropertyList;
275
internal Func<JsonSerializerContext,
JsonPropertyInfo
[]>? SourceGenDelayedPropertyInitializer
286
private Func<JsonSerializerContext,
JsonPropertyInfo
[]>? _sourceGenDelayedPropertyInitializer;
356
internal
JsonPropertyInfo
? ExtensionDataProperty { get; private set; }
473
/// Dummy <see cref="
JsonPropertyInfo
"/> instance corresponding to the declaring type of this <see cref="JsonTypeInfo"/>.
483
internal
JsonPropertyInfo
PropertyInfoForTypeInfo { get; }
485
private protected abstract
JsonPropertyInfo
CreatePropertyInfoForTypeInfo();
637
/// The <see cref="
JsonPropertyInfo
"/> instance has been locked for further modification.
831
foreach (
JsonPropertyInfo
property in _properties)
976
/// Creates a blank <see cref="
JsonPropertyInfo
"/> instance for the current <see cref="JsonTypeInfo"/>.
980
/// <returns>A blank <see cref="
JsonPropertyInfo
"/> instance.</returns>
986
public
JsonPropertyInfo
CreateJsonPropertyInfo(Type propertyType, string name)
997
JsonPropertyInfo
propertyInfo = CreatePropertyUsingReflection(propertyType, declaringType: null);
1005
internal
JsonPropertyInfo
CreatePropertyUsingReflection(Type propertyType, Type? declaringType)
1007
JsonPropertyInfo
jsonPropertyInfo;
1021
jsonPropertyInfo = (
JsonPropertyInfo
)propertyInfoType.CreateInstanceNoWrapExceptions(
1033
private protected abstract
JsonPropertyInfo
CreateJsonPropertyInfo(JsonTypeInfo declaringTypeInfo, Type? declaringType, JsonSerializerOptions options);
1052
public Dictionary<string, (
JsonPropertyInfo
, int index)> AddedProperties = new(options.PropertyNameCaseInsensitive ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal);
1053
public Dictionary<string,
JsonPropertyInfo
>? IgnoredProperties;
1075
Dictionary<string,
JsonPropertyInfo
> propertyIndex = new(properties.Count, comparer);
1076
List<
JsonPropertyInfo
> propertyCache = new(properties.Count);
1084
JsonPropertyInfo
property = properties[i];
1159
internal void ResolveMatchingParameterInfo(
JsonPropertyInfo
propertyInfo)
1188
foreach (
JsonPropertyInfo
propertyInfo in _propertyCache)
1355
internal sealed class JsonPropertyInfoList : ConfigurationList<
JsonPropertyInfo
>
1378
protected override void ValidateAddedValue(
JsonPropertyInfo
item)
1391
public void AddPropertyWithConflictResolution(
JsonPropertyInfo
jsonPropertyInfo, ref PropertyHierarchyResolutionState state)
1407
(
JsonPropertyInfo
other, int index) = state.AddedProperties[jsonPropertyInfo.Name];
1426
(state.IgnoredProperties?.TryGetValue(memberName, out
JsonPropertyInfo
? ignored) == true && jsonPropertyInfo.IsOverriddenOrShadowedBy(ignored));
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (3)
111
foreach (
JsonPropertyInfo
propertyInfo in PropertyList)
138
private protected override
JsonPropertyInfo
CreatePropertyInfoForTypeInfo()
150
private protected override
JsonPropertyInfo
CreateJsonPropertyInfo(JsonTypeInfo declaringTypeInfo, Type? declaringType, JsonSerializerOptions options)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
100
foreach (
JsonPropertyInfo
property in derivedTypeInfo.JsonTypeInfo.Properties)
System\Text\Json\Serialization\Metadata\PropertyRef.cs (4)
11
/// Represents a UTF-8 encoded JSON property name and its associated <see cref="
JsonPropertyInfo
"/>, if available.
15
internal readonly struct PropertyRef(ulong key,
JsonPropertyInfo
? info, byte[] utf8PropertyName) : IEquatable<PropertyRef>
28
/// The <see cref="
JsonPropertyInfo
"/> associated with the property name, if available.
30
public readonly
JsonPropertyInfo
? Info = info;
System\Text\Json\Serialization\ReadStack.cs (1)
35
public readonly
JsonPropertyInfo
? ParentProperty
System\Text\Json\Serialization\ReadStackFrame.cs (2)
19
public
JsonPropertyInfo
? JsonPropertyInfo;
131
public void MarkPropertyAsRead(
JsonPropertyInfo
propertyInfo)
System\Text\Json\Serialization\WriteStackFrame.cs (1)
39
public
JsonPropertyInfo
? JsonPropertyInfo;
System\Text\Json\ThrowHelper.Serialization.cs (16)
86
public static void ThrowInvalidOperationException_ObjectCreationHandlingPopulateNotSupportedByConverter(
JsonPropertyInfo
propertyInfo)
92
public static void ThrowInvalidOperationException_ObjectCreationHandlingPropertyMustHaveAGetter(
JsonPropertyInfo
propertyInfo)
98
public static void ThrowInvalidOperationException_ObjectCreationHandlingPropertyValueTypeMustHaveASetter(
JsonPropertyInfo
propertyInfo)
104
public static void ThrowInvalidOperationException_ObjectCreationHandlingPropertyCannotAllowPolymorphicDeserialization(
JsonPropertyInfo
propertyInfo)
110
public static void ThrowInvalidOperationException_ObjectCreationHandlingPropertyCannotAllowReadOnlyMember(
JsonPropertyInfo
propertyInfo)
285
public static void ThrowInvalidOperationException_SerializerPropertyNameNull(
JsonPropertyInfo
jsonPropertyInfo)
291
public static void ThrowInvalidOperationException_JsonPropertyRequiredAndNotDeserializable(
JsonPropertyInfo
jsonPropertyInfo)
297
public static void ThrowInvalidOperationException_JsonPropertyRequiredAndExtensionData(
JsonPropertyInfo
jsonPropertyInfo)
307
foreach (
JsonPropertyInfo
property in parent.PropertyCache)
349
public static void ThrowJsonException_DuplicatePropertyNotAllowed(
JsonPropertyInfo
property)
429
public static void ThrowInvalidOperationException_ExtensionDataCannotBindToCtorParam(string propertyName,
JsonPropertyInfo
jsonPropertyInfo)
447
public static void ThrowInvalidOperationException_NumberHandlingOnPropertyInvalid(
JsonPropertyInfo
jsonPropertyInfo)
605
public static void ThrowInvalidOperationException_ExtensionDataConflictsWithUnmappedMemberHandling(Type classType,
JsonPropertyInfo
jsonPropertyInfo)
611
public static void ThrowInvalidOperationException_SerializationDataExtensionPropertyInvalid(
JsonPropertyInfo
jsonPropertyInfo)
617
public static void ThrowInvalidOperationException_PropertyTypeNotNullable(
JsonPropertyInfo
jsonPropertyInfo)
850
public static void ThrowInvalidOperationException_JsonPropertyInfoIsBoundToDifferentJsonTypeInfo(
JsonPropertyInfo
propertyInfo)
Wasm.Performance.TestApp (2)
PersonJsonContext.Person.g.cs (2)
47
private static global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[] PersonPropInit(global::System.Text.Json.JsonSerializerOptions options)
49
var properties = new global::System.Text.Json.Serialization.Metadata.
JsonPropertyInfo
[5];