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