9 references to IsSymbolType
Microsoft.CodeAnalysis.Analyzers (9)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (9)
146
if (!
IsSymbolType
(binary.LeftOperand, symbolType)
147
&& !
IsSymbolType
(binary.RightOperand, symbolType))
182
if (
IsSymbolType
(invocationOperation.Instance, symbolType))
193
if (parameters.All(p =>
IsSymbolType
(p.Value, symbolType)))
206
invocationOperation.Arguments.Any(arg =>
IsSymbolType
(arg.Value, symbolType)))
218
!invocationOperation.Arguments.Any(arg =>
IsSymbolType
(arg.Value, iEqualityComparer)))
227
=> invocationOperation.Instance is null ||
IsSymbolType
(invocationOperation.Instance, symbolType);
268
!objectCreation.Arguments.Any(arg =>
IsSymbolType
(arg.Value, iEqualityComparerType)))
283
return
IsSymbolType
(conversion.Operand, symbolType);