22 references to Populate
dotnet-aot (6)
Generated\361d1da7f942c932\RunFileBuildCacheJsonSerializerContext.RunFileBuildCacheEntry.g.cs (3)
72properties[0].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.Populate; 94properties[1].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.Populate; 136properties[3].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.Populate;
parent\dotnet\Commands\Run\RunFileBuildCacheEntry.cs (3)
25[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)] 29[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)] 41[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
136propertyInfo.ObjectCreationHandling = JsonObjectCreationHandling.Populate;
System.Text.Json (15)
System\Text\Json\Serialization\Attributes\JsonObjectCreationHandlingAttribute.cs (2)
16/// When placed on a type with <see cref="JsonObjectCreationHandling.Populate"/> indicates that all members 20/// For example when <see cref="JsonObjectCreationHandlingAttribute"/> with <see cref="JsonObjectCreationHandling.Populate"/> is placed on a class
System\Text\Json\Serialization\JsonConverter.cs (1)
66/// Indicates that the converter is compatible with <see cref="JsonObjectCreationHandling.Populate"/>.
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
93handling is JsonObjectCreationHandling.Replace or JsonObjectCreationHandling.Populate;
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
475/// When set to <see cref="JsonObjectCreationHandling.Populate"/> all properties which
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (8)
533CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate; 555CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate; 631preferredCreationHandling == JsonObjectCreationHandling.Populate && 638effectiveObjectCreationHandling = canPopulate ? JsonObjectCreationHandling.Populate : JsonObjectCreationHandling.Replace; 640else if (ObjectCreationHandling == JsonObjectCreationHandling.Populate) 669effectiveObjectCreationHandling = JsonObjectCreationHandling.Populate; 672if (effectiveObjectCreationHandling is JsonObjectCreationHandling.Populate) 956if (EffectiveObjectCreationHandling != JsonObjectCreationHandling.Populate)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
287Debug.Assert(CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate); 312Debug.Assert(EffectiveObjectCreationHandling != JsonObjectCreationHandling.Populate, "Populating should not be possible for simple types");