3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
1292IsCompatibleWithCurrentOptions = false; 1311IsCompatibleWithCurrentOptions = false; 1320IsCompatibleWithCurrentOptions = false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
1024CanUseSerializeHandler = HasSerializeHandler && IsCompatibleWithCurrentOptions; 1309if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions) 1317if (_elementTypeInfo?.IsCompatibleWithCurrentOptions == false || 1318_keyTypeInfo?.IsCompatibleWithCurrentOptions == false) 1324Debug.Assert(IsCompatibleWithCurrentOptions);