1 write to _lastStatementOrFieldToReplace
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
39
Me.
_lastStatementOrFieldToReplace
= lastStatementOrFieldToReplace
4 references to _lastStatementOrFieldToReplace
Microsoft.CodeAnalysis.VisualBasic.Features (4)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (4)
41
Contract.ThrowIfFalse(Me._firstStatementOrFieldToReplace.Parent Is Me.
_lastStatementOrFieldToReplace
.Parent)
313
If (statement IsNot _firstStatementOrFieldToReplace) OrElse (Me._firstStatementOrFieldToReplace IsNot Me.
_lastStatementOrFieldToReplace
) Then
327
Contract.ThrowIfFalse(Me._firstStatementOrFieldToReplace Is Me.
_lastStatementOrFieldToReplace
)
331
Dim lastStatementIndex = newStatements.FindIndex(Function(s) s Is Me.
_lastStatementOrFieldToReplace
)