1 write to _firstStatementOrFieldToReplace
Microsoft.CodeAnalysis.CSharp.Features (1)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
48
_firstStatementOrFieldToReplace
= firstStatementOrFieldToReplace;
7 references to _firstStatementOrFieldToReplace
Microsoft.CodeAnalysis.CSharp.Features (7)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (7)
56
private SyntaxNode ContainerOfStatementsOrFieldToReplace =>
_firstStatementOrFieldToReplace
.Parent;
280
if ((statement !=
_firstStatementOrFieldToReplace
) || (
_firstStatementOrFieldToReplace
!= _lastStatementOrFieldToReplace))
298
var firstIndex = newList.FindIndex(s => s ==
_firstStatementOrFieldToReplace
);
326
var firstMemberIndex = newMembers.FindIndex(s => s == (global ?
_firstStatementOrFieldToReplace
.Parent :
_firstStatementOrFieldToReplace
));
371
Contract.ThrowIfFalse(
_firstStatementOrFieldToReplace
== _lastStatementOrFieldToReplace);