5 instantiations of New
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (5)
LineCommit\ContainingStatementInfo.vb (5)
17Me.New(node, node.Span) 137Return New ContainingStatementInfo(trivia) 173Return New ContainingStatementInfo(node) 181Return New ContainingStatementInfo(containingAttribute) 186Return New ContainingStatementInfo(node, TextSpan.FromBounds(attributes.Last.Span.End, node.Span.End))
9 references to New
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (9)
LineCommit\CommitBufferManager.vb (4)
191Dim startingStatementInfo = ContainingStatementInfo.GetInfo(dirtySpan.Start, tree, cancellationToken) 204Dim endingStatementInfo = If(ContainingStatementInfo.GetInfo(dirtySpan.End, tree, cancellationToken), startingStatementInfo) 239Dim oldStatement = ContainingStatementInfo.GetInfo(oldPoint, tree, cancellationToken) 240Dim newStatement = ContainingStatementInfo.GetInfo(newPoint, tree, cancellationToken)
LineCommit\CommitCommandHandler.vb (1)
210Dim oldStatement = ContainingStatementInfo.GetInfo(oldCaretPositionInCurrentSnapshot, tree, cancellationToken)
LineCommit\CommitFormatter.vb (1)
236Dim 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