3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
1263IsCompatibleWithCurrentOptions = false; 1282IsCompatibleWithCurrentOptions = false; 1291IsCompatibleWithCurrentOptions = false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
1016CanUseSerializeHandler = HasSerializeHandler && IsCompatibleWithCurrentOptions; 1280if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions) 1288if (_elementTypeInfo?.IsCompatibleWithCurrentOptions == false || 1289_keyTypeInfo?.IsCompatibleWithCurrentOptions == false) 1295Debug.Assert(IsCompatibleWithCurrentOptions);