Skip to content

Interface with events returns RXPHARM001 Diagnostic Code #161

Description

@dansiegel

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.

[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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions