3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
1303
IsCompatibleWithCurrentOptions
= false;
1322
IsCompatibleWithCurrentOptions
= false;
1331
IsCompatibleWithCurrentOptions
= false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
1035
CanUseSerializeHandler = HasSerializeHandler &&
IsCompatibleWithCurrentOptions
;
1320
if (!property.JsonTypeInfo.
IsCompatibleWithCurrentOptions
)
1328
if (_elementTypeInfo?.
IsCompatibleWithCurrentOptions
== false ||
1329
_keyTypeInfo?.
IsCompatibleWithCurrentOptions
== false)
1335
Debug.Assert(
IsCompatibleWithCurrentOptions
);