22 references to Max
dotnet (4)
Commands\Sdk\Check\SdkOutputWriter.cs (2)
103
return newestAvailable != null && newestAvailable > _sdkInfo.Select(sdk => sdk.Version).
Max
();
115
return _sdkInfo.Any() ? _sdkInfo.Select(sdk => sdk.Version).
Max
() : null;
Commands\Workload\Install\WorkloadManifestUpdater.cs (1)
339
.
Max
() :
Commands\Workload\InstallingWorkloadCommand.cs (1)
442
var maxPriorFeatureBand = priorFeatureBands.
Max
();
GenerateDocumentationAndConfigFiles (1)
Program.cs (1)
980
var maxShippedVersion = versionsBuilder.
Max
();
Microsoft.Data.Analysis.Tests (4)
DataFrameTests.Computations.cs (4)
439
Assert.Equal((byte)byteColumn.Max(), range.Select(x => (byte)x).
Max
());
450
Assert.Equal((uint)uintColumn.Max(), range.Select(x => (uint)x).
Max
());
453
Assert.Equal((ulong)ulongColumn.Max(), range.Select(x => (ulong)x).
Max
());
456
Assert.Equal((ushort)ushortColumn.Max(), range.Select(x => (ushort)x).
Max
());
Microsoft.DotNet.Build.Tasks.Packaging (4)
GenerateRuntimeDependencies.cs (1)
120
var maxDependencyVersion = dependencyVersions.
Max
();
GetLastStablePackage.cs (1)
153
lastStablePackages.Add(CreateItem(latestPackage, candidateVersions.
Max
()));
GetPackageVersion.cs (1)
42
Version = versionsToConsider.
Max
().ToString();
UpdatePackageIndex.cs (1)
182
var maxVersion = packageInfo.StableVersions.
Max
();
Microsoft.ML.AutoML (1)
Sweepers\SmacSweeper.cs (1)
181
RunResult bestRun = (RunResult)previousRuns.
Max
();
Microsoft.ML.FastTree (1)
Dataset\DatasetUtils.cs (1)
34
short maxLab = ratings.Length > 0 ? ratings.
Max
() : (short)0;
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
195
RunResult bestRun = (RunResult)previousRuns.
Max
();
NuGet.CommandLine.XPlat (1)
Utility\AddPackageCommandUtility.cs (1)
59
return latestReleaseList.
Max
();
NuGet.Commands (1)
RestoreCommand\Diagnostics\UnresolvedMessages.cs (1)
352
bestMatch = versions.
Max
();
NuGet.PackageManagement (2)
NuGetPackageManager.cs (2)
3843
var latestVersion = resolvedPackages.Select(v => v.LatestVersion).Where(v => v != null).
Max
();
3867
.Where(v => v != null && (package.AllowedVersions == null || package.AllowedVersions.Satisfies(v))).
Max
();
System.Linq (2)
System\Linq\Max.cs (1)
309
/// <para>If type <typeparamref name="TSource" /> implements <see cref="System.IComparable{T}" />, the <see cref="
Max
{T}(IEnumerable{T})" /> method uses that implementation to compare values. Otherwise, if type <typeparamref name="TSource" /> implements <see cref="System.IComparable" />, that implementation is used to compare values.</para>
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
397
Max
(_source);