3 references to DeclaringType
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.cs (2)
28
Type? declaringType = propertyInfo.
DeclaringType
;
31
throw new ArgumentException(nameof(propertyInfo.
DeclaringType
));
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
174
var propertyInfo = new JsonPropertyInfo<T>(propertyInfoValues.
DeclaringType
, declaringTypeInfo: null, options);