提交 77facfa7 编写于 作者: C Cyrus Najmabadi 提交者: Sam Harwell

Remove unnecessary code nesting

上级 d6878f9d
......@@ -982,7 +982,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Extensions
issueSpan = memberAccess.Span
Return True
Else
End If
If Not memberAccess.IsRightSideOfDot() Then
Dim aliasReplacement As IAliasSymbol = Nothing
......@@ -1024,7 +1024,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Extensions
New SyntaxAnnotation(NameOf(CodeStyleOptions.PreferIntrinsicPredefinedTypeKeywordInMemberAccess)))
issueSpan = memberAccess.Span
Return True
End If
End If
......@@ -1048,7 +1047,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Extensions
If TryOmitModuleName(memberAccess, semanticModel, replacementNode, issueSpan, cancellationToken) Then
Return True
End If
End If
Return False
End Function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册