3 references to IsStringRemoveMethod
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
148
if (
IsStringRemoveMethod
(targetMethod) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (2)
157
if (
IsStringRemoveMethod
(result.InvocationOperation.TargetMethod))
241
if (
IsStringRemoveMethod
(result.InvocationOperation.TargetMethod))