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