24 references to ImmutableArrayExtensions
Microsoft.CodeAnalysis (3)
CodeGen\ILBuilderEmit.cs (1)
11using static System.Linq.ImmutableArrayExtensions;
InternalUtilities\OneOrMany.cs (1)
202System.Linq.ImmutableArrayExtensions.SequenceEqual(_many, other._many, comparer);
src\Dependencies\Collections\ImmutableSegmentedListExtensions.cs (1)
12/// <seealso cref="ImmutableArrayExtensions"/>
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
202System.Linq.ImmutableArrayExtensions.SequenceEqual(_many, other._many, comparer);
src\Dependencies\Collections\ImmutableSegmentedListExtensions.cs (1)
12/// <seealso cref="ImmutableArrayExtensions"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedListExtensions.cs (1)
12/// <seealso cref="ImmutableArrayExtensions"/>
Microsoft.CodeAnalysis.CSharp (4)
CodeGen\EmitExpression.cs (2)
17using static System.Linq.ImmutableArrayExtensions; 2633if (System.Linq.ImmutableArrayExtensions.All(ctor.Parameters, p => p.RefKind == RefKind.None) &&
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1626ImmutableArrayExtensions.AddToMultiValueDictionaryBuilder(accumulator, item.Name.AsMemory(), item);
Symbols\SymbolExtensions.cs (1)
13using static System.Linq.ImmutableArrayExtensions;
Microsoft.CodeAnalysis.Features (3)
Completion\CompletionHelper.cs (1)
74=> System.Linq.ImmutableArrayExtensions.SequenceEqual(item1.Tags, item2.Tags);
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6035=> GetSymbolDeclarationSyntax(symbol, selector: System.Linq.ImmutableArrayExtensions.First, cancellationToken)!;
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (1)
167if (!System.Linq.ImmutableArrayExtensions.SequenceEqual(
Microsoft.CodeAnalysis.UnitTests (4)
Collections\ImmutableArrayExtensionsTests.cs (4)
310var dict = System.Linq.ImmutableArrayExtensions.ToDictionary(roa, s => s.Split(':').First()); 316dict = System.Linq.ImmutableArrayExtensions.ToDictionary(roa, s => s.Split(':').First(), StringComparer.OrdinalIgnoreCase); 322dict = System.Linq.ImmutableArrayExtensions.ToDictionary(roa, s => s.Split(':').First(), s => s.Split(':').Last()); 328dict = System.Linq.ImmutableArrayExtensions.ToDictionary(roa, s => s.Split(':').First(), s => s.Split(':').Last(), StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
202System.Linq.ImmutableArrayExtensions.SequenceEqual(_many, other._many, comparer);
src\Dependencies\Collections\ImmutableSegmentedListExtensions.cs (1)
12/// <seealso cref="ImmutableArrayExtensions"/>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
202System.Linq.ImmutableArrayExtensions.SequenceEqual(_many, other._many, comparer);
src\Dependencies\Collections\ImmutableSegmentedListExtensions.cs (1)
12/// <seealso cref="ImmutableArrayExtensions"/>
System.Reflection.Metadata (3)
System\Reflection\PortableExecutable\PEReader.cs (3)
12using ImmutableArrayExtensions = System.Linq.ImmutableArrayExtensions; 741var codeViewEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.IsPortableCodeView); 749var embeddedPdbEntry = ImmutableArrayExtensions.FirstOrDefault(entries, e => e.Type == DebugDirectoryEntryType.EmbeddedPortablePdb);