3 references to IsAnySubstringInvocation
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Runtime\PreferAsSpanOverSubstring.cs (2)
63
if (symbols.
IsAnySubstringInvocation
(argument.Value.WalkDownConversion(c => c.IsImplicit)) && argument.Parent is IInvocationOperation invocation)
104
if (symbols.
IsAnySubstringInvocation
(argument.Value.WalkDownConversion(c => c.IsImplicit)) &&
Microsoft.NetCore.Analyzers\Runtime\PreferAsSpanOverSubstring.Fixer.cs (1)
68
if (symbols.
IsAnySubstringInvocation
(value) && SymbolEqualityComparer.Default.Equals(newParameter.Type, symbols.ReadOnlySpanOfCharType))