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