-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve S2302 Message: Use NameOf for VB.NET #7199
Improve S2302 Message: Use NameOf for VB.NET #7199
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -33,6 +33,8 @@ public sealed class NameOfShouldBeUsed : NameOfShouldBeUsedBase<BaseMethodDeclar | |||
|
|||
protected override ILanguageFacade<SyntaxKind> Language => CSharpFacade.Instance; | |||
|
|||
protected override string NameOf => "nameof"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need an empty line before
@@ -31,6 +31,8 @@ public sealed class NameOfShouldBeUsed : NameOfShouldBeUsedBase<MethodBlockBaseS | |||
|
|||
protected override ILanguageFacade<SyntaxKind> Language => VisualBasicFacade.Instance; | |||
|
|||
protected override string NameOf => "NameOf"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need empty line before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Kudos, SonarCloud Quality Gate passed! |
Kudos, SonarCloud Quality Gate passed! |
Fixes #7197