5 instantiations of ContainingStatementInfo
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (5)
LineCommit\ContainingStatementInfo.vb (5)
17
Me.
New
(node, node.Span)
137
Return New
ContainingStatementInfo
(trivia)
173
Return New
ContainingStatementInfo
(node)
181
Return New
ContainingStatementInfo
(containingAttribute)
186
Return 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)
189
Dim startingStatementInfo =
ContainingStatementInfo
.GetInfo(dirtySpan.Start, tree, cancellationToken)
202
Dim endingStatementInfo = If(
ContainingStatementInfo
.GetInfo(dirtySpan.End, tree, cancellationToken), startingStatementInfo)
237
Dim oldStatement =
ContainingStatementInfo
.GetInfo(oldPoint, tree, cancellationToken)
238
Dim newStatement =
ContainingStatementInfo
.GetInfo(newPoint, tree, cancellationToken)
LineCommit\CommitCommandHandler.vb (1)
210
Dim oldStatement =
ContainingStatementInfo
.GetInfo(oldCaretPositionInCurrentSnapshot, tree, cancellationToken)
LineCommit\CommitFormatter.vb (1)
237
Dim containingStatement =
ContainingStatementInfo
.GetInfo(span.End, syntaxTree, cancellationToken)
LineCommit\ContainingStatementInfo.vb (3)
44
cancellationToken As CancellationToken) As
ContainingStatementInfo
131
Private Shared Function GetContainingStatementInfoForTrivia(trivia As SyntaxTrivia, snapshot As ITextSnapshot, pointLineNumber As Integer) As
ContainingStatementInfo
171
Private Shared Function GetContainingStatementInfoForAttributedStatement(node As StatementSyntax, attributes As SyntaxList(Of AttributeListSyntax), position As Integer) As
ContainingStatementInfo