6 references to HasFormattableBracketParent
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (6)
224
if (currentKind == SyntaxKind.OpenBracketToken &&
HasFormattableBracketParent
(currentToken) && !previousToken.IsOpenBraceOrCommaOfObjectInitializer())
232
&&
HasFormattableBracketParent
(previousToken))
238
if (previousKind == SyntaxKind.OpenBracketToken &&
HasFormattableBracketParent
(previousToken))
243
if (currentKind == SyntaxKind.CloseBracketToken && previousKind != SyntaxKind.OmittedArraySizeExpressionToken &&
HasFormattableBracketParent
(currentToken))
286
&&
HasFormattableBracketParent
(previousToken)))
297
&&
HasFormattableBracketParent
(currentToken)))