[818] Hangover from VB?

Given:

public static class DialogFactory
{
static DialogFactory() {}
static void New() {}
}

Hit Ctrl+F12 and type New, the filter will show the static constructor as well as the method.

Is this as designed?

0
2 comments

Hello Sean,

This is by design. Constructors (instance or static) are displayed when filtering
by "new" text to simplify navigation to them.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Given:
IR>
IR> public static class DialogFactory
IR> {
IR> static DialogFactory() {}
IR> static void New() {}
IR> }
IR> Hit Ctrl+F12 and type New, the filter will show the static
IR> constructor as well as the method.
IR>
IR> Is this as designed?
IR>


0

Please sign in to leave a comment.