Skip to content

Commit b08833b

Browse files
author
Madalyn Redding
committed
Updates to feedback
I attempted to move the if-statement to the ComputeMemberInfo method, however it seems that the necessary information for the IsLeftSideOfAnyAssignExpression() can only been found in the Analyzer, so I decided to keep the if-statement where it was previously.
1 parent 9688bad commit b08833b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Analyzers/CSharp/Analyzers/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ private void AnalyzeInvocation(
140140
return null;
141141
}
142142

143-
144143
// See if we have: (start, end - start). Specifically where the start operation it the
145144
// same as the right side of the subtraction.
146145
var startOperation = invocation.Arguments[0].Value;

0 commit comments

Comments
 (0)