1 write to Set
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\MessageTypeInfoResolver.cs (1)
118propertyInfo.Set = GetSetMethod(field);
14 references to Set
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
267if (property is { Get: null, Set: null } or { IsExtensionData: true }) 285(property.Set is null || nullabilityInfo.WriteState is NullabilityState.NotNull);
System.Text.Json (12)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
230if (property is { Get: null, Set: null } or { IsExtensionData: true })
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
227Debug.Assert(jsonPropertyInfo.Set != null); 231jsonPropertyInfo.Set(obj, propValue);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (2)
146Debug.Assert(jsonPropertyInfo.Set != null); 147jsonPropertyInfo.Set(obj, extensionData);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (7)
545if (Get == null && Set != null && !_isUserSpecifiedSetter) 554if (Get != null && Set == null && IgnoreReadOnlyMember && !_isUserSpecifiedShouldSerialize) 639(!PropertyType.IsValueType || Set != null) && 641!(Set == null && IgnoreReadOnlyMember); 657if (PropertyType.IsValueType && Set == null) 669if (Set == null && IgnoreReadOnlyMember) 987internal bool IsIgnored => _ignoreCondition is JsonIgnoreCondition.Always && Get is null && Set is null;