4 references to IsAnySubstringMethod
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Runtime\UseSpanBasedStringConcat.cs (1)
107
return operation is IInvocationOperation invocation && symbols.
IsAnySubstringMethod
(invocation.TargetMethod);
Microsoft.NetCore.Analyzers\Runtime\UseSpanBasedStringConcat.Fixer.cs (3)
81
return value is IInvocationOperation invocation && symbols.
IsAnySubstringMethod
(invocation.TargetMethod);
124
if (value is IInvocationOperation invocation && symbols.
IsAnySubstringMethod
(invocation.TargetMethod))
154
RoslynDebug.Assert(symbols.
IsAnySubstringMethod
(substringInvocation.TargetMethod));