Skip to content

Commit cb1c192

Browse files
authored
Merge pull request #92 from Microsoft/remove-empty-classes
Remove empty classes with the same names as classes in native SDK's
2 parents 83a2903 + 98b3b72 commit cb1c192

File tree

6 files changed

+10
-54
lines changed

6 files changed

+10
-54
lines changed

Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/Crashes.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/Crashes.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CrashesInternal
1515
{
1616
public static Type GetNativeType()
1717
{
18-
return typeof(Microsoft.AppCenter.Crashes.Crashes);
18+
return typeof(CrashesInternal.Crashes);
1919
}
2020

2121
public static void TrackException(object exception)
@@ -53,6 +53,10 @@ public static ErrorReport LastSessionCrashReport()
5353
public static void DisableMachExceptionHandler()
5454
{
5555
}
56+
57+
private class Crashes
58+
{
59+
}
5660
}
5761
}
5862
#endif

Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/Distribute.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/Distribute.cs.meta

Lines changed: 0 additions & 12 deletions
This file was deleted.

Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static void PrepareEventHandlers()
1717

1818
public static Type GetNativeType()
1919
{
20-
return typeof(Microsoft.AppCenter.Distribute.Distribute);
20+
return typeof(DistributeInternal.Distribute);
2121
}
2222

2323
public static AppCenterTask SetEnabledAsync(bool isEnabled)
@@ -41,6 +41,10 @@ public static void SetApiUrl(string apiUrl)
4141
public static void NotifyUpdateAction(int updateAction)
4242
{
4343
}
44+
45+
private class Distribute
46+
{
47+
}
4448
}
4549
}
4650
#endif

0 commit comments

Comments
 (0)