5 implementations of Key
Microsoft.CodeAnalysis (1)
Microsoft.Data.Analysis (1)
System.Linq (1)
System.Linq.Parallel (2)
235 references to Key
AnalyzerRunner (2)
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (1)
Aspire.Hosting (2)
Aspire.Hosting.Azure.AppContainers (1)
CodeGenerator (12)
src\Servers\Kestrel\shared\KnownHeaders.cs (12)
321case {byLength.Key}:{AppendSwitchSection(byLength.Key, byLength.OrderBy(h => h, KnownHeaderComparer.Instance).ToList())}
454if ({byFirstTerm.Key.Replace(firstTermVarExpression, firstTermVar)})
973case {byLength.Key}:
1018case {byLength.Key}:
1049case {byLength.Key}:
1097case {byLength.Key}:
1324{AppendSwitch(loop.Headers.GroupBy(x => x.Name.Length).OrderBy(x => x.Key))}
1507Name = g.Key,
1508Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)),
1528Name = g.Key,
1529Header = headers.SingleOrDefault(knownHeader => string.Equals(knownHeader.Name, g.Key, StringComparison.OrdinalIgnoreCase)),
IdeCoreBenchmarks (1)
InMemory.FunctionalTests (2)
installer.tasks (1)
IOperationGenerator (2)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.Core (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Routing (19)
Matching\ILEmitTrieFactory.cs (19)
111Array.Sort(groups, static (a, b) => a.Key.CompareTo(b.Key));
140il.Emit(OpCodes.Ldc_I4, group.Key);
146EmitTable(il, group.ToArray(), 0, group.Key, locals, labels, methods);
160il.Emit(OpCodes.Ldc_I4, groups[mid].Key);
336Array.Sort(groups, static (a, b) => unchecked((long)a.Key).CompareTo(unchecked((long)b.Key)));
357il.Emit(OpCodes.Ldc_I8, unchecked((long)group.Key));
375il.Emit(OpCodes.Ldc_I8, unchecked((long)groups[mid].Key));
455var disableBinarySearch = groups.Any(group => groups.Any(otherGroup => otherGroup.Key != group.Key && (otherGroup.Key | 0x20) == (group.Key | 0x20)));
461Array.Sort(groups, static (a, b) => (a.Key | 0x20).CompareTo(b.Key | 0x20));
481var comparisonLocal = group.Key >= 'a' && group.Key <= 'z'
488il.Emit(OpCodes.Ldc_I4, unchecked((int)(uint)group.Key));
507il.Emit(OpCodes.Ldc_I4, unchecked(((int)(uint)groups[mid].Key | 0x20)));
Microsoft.AspNetCore.Routing.Microbenchmarks (4)
Microsoft.AspNetCore.Routing.Tests (7)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (13)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IGroupingExtensions.cs (1)
15key = grouping.Key;
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.Features (19)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.CodeAnalysis.UnitTests (10)
Microsoft.CodeAnalysis.Workspaces (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IGroupingExtensions.cs (1)
15key = grouping.Key;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.CommonLanguageServerProtocol.Framework.Package (5)
Microsoft.Data.Analysis.Tests (4)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Build.Tasks.Packaging (11)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.SharedFramework.Sdk (1)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.VersionTools (1)
Microsoft.Extensions.DependencyModel (3)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Gen.ContextualOptions (4)
Microsoft.Gen.Logging (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.ML.AutoML (7)
Microsoft.ML.Fairlearn (2)
Microsoft.ML.ResultProcessor (2)
Microsoft.VisualStudio.LanguageServices (1)
PrepareTests (2)
RunTests (2)
System.Linq (1)
System.Linq.Parallel (7)
System\Linq\ParallelEnumerable.cs (4)
1414.Select<IGrouping<TKey, TSource>, TResult>(delegate (IGrouping<TKey, TSource> grouping) { return resultSelector(grouping.Key, grouping); });
1441delegate (IGrouping<TKey, TSource> grouping) { return resultSelector(grouping.Key, grouping); });
1471.Select<IGrouping<TKey, TElement>, TResult>(delegate (IGrouping<TKey, TElement> grouping) { return resultSelector(grouping.Key, grouping); });
1502.Select<IGrouping<TKey, TElement>, TResult>(delegate (IGrouping<TKey, TElement> grouping) { return resultSelector(grouping.Key, grouping); });
xunit.console (2)