10 instantiations of ContainingStatementInfo
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (10)
LineCommit\ContainingStatementInfo.vb (10)
17Me.New(node, node.Span) 56Return New ContainingStatementInfo(previousToken.GetAncestor(Of StatementSyntax)()) 81Return New ContainingStatementInfo(trivia.Token.GetAncestor(Of StatementSyntax)()) 107Return New ContainingStatementInfo(containingDirective) 125Return New ContainingStatementInfo(containingStatement) 137Return New ContainingStatementInfo(trivia) 140Return New ContainingStatementInfo(triviaStatement) 173Return New ContainingStatementInfo(node) 181Return New ContainingStatementInfo(containingAttribute) 186Return New ContainingStatementInfo(node, TextSpan.FromBounds(attributes.Last.Span.End, node.Span.End))
9 references to ContainingStatementInfo
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (9)
LineCommit\CommitBufferManager.vb (4)
188Dim startingStatementInfo = ContainingStatementInfo.GetInfo(dirtySpan.Start, tree, cancellationToken) 201Dim endingStatementInfo = If(ContainingStatementInfo.GetInfo(dirtySpan.End, tree, cancellationToken), startingStatementInfo) 236Dim oldStatement = ContainingStatementInfo.GetInfo(oldPoint, tree, cancellationToken) 237Dim newStatement = ContainingStatementInfo.GetInfo(newPoint, tree, cancellationToken)
LineCommit\CommitCommandHandler.vb (1)
210Dim oldStatement = ContainingStatementInfo.GetInfo(oldCaretPositionInCurrentSnapshot, tree, cancellationToken)
LineCommit\CommitFormatter.vb (1)
231Dim containingStatement = ContainingStatementInfo.GetInfo(span.End, syntaxTree, cancellationToken)
LineCommit\ContainingStatementInfo.vb (3)
44cancellationToken As CancellationToken) As ContainingStatementInfo 131Private Shared Function GetContainingStatementInfoForTrivia(trivia As SyntaxTrivia, snapshot As ITextSnapshot, pointLineNumber As Integer) As ContainingStatementInfo 171Private Shared Function GetContainingStatementInfoForAttributedStatement(node As StatementSyntax, attributes As SyntaxList(Of AttributeListSyntax), position As Integer) As ContainingStatementInfo