Why it does not say that Command implements ICommand in VS for Mac Assembly Browser?

dinobdinob USUniversity ✭✭✭
edited August 2018 in Xamarin.Forms

Let's say I declare a Command like this in my ViewModel

public Command MyCommand {get;}

Why is it when I right click on Command and choose 'Go to Definition' in Visual Studio or 'Go to Declaration' in VS for Mac, I get that Command implements ICommand in VS while VS for Mac does not show that?

In Visual Studio 2017 > right-click on Command > Go to Definition > opens 'Command [from metadata]' tab showing that Command implements ICommand interface

Yet, in Visual Studio for Mac > right-click on Command > Go to Declaration > opens Assembly Browser and as you can see Command does not implement ICommand interface

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Actually we can see the ICommand under the Base Types folder , but can't get why Command does not implement ICommand interface, I think it is something goes wrong with metadata..

  • dinobdinob USUniversity ✭✭✭

    @ColeX said:
    Actually we can see the ICommand under the Base Types folder , but can't get why Command does not implement ICommand interface, I think it is something goes wrong with metadata..

    I know it mentions it in its comments as you found out by yourself. I also know it is under Base Types nodes. But that is not my question. How come it is not explicitly saying that.

    How come it says this in VS for Mac:

    public class Command
    

    , instead saying

    public class Command : ICommand
    

    like it does in VS2017

  • AndreiMisiukevich_AndreiMisiukevich_ USMember ✭✭✭✭✭

    It seems that VS for Mac shows it for me =)

  • dinobdinob USUniversity ✭✭✭

    @AndreiMisiukevich_ said:

    It seems that VS for Mac shows it for me =)

    hmmm, that is interesting. What version?
    I am on latest 7.5.4 (build 3)

  • ColeXColeX Member, Xamarin Team Xamurai

    @dinob said:

    @AndreiMisiukevich_ said:

    It seems that VS for Mac shows it for me =)

    hmmm, that is interesting. What version?
    I am on latest 7.5.4 (build 3)

    My VS is also 7.5.4(Build 3)

  • AndreiMisiukevich_AndreiMisiukevich_ USMember ✭✭✭✭✭

    my vs for mac

  • AndreiMisiukevich_AndreiMisiukevich_ USMember ✭✭✭✭✭

    I updated VS and it's still fine

  • dinobdinob USUniversity ✭✭✭
    edited August 2018

    @ColeX said:

    @dinob said:

    @AndreiMisiukevich_ said:

    It seems that VS for Mac shows it for me =)

    hmmm, that is interesting. What version?
    I am on latest 7.5.4 (build 3)

    My VS is also 7.5.4(Build 3)

    So, is it showing that it implements ICommand or not? Your screenshot shows only comment section

  • ColeXColeX Member, Xamarin Team Xamurai
    edited August 2018

    @dinob said:

    @ColeX said:

    @dinob said:

    @AndreiMisiukevich_ said:

    It seems that VS for Mac shows it for me =)

    hmmm, that is interesting. What version?
    I am on latest 7.5.4 (build 3)

    My VS is also 7.5.4(Build 3)

    So, is it showing that it implements ICommand or not? Your screenshot shows only comment section

    No.


  • dinobdinob USUniversity ✭✭✭
    Thanks,
    Hmmm, well we know it isn't a problem but it is wired, would be nice someone can explain.
  • SHUBHAMSHARMA_2927SHUBHAMSHARMA_2927 USMember ✭✭✭

    hmmm,in my vs for mac my problem is also same.....

Sign In or Register to comment.