[Java.Interop] Use PublicApiAnalyzer to ensure we do not modify public API
jpobst opened this issue · comments
Jonathan Pobst commented
Context: xamarin/xamarin-android#8171
Like Mono.Android.dll
, we consider the Java.Interop.dll
public API of each target framework to be an immutable contract. For example, this prevents an issue where a user on .NET 8.0.300
uses a method that isn't available to their coworker or CI on .NET 8.0.100
.
Thus we should enable PublicApiAnalyzer on Java.Interop.dll
to ensure we do not break our contract.