Bug 16991 - "Incorrect number or types of arguments" when hovering struct
Summary: "Incorrect number or types of arguments" when hovering struct
Status: RESOLVED DUPLICATE of bug 14372
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: 3.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
Depends on:
Reported: 2013-12-30 10:02 UTC by BurnSpamAddress
Modified: 2015-02-20 12:27 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description BurnSpamAddress 2013-12-30 10:02:32 UTC
Issue previously reported here: https://bugzilla.xamarin.com/show_bug.cgi?id=14372 (cannot change status, so starting a new issue)

I can still reproduce this with mono 3.2.5 on OSX Mavericks:

$ mono --version
Mono JIT compiler version 3.2.5 ((no/964e8f0 Thu Nov 14 14:48:50 EST 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors.
    TLS:           normal
    SIGSEGV:       altstack
    Notification:  kqueue
    Architecture:  x86
    Disabled:      none
    Misc:          softdebug 
    LLVM:          yes(3.3svn-mono)
    GC:            sgen

Test case follows. Hover over the bar and not_bar variables to observe the

using System;

enum Foo : byte
    Unknown = 0,
    Something = 1 << 0,
    SomethingElse = 1 << 1,
    SomethingLast = 1 << 7,

struct Bar
    Foo foo;
    bool is_bar;

    public Foo Foo
        get { return foo; }
        set { foo = value; }

    public bool IsBar
        get { return is_bar; }
        set { is_bar = value; }

    public override string ToString()
        return string.Format("[Bar: Foo={0}, IsBar={1}]", Foo, IsBar);

class MainClass
    public static void Main(string[] args)
        var bar = new Bar { Foo = Foo.Something, IsBar = true };
        var not_bar = new Bar { Foo = Foo.Unknown, IsBar = false };


Comment 1 BurnSpamAddress 2014-01-05 16:19:35 UTC

*** This bug has been marked as a duplicate of bug 14372 ***