Visual Studio IntelliSense not showing Control.IsDisposed property?

I have Visual Studio 2013, and I noticed that it will not show Control.IsDisposedin IntelliSense. I am not sure if this is the only thing that is not displayed. Everything else seems to be clearly visible in IntelliSense.

enter image description here

I can use the property IsDisposedin order, it will create and execute perfectly. Is there a reason for this or any known fix?

+4
source share
1 answer

The property Control.IsDisposedhas been EditorBrowseableAttributeset to Advanced, which makes it inaccessible for viewing in the VS editor:

- , . .

[
Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden),
SRDescription(SR.ControlDisposedDescr)
]
public bool IsDisposed {
    get {
        return GetState(STATE_DISPOSED);
    }
}

Edit:

@Glen (!), , VS โ†’ โ†’ โ†’ #:

Advanced members

+7

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


All Articles