查看变量时Visual Studio调试程序崩溃

Chr*_*ris 7 c# visual-studio

下面是我在VS Debugger崩溃之前不久得到的内容.当我没有调试器查看它时,它会在set函数中抛出一个段错误.调试器一整天都在工作,同样的东西.有任何想法吗?

Visual Studio调试会话

我正在查看的对象:

[DataContract]
public class SvnUrl
{

    public string _type;
    public string _acronym;
    public string _location;
    public string _url;
    public int _foundstatus;

    [DataMember]
    public string type
    {
        get { return _type; }
        set { _type = value; }
    }
    [DataMember]
    public string acronym
    {
        get { return _acronym; }
        set { _acronym = value; }
    }
    [DataMember]
    public string location
    {
        get { return _location; }
        set { _location = value; }
    }
    [DataMember]
    public string url
    {
        get { return _url; }
        set { _url = value; }
    }
    [DataMember]
    public int foundstatus
    {
        get { return _foundstatus; }
        set { _foundstatus = value; }
    }
}
Run Code Online (Sandbox Code Playgroud)

Han*_*ing 4

您确定您输入的示例与您的代码相同,并且您在该位置属性中实际上没有get { return location; }(请注意缺少_因此无限递归)?