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