5 references to IsSameLocalOrField
Microsoft.CodeAnalysis.CSharp (5)
Lowering\DiagnosticsPass_Warnings.cs (5)
211
(field1.FieldSymbol.IsStatic ||
IsSameLocalOrField
(field1.ReceiverOpt, field2.ReceiverOpt));
216
(event1.EventSymbol.IsStatic ||
IsSameLocalOrField
(event1.ReceiverOpt, event2.ReceiverOpt));
386
if (!node.HasAnyErrors &&
IsSameLocalOrField
(node.Left, node.Right))
879
if (!node.HasAnyErrors &&
IsSameLocalOrField
(node.Left, node.Right))
923
else if (
IsSameLocalOrField
(leftArgument, rightArgument))