22 references to Populate
dotnet (6)
_generated\41\RunFileJsonSerializerContext.RunFileBuildCacheEntry.g.cs (3)
72
properties[0].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.
Populate
;
94
properties[1].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.
Populate
;
136
properties[3].ObjectCreationHandling = global::System.Text.Json.Serialization.JsonObjectCreationHandling.
Populate
;
Commands\Run\VirtualProjectBuildingCommand.cs (3)
1317
[JsonObjectCreationHandling(JsonObjectCreationHandling.
Populate
)]
1323
[JsonObjectCreationHandling(JsonObjectCreationHandling.
Populate
)]
1335
[JsonObjectCreationHandling(JsonObjectCreationHandling.
Populate
)]
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
136
propertyInfo.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)
68
/// Indicates that the converter is compatible with <see cref="JsonObjectCreationHandling.
Populate
"/>.
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
93
handling is JsonObjectCreationHandling.Replace or JsonObjectCreationHandling.
Populate
;
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
473
/// When set to <see cref="JsonObjectCreationHandling.
Populate
"/> all properties which
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (8)
538
CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.
Populate
;
560
CanDeserializeOrPopulate = CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.
Populate
;
636
preferredCreationHandling == JsonObjectCreationHandling.
Populate
&&
643
effectiveObjectCreationHandling = canPopulate ? JsonObjectCreationHandling.
Populate
: JsonObjectCreationHandling.Replace;
645
else if (ObjectCreationHandling == JsonObjectCreationHandling.
Populate
)
674
effectiveObjectCreationHandling = JsonObjectCreationHandling.
Populate
;
677
if (effectiveObjectCreationHandling is JsonObjectCreationHandling.
Populate
)
965
if (EffectiveObjectCreationHandling != JsonObjectCreationHandling.
Populate
)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
287
Debug.Assert(CanDeserialize || EffectiveObjectCreationHandling == JsonObjectCreationHandling.
Populate
);
312
Debug.Assert(EffectiveObjectCreationHandling != JsonObjectCreationHandling.
Populate
, "Populating should not be possible for simple types");