Implemented interface member:
22 references to Equals
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
144Assert.True(expectedSpan.Equals(actual.Location.SourceSpan),
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
144Assert.True(expectedSpan.Equals(actual.Location.SourceSpan),
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedDiagnostic.cs (1)
28Span.Equals(other.Span);
Microsoft.CodeAnalysis (3)
Text\TextSpan.cs (3)
205return left.Equals(right); 213return !left.Equals(right); 228=> obj is TextSpan span && Equals(span);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (1)
37Span.Equals(other.Span);
Microsoft.CodeAnalysis.Features (3)
CodeLens\LocationComparer.cs (1)
21return x.SourceSpan.Equals(y.SourceSpan) &&
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
251Contract.ThrowIfFalse(token.Span.Equals(span));
SimplifyTypeNames\AbstractSimplifyTypeNamesCodeFixProvider.cs (1)
134return issueSpan.Equals(span);
Microsoft.CodeAnalysis.UnitTests (8)
Text\TextSpanTest.cs (8)
52Assert.True(s1.Equals(s2), s1.ToString() + " : " + s2.ToString()); 66Assert.False(s1.Equals(s2), s1.ToString() + " : " + s2.ToString()); 80Assert.False(s1.Equals(s2), s1.ToString() + " : " + s2.ToString()); 204Assert.True(span1.Equals(span2)); 209Assert.True(span2.Equals(span1)); 222Assert.False(span1.Equals(span2)); 223Assert.False(span1.Equals(span3)); 224Assert.False(span2.Equals(span3));
Microsoft.CodeAnalysis.VisualBasic (2)
Locations\EmbeddedTreeLocation.vb (1)
57Return other IsNot Nothing AndAlso other.EmbeddedKind = Me._embeddedKind AndAlso other._span.Equals(Me._span)
Locations\MyTemplateLocation.vb (1)
49Return other IsNot Nothing AndAlso Me._tree Is other._tree AndAlso other._span.Equals(Me._span)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\Extensions.vb (1)
85Loop While node IsNot Nothing AndAlso node.Span.Equals(firstContainingSpan)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (1)
37Span.Equals(other.Span);