I have Visual Studio 2013 and I have noticed that it will not show Control.IsDisposed
in IntelliSense. I am not sure whether this is the only thing that isn't displayed. Everything else seems to be shown fine in IntelliSense.
I can use the IsDisposed
property fine, it will build and execute fine. Is there any reason for this or any known fix?
The Control.IsDisposed
property has the EditorBrowseableAttribute
set to Advanced
, which makes it non-browsable in the VS editor:
The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
[
Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden),
SRDescription(SR.ControlDisposedDescr)
]
public bool IsDisposed {
get {
return GetState(STATE_DISPOSED);
}
}
Edit:
@Glen points out (thanks!) that you can view advanced members by changing the VS settings in Tools -> Options -> Text Editor -> C#:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With