3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
1276
IsCompatibleWithCurrentOptions
= false;
1295
IsCompatibleWithCurrentOptions
= false;
1304
IsCompatibleWithCurrentOptions
= false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
1023
CanUseSerializeHandler = HasSerializeHandler &&
IsCompatibleWithCurrentOptions
;
1293
if (!property.JsonTypeInfo.
IsCompatibleWithCurrentOptions
)
1301
if (_elementTypeInfo?.
IsCompatibleWithCurrentOptions
== false ||
1302
_keyTypeInfo?.
IsCompatibleWithCurrentOptions
== false)
1308
Debug.Assert(
IsCompatibleWithCurrentOptions
);