17 references to ThenByDescending
aspire (1)
src\Shared\X509Certificate2Extensions.cs (1)
130
.
ThenByDescending
(c => c.NotAfter);
Aspire.Dashboard (2)
Model\ResourceUrlHelpers.cs (2)
67
.
ThenByDescending
(e => e.Url?.StartsWith("https") == true)
68
.
ThenByDescending
(e => e.Url is not null)
Aspire.Hosting (1)
src\Shared\X509Certificate2Extensions.cs (1)
130
.
ThenByDescending
(c => c.NotAfter);
Aspire.Playground.Tests (2)
src\Shared\X509Certificate2Extensions.cs (1)
130
.
ThenByDescending
(c => c.NotAfter);
tests\Aspire.TestUtilities\RequiresFeatureAttribute.cs (1)
105
.
ThenByDescending
(c => c.NotAfter)
Aspire.TestUtilities (2)
RequiresFeatureAttribute.cs (1)
105
.
ThenByDescending
(c => c.NotAfter)
src\Shared\X509Certificate2Extensions.cs (1)
130
.
ThenByDescending
(c => c.NotAfter);
Microsoft.CodeAnalysis.Features (1)
InheritanceMargin\InheritanceMarginItem.cs (1)
77
=> [.. targetItems.OrderBy(t => t.DisplayName).
ThenByDescending
(t => t.LanguageGlyph).ThenBy(t => t.ProjectName ?? "")];
Microsoft.DotNet.Cli.Utils (1)
TypoCorrection.cs (1)
68
.
ThenByDescending
(s => GetStartsWithDistance(currentToken, s.PossibleMatch))
NuGet.Resolver (4)
ResolverComparer.cs (3)
167
.
ThenByDescending
(p => p.Version.Minor)
168
.
ThenByDescending
(p => p.Version.Patch).FirstOrDefault() == x ? -1 : 1;
180
.
ThenByDescending
(p => p.Version.Patch).FirstOrDefault() == x ? -1 : 1;
ResolverInputSort.cs (1)
78
.
ThenByDescending
(id => parents.Values.Count(parentIds => parentIds.Contains(id)))
System.CommandLine (2)
Invocation\ParseErrorAction.cs (2)
142
.
ThenByDescending
(x => GetStartsWithDistance(token, x))
151
.
ThenByDescending
(tuple => GetStartsWithDistance(token, tuple.possibleMatch))
System.Data.Common (1)
System\Data\EnumerableRowCollectionExtensions.cs (1)
103
IEnumerable<TRow> ie = Enumerable.
ThenByDescending
((IOrderedEnumerable<TRow>)source.EnumerableRows, keySelector);