16 references to Populate
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
114propertyInfo.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)
67/// 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)
455/// When set to <see cref="JsonObjectCreationHandling.Populate"/> all properties which
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (8)
438CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate; 460CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate; 536preferredCreationHandling == JsonObjectCreationHandling.Populate && 543effectiveObjectCreationHandling = canPopulate ? JsonObjectCreationHandling.Populate : JsonObjectCreationHandling.Replace; 545else if (ObjectCreationHandling == JsonObjectCreationHandling.Populate) 574effectiveObjectCreationHandling = JsonObjectCreationHandling.Populate; 577if (effectiveObjectCreationHandling is JsonObjectCreationHandling.Populate) 861if (EffectiveObjectCreationHandling != JsonObjectCreationHandling.Populate)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
269Debug.Assert(CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate); 289Debug.Assert(EffectiveObjectCreationHandling != JsonObjectCreationHandling.Populate, "Populating should not be possible for simple types");