metadata for duplicate classes

This commit is contained in:
moljac 2024-04-25 22:52:41 +02:00
Родитель 228e856595
Коммит cc011306ec
2 изменённых файлов: 2 добавлений и 26 удалений

Просмотреть файл

@ -8,11 +8,9 @@
<remove-node
path="/api/package[@name='androidx.datastore.core.handlers']/class[@name='ReplaceFileCorruptionHandler']"
/>
<remove-node
path="/api/package[@name='androidx.datastore.core']/interface[@name='IDataStore']"
path="/api/package[@name='androidx.datastore.core']/interface[@name='DataStore']"
/>
</metadata>

Просмотреть файл

@ -1,22 +0,0 @@
/*
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net7.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(124,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net7.0-android]
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net7.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(77,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net7.0-android]
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/monoandroid12.0/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(123,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=MonoAndroid12.0]
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/monoandroid12.0/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(76,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=MonoAndroid12.0]
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net6.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(113,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net6.0-android]
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net6.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(66,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net6.0-android]
*/
namespace AndroidX.DataStore.Core.Internal
{
/// <summary>
/// if AndroidX.DataStore.Core.IDataMigration ever gets removed there will be build error
///
/// AndroidX.DataStore.Core.IDataMigration is currently removed in androidx.datastore:datastore-core-jvm
/// </summary> <summary>
///
/// </summary>
internal partial class IDataStore
{
private AndroidX.DataStore.Core.IDataStore fail_if_removed;
}
}