11 references to IsSameReferenceOperation
Microsoft.CodeAnalysis.NetAnalyzers (11)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.cs (11)
217&& arguments.Any(d => IsSameReferenceOperation(assignmentOperation.Target, d))) 328if (IsSameReferenceOperation(descendant, usageContext.DictionaryReference)) 412if (IsSameReferenceOperation(descendant, usageContext.ContainsKeyArgumentReference) || 422if (IsSameReferenceOperation(descendant, usageContext.ContainsKeyArgumentReference) || 432if (IsSameReferenceOperation(descendant, usageContext.ContainsKeyArgumentReference) || 481if (IsSameReferenceOperation(target, usageContext.ContainsKeyArgumentReference) || 494IsSameReferenceOperation(reference.Instance, usageContext.DictionaryReference) && 502IsSameReferenceOperation(invocation.Instance, usageContext.DictionaryReference) && 548return IsSameReferenceOperation(sourceReference, targetReference); 566if (source.Indices.Length != target.Indices.Length || !IsSameReferenceOperation(source.ArrayReference, target.ArrayReference)) 587if (IsSameReferenceOperation(source, target))