15 references to CreateRange
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
825var expected = ImmutableHashSet.CreateRange(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }); 865var expected = ImmutableHashSet.CreateRange(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 });
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
45/// <inheritdoc cref="ImmutableHashSet.CreateRange{T}(IEnumerable{T})"/>
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
138_attributeSetForMethodsToIgnore = ImmutableHashSet.CreateRange<INamedTypeSymbol?>(GetAttributesForMethodsToIgnore(compilation));
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
51var attributeSetForMethodsToIgnore = ImmutableHashSet.CreateRange(GetAttributesForMethodsToIgnore(context.Compilation).WhereNotNull());
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
45/// <inheritdoc cref="ImmutableHashSet.CreateRange{T}(IEnumerable{T})"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedHashSet.cs (1)
45/// <inheritdoc cref="ImmutableHashSet.CreateRange{T}(IEnumerable{T})"/>
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
VisualBasicParsingTests.cs (1)
37var expectedKeywordKinds = ImmutableHashSet.CreateRange(SyntaxFacts.GetReservedKeywordKinds());
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
138_attributeSetForMethodsToIgnore = ImmutableHashSet.CreateRange<INamedTypeSymbol?>(GetAttributesForMethodsToIgnore(compilation));
Microsoft.CodeAnalysis.Workspaces (4)
CodeFixes\FixAllOccurrences\FixAllState.cs (1)
43DiagnosticIds = ImmutableHashSet.CreateRange(diagnosticIds);
Diagnostics\DiagnosticAnalysisResult.cs (1)
320return ImmutableHashSet.CreateRange(documents);
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
478return ImmutableHashSet.CreateRange(
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
45/// <inheritdoc cref="ImmutableHashSet.CreateRange{T}(IEnumerable{T})"/>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (1)
45/// <inheritdoc cref="ImmutableHashSet.CreateRange{T}(IEnumerable{T})"/>
Microsoft.VisualStudio.LanguageServices (1)
CallHierarchy\Finders\AbstractCallFinder.cs (1)
129return ImmutableHashSet.CreateRange<Document>(currentProject.Documents);