3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
823IsCompatibleWithCurrentOptions = false; 842IsCompatibleWithCurrentOptions = false; 851IsCompatibleWithCurrentOptions = false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
777CanUseSerializeHandler = HasSerializeHandler && IsCompatibleWithCurrentOptions; 840if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions) 848if (_elementTypeInfo?.IsCompatibleWithCurrentOptions == false || 849_keyTypeInfo?.IsCompatibleWithCurrentOptions == false) 855Debug.Assert(IsCompatibleWithCurrentOptions);