7 references to Equals
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerFileReference.cs (2)
71=> Equals(obj as AnalyzerFileReference); 100return Equals(fileReference);
Microsoft.CodeAnalysis.UnitTests (5)
Analyzers\AnalyzerFileReferenceTests.cs (5)
76Assert.False(refA.Equals(null)); 77Assert.True(refA.Equals(refA)); 78Assert.True(refA.Equals(refB)); 82Assert.False(refA.Equals(new AnalyzerFileReference(path2, loader1))); 85Assert.False(refA.Equals(new AnalyzerFileReference(path1, loader2)));