Open dansiegel opened 1 year ago
When working with MAUI's IConnectivity and trying to get an observable for the ConnectivityChanged event. The following results in a RXPHARM001 diagnostic code being raised.
[assembly: GenerateStaticEventObservables(typeof(IConnectivity))]
However if you change this to:
[assembly: GenerateStaticEventObservables(typeof(Connectivity))]
It has no issue creating the extensions. This should work for IConnectivity as well.
Description
When working with MAUI's IConnectivity and trying to get an observable for the ConnectivityChanged event. The following results in a RXPHARM001 diagnostic code being raised.
However if you change this to:
It has no issue creating the extensions. This should work for IConnectivity as well.