1 write to DeclaringType
System.Text.Json (1)
System\Text\Json\Serialization\JsonTypeClassifierContext.cs (1)
43DeclaringType = declaringType;
5 references to DeclaringType
System.Text.Json (5)
System\Text\Json\Serialization\JsonTypeClassifierContext.cs (4)
64/// Gets the union cases of <see cref="DeclaringType"/>. 67/// Non-empty when <see cref="DeclaringType"/> is configured as a union type. The 74/// Gets the derived types of <see cref="DeclaringType"/>. 77/// Non-empty when <see cref="DeclaringType"/> is configured as a polymorphic
System\Text\Json\Serialization\JsonTypeClassifierFactory.cs (1)
83public sealed override bool CanClassify(JsonTypeClassifierContext context) => context.DeclaringType == typeof(T);