1 write to _lastStatementOrFieldToReplace
Microsoft.CodeAnalysis.CSharp.Features (1)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
47
_lastStatementOrFieldToReplace
= lastStatementOrFieldToReplace;
7 references to _lastStatementOrFieldToReplace
Microsoft.CodeAnalysis.CSharp.Features (7)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (7)
50
Contract.ThrowIfFalse(_firstStatementOrFieldToReplace.Parent ==
_lastStatementOrFieldToReplace
.Parent
51
|| CSharpSyntaxFacts.Instance.AreStatementsInSameContainer(_firstStatementOrFieldToReplace,
_lastStatementOrFieldToReplace
));
281
if ((statement != _firstStatementOrFieldToReplace) || (_firstStatementOrFieldToReplace !=
_lastStatementOrFieldToReplace
))
302
var lastIndex = newList.FindIndex(s => s ==
_lastStatementOrFieldToReplace
);
330
var lastMemberIndex = newMembers.FindIndex(s => s == (global ?
_lastStatementOrFieldToReplace
.Parent :
_lastStatementOrFieldToReplace
));
372
Contract.ThrowIfFalse(_firstStatementOrFieldToReplace ==
_lastStatementOrFieldToReplace
);