18 references to Max
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\LengthBasedStringSwitchData.cs (1)
247var largestBucket = countPerChar.Values.Max();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\LanguageVersionTests.cs (1)
22Max();
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutableListTestBase.cs (1)
117var hitTest = new bool[list.Max() + 1];
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Parser\VisualBasicParseOptionsTests.vb (1)
87Max().
Microsoft.Data.Analysis.Tests (4)
DataFrameTests.Computations.cs (4)
437Assert.Equal((byte)byteColumn.Max(), range.Select(x => (byte)x).Max()); 448Assert.Equal((uint)uintColumn.Max(), range.Select(x => (uint)x).Max()); 451Assert.Equal((ulong)ulongColumn.Max(), range.Select(x => (ulong)x).Max()); 454Assert.Equal((ushort)ushortColumn.Max(), range.Select(x => (ushort)x).Max());
Microsoft.DotNet.Build.Tasks.Packaging (4)
GenerateRuntimeDependencies.cs (1)
120var maxDependencyVersion = dependencyVersions.Max();
GetLastStablePackage.cs (1)
153lastStablePackages.Add(CreateItem(latestPackage, candidateVersions.Max()));
GetPackageVersion.cs (1)
42Version = versionsToConsider.Max().ToString();
UpdatePackageIndex.cs (1)
182var maxVersion = packageInfo.StableVersions.Max();
Microsoft.DotNet.Helix.JobSender (1)
Payloads\DirectoryPayload.cs (1)
89.Max();
Microsoft.ML.AutoML (1)
Sweepers\SmacSweeper.cs (1)
181RunResult bestRun = (RunResult)previousRuns.Max();
Microsoft.ML.FastTree (1)
Dataset\DatasetUtils.cs (1)
34short maxLab = ratings.Length > 0 ? ratings.Max() : (short)0;
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
195RunResult bestRun = (RunResult)previousRuns.Max();
System.Linq (2)
System\Linq\Max.cs (1)
319/// <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)
398Max(_source);