Resharper: Ambiguous Challenge

Using Resharper, I get the following message:

Ambiguous call solution ITicket.sln ITicket project ITicket \ frmMainTicket.cs: 530 Ambiguous call: void DisableAllFields () (in the frmMainTicket class) void DisableAllFields () (in the frmMainTicket class) correspond

I am new to coding and can use a little help. If I understand this correctly, basically I say that I call the method and it is not sure which method should I use? I have never used Resharper before. Maybe I'm confused about what the Ambiguous Call is, although I did some research. Thank you in advance.

From the code:

        private void SetViewForBugnetTicket()
    {
        DisableAllFields();

        btnSendBugnetDev.Enabled = false;
    }

Method:

        private void DisableAllFields()
    {
        tbSubject.Enabled = false;
        cmbCreatedBy.Enabled = false;
        cmbDepartment.Enabled = false;
        cmbCompany.Enabled = false;
        dtpCreatedOn.Enabled = false;
        dtpAssignedOn.Enabled = false;
        dtpDueDate.Enabled = false;
        cmbAssignedBy.Enabled = false;
        cmbMainTech.Enabled = false;
        cmbStatus.Enabled = false;
        cmbPriority.Enabled = false;
        cmbCategory.Enabled = false;
        cmbTicketType.Enabled = false;
        radBtnNoTraining.Enabled = false;
        radBtnYesTraining.Enabled = false;
        btnAddNoteDev.Enabled = false;
        tbNoteAdd.Enabled = false;
        rtbDescription.Enabled = false;
        tsBtnSaveTicket.Enabled = false;
        btnSetStatus.Enabled = false;
        btnResolve.Enabled = false;
        tbResolution.Enabled = false;
        cmbResolution.Enabled = false;
        btnBrowse.Enabled = false;
    }
+1
source share
1

. R # 9.2 VS2013 VS2015 VB.net. ,

Dim Yield as Decimal

.

Yield = CDbl(txtFoo.Text)

, , , [ ]

Dim [Yield] as Decimal
[Yield] = CDbl(txtFoo.Text)

: . CDbl. Double Decimal . , WTF.

0

Source: https://habr.com/ru/post/1629266/


All Articles