Implemented interface member:
7 references to CompareTo
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
184
nodeOperations.AlignmentOperation.Sort(static (o1, o2) => o1.BaseToken.Span.
CompareTo
(o2.BaseToken.Span));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
563
=> x.FullSpan.
CompareTo
(y.FullSpan);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (1)
Utilities\GoToHelpers\GoToTestHelpers.vb (1)
33
Return Span.
CompareTo
(other.Span)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
386
public int Compare(ClassifiedSpan x, ClassifiedSpan y) => x.TextSpan.
CompareTo
(y.TextSpan);
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\ReferenceLocation.cs (1)
140
(compare = this.Location.SourceSpan.
CompareTo
(other.Location.SourceSpan)) != 0)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
184
nodeOperations.AlignmentOperation.Sort(static (o1, o2) => o1.BaseToken.Span.
CompareTo
(o2.BaseToken.Span));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
563
=> x.FullSpan.
CompareTo
(y.FullSpan);