提交 5337343c 编写于 作者: M Matt Warren

remove rule about not line between attributes

上级 36c915ef
......@@ -55,9 +55,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Formatting
If previousToken.Kind = SyntaxKind.GreaterThanToken AndAlso previousToken.Parent IsNot Nothing AndAlso TypeOf previousToken.Parent Is AttributeListSyntax Then
' If the attribute is followed by another attribute then there is no line operation
If currentToken.Kind = SyntaxKind.LessThanToken AndAlso currentToken.Parent IsNot Nothing AndAlso TypeOf currentToken.Parent Is AttributeListSyntax Then
Return Nothing
End If
'If currentToken.Kind = SyntaxKind.LessThanToken AndAlso currentToken.Parent IsNot Nothing AndAlso TypeOf currentToken.Parent Is AttributeListSyntax Then
'Return Nothing
'End If
' This AttributeList is the last applied attribute
' If this AttributeList belongs to a parameter then apply no line operation
......
......@@ -1335,7 +1335,7 @@ End Namespace]]></Code>
Dim expected = <Code><![CDATA[Namespace SomeNamespace
<SomeAttribute()>
<SomeAttribute2()>
<SomeAttribute2()>
Class Foo
End Class
End Namespace]]></Code>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册