Skip to content

Commit 9c37d3d

Browse files
Merge branch 'unreadMembersOriginalDefinition' of https://github.com/CyrusNajmabadi/roslyn into unreadMembersOriginalDefinition
2 parents 0471a56 + 84f185f commit 9c37d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Analyzers/Core/Analyzers/RemoveUnusedMembers/AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ private void AnalyzeInvocationOperation(OperationAnalysisContext operationContex
462462
// to ensure that we consider the method as "used".
463463
OnSymbolUsage(targetMethod, ValueUsageInfo.Read);
464464

465-
//// If the invoked method is a reduced extension method, also mark the original
466-
//// method from which it was reduced as "used".
465+
// If the invoked method is a reduced extension method, also mark the original
466+
// method from which it was reduced as "used".
467467
if (targetMethod.ReducedFrom != null)
468468
OnSymbolUsage(targetMethod.ReducedFrom, ValueUsageInfo.Read);
469469
}

0 commit comments

Comments
 (0)