3 writes to IsCompatibleWithCurrentOptions
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
1303IsCompatibleWithCurrentOptions = false; 1322IsCompatibleWithCurrentOptions = false; 1331IsCompatibleWithCurrentOptions = false;
5 references to IsCompatibleWithCurrentOptions
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
1035CanUseSerializeHandler = HasSerializeHandler && IsCompatibleWithCurrentOptions; 1320if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions) 1328if (_elementTypeInfo?.IsCompatibleWithCurrentOptions == false || 1329_keyTypeInfo?.IsCompatibleWithCurrentOptions == false) 1335Debug.Assert(IsCompatibleWithCurrentOptions);