3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
823
IsCompatibleWithCurrentOptions
= false;
842
IsCompatibleWithCurrentOptions
= false;
851
IsCompatibleWithCurrentOptions
= false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
777
CanUseSerializeHandler = HasSerializeHandler &&
IsCompatibleWithCurrentOptions
;
840
if (!property.JsonTypeInfo.
IsCompatibleWithCurrentOptions
)
848
if (_elementTypeInfo?.
IsCompatibleWithCurrentOptions
== false ||
849
_keyTypeInfo?.
IsCompatibleWithCurrentOptions
== false)
855
Debug.Assert(
IsCompatibleWithCurrentOptions
);