1 write to DeclaringTypeInfo
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
323
value.
DeclaringTypeInfo
= this;
5 references to DeclaringTypeInfo
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonPolymorphismOptions.cs (3)
84
private void VerifyMutable() =>
DeclaringTypeInfo
?.VerifyMutable();
97
public override bool IsReadOnly => _parent.
DeclaringTypeInfo
?.IsReadOnly == true;
98
protected override void OnCollectionModifying() => _parent.
DeclaringTypeInfo
?.VerifyMutable();
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
318
if (value.
DeclaringTypeInfo
!= null && value.
DeclaringTypeInfo
!= this)