in xamarin.android binding how to remove the override?

mc 3,701 Reputation points
2021-04-08T05:51:22.607+00:00

the cs code is

public override unsafe void SetVisible (bool p0){}

I want it change to

public unsafe void SetVisible (bool p0)

to remove the override
I can write the metadata.xml

<attr path="already know" name="?"></attr>

how to set it?

what its name?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

Accepted answer
  1. JarvanZhang 23,951 Reputation points
    2021-04-08T08:24:19.58+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Hi, where is the method? Is it from the a class that inherit from an interface or abstract class? If so, the override keyword cannot be removed. The override modifier is required to extend or modify the abstract or virtual implementation of an inherited method.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful