3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
825IsCompatibleWithCurrentOptions = false; 844IsCompatibleWithCurrentOptions = false; 853IsCompatibleWithCurrentOptions = false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
779CanUseSerializeHandler = HasSerializeHandler && IsCompatibleWithCurrentOptions; 842if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions) 850if (_elementTypeInfo?.IsCompatibleWithCurrentOptions == false || 851_keyTypeInfo?.IsCompatibleWithCurrentOptions == false) 857Debug.Assert(IsCompatibleWithCurrentOptions);