3 implementations of
System.Linq (2)
System\Linq\Lookup.cs (2)
134public IEnumerable<TElement> this[TKey key] => GetGrouping(key, create: false) ?? Enumerable.Empty<TElement>(); 306public IEnumerable<TElement> this[TKey key] => [];
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\Lookup.cs (1)
64public IEnumerable<TElement> this[TKey key]
18 references to
CSharpSyntaxGenerator (1)
TestWriter.cs (1)
187var subTypes = ChildMap[type];
installer.tasks (2)
GenerateTestSharedFrameworkDepsFile.cs (2)
57var managedFileNames = isAssemblyTofileNames[true]; 58var nativeFileNames = isAssemblyTofileNames[false];
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentSelector.cs (1)
79var matches = candidates[name];
Microsoft.CodeAnalysis.Features (2)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
197getReferencesByDocument[referenceDocument], 198setReferencesByDocument[referenceDocument],
Microsoft.CodeAnalysis.UnitTests (10)
CachingLookupTests.cs (6)
109CheckEqualEnumerable(look1[k], look2[k]); 116Assert.Empty(look1[k]); 125CheckEqualEnumerable(look1[k], look2[k]); 130CheckEqualEnumerable(look1[k], look2[k]); 140CheckEqualEnumerable(look1[k], look2[k]); 145CheckEqualEnumerable(look1[k], look2[k]);
Collections\List\CollectionAsserts.cs (4)
88Assert.Equal(e[null].Count(), a[null].Count()); 107Assert.Equal(e[null].Count(), a[null].Count());
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
115ProjectProperty property = properties[propertyName].FirstOrDefault();
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
222MethodInfo[] matchingMethods = s_seqMethods[name]