1 write to Set
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
118
propertyInfo.
Set
= GetSetMethod(field);
12 references to Set
Microsoft.AspNetCore.OpenApi (1)
Schemas\JsonSchemaMapper\JsonSchemaMapper.cs (1)
420
if (property is { Get: null,
Set
: null }
System.Text.Json (11)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
217
Debug.Assert(jsonPropertyInfo.
Set
!= null);
221
jsonPropertyInfo.
Set
(obj, propValue);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (2)
149
Debug.Assert(jsonPropertyInfo.
Set
!= null);
150
jsonPropertyInfo.
Set
(obj, extensionData);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (7)
445
if (Get == null &&
Set
!= null && !_isUserSpecifiedSetter)
454
if (Get != null &&
Set
== null && IgnoreReadOnlyMember && !_isUserSpecifiedShouldSerialize)
539
(!PropertyType.IsValueType ||
Set
!= null) &&
541
!(
Set
== null && IgnoreReadOnlyMember);
557
if (PropertyType.IsValueType &&
Set
== null)
569
if (
Set
== null && IgnoreReadOnlyMember)
906
internal bool IsIgnored => _ignoreCondition is JsonIgnoreCondition.Always && Get is null &&
Set
is null;