29 references to ToImmutableArray
dotnet (1)
Commands\Run\Api\RunApiCommand.cs (1)
96Diagnostics = diagnostics.ToImmutableArray(),
dotnet-format (2)
Analyzers\AnalyzerFormatter.cs (1)
358projectAnalyzers.Add(projectId, analyzers.ToImmutableArray());
Analyzers\CodeStyleInformationProvider.cs (1)
59analyzersAndFixers = new AnalyzersAndFixers(analyzers.ToImmutableArray(), codeFixes);
ILCompiler.Compiler (5)
Compiler\Dataflow\AttributeDataFlow.cs (1)
63ProcessAttributeDataflow(method, builder.ToImmutableArray(), ref result);
Compiler\Dataflow\TrimAnalysisMethodCallPattern.cs (1)
51Arguments = builder.ToImmutableArray();
src\runtime\src\coreclr\tools\Common\Compiler\Dataflow\MethodProxy.cs (1)
66return builder.ToImmutableArray();
src\runtime\src\coreclr\tools\Common\Compiler\Dataflow\TypeProxy.cs (1)
32return builder.ToImmutableArray();
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1758return builder.ToImmutableArray();
ILCompiler.ReadyToRun (2)
src\runtime\src\coreclr\tools\Common\Compiler\Dataflow\MethodProxy.cs (1)
66return builder.ToImmutableArray();
src\runtime\src\coreclr\tools\Common\Compiler\Dataflow\TypeProxy.cs (1)
32return builder.ToImmutableArray();
illink (4)
ILLink.RoslynAnalyzer (9)
DataFlow\LocalDataFlowVisitor.cs (4)
327HandleMethodCallHelper(setMethod, instanceValue, arguments.ToImmutableArray(), assignmentOperation, state); 361HandleMethodCallHelper(setMethod, instanceValue, argumentsBuilder.ToImmutableArray(), assignmentOperation, state); 734return HandleMethodCallHelper(getMethod, instanceValue, arguments.ToImmutableArray(), operation, state); 983argumentsBuilder.ToImmutableArray(),
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeName.cs (1)
68: genericTypeArguments.Count == genericTypeArguments.Capacity ? genericTypeArguments.MoveToImmutable() : genericTypeArguments.ToImmutableArray();
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1758return builder.ToImmutableArray();
TrimAnalysis\MethodProxy.cs (1)
47return builder.ToImmutableArray();
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
46Arguments = builder.ToImmutableArray();
TrimAnalysis\TypeProxy.cs (1)
26return builder.ToImmutableArray();
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
128imArray.ToImmutableArray());
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
439return builder.ToImmutableArray();
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysis.TaintedDataOperationVisitor.cs (1)
56return builder.ToImmutableArray();
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
427addDocumentChangeKind, removeDocuments, removeDocumentChangeKind, _project.Id, _documentsAddedInBatch.ToImmutableArray(),
Microsoft.DotNet.Cli.CommandLine (1)
SpanParsableExtensions.cs (1)
117return coll.ToImmutableArray();
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeName.cs (1)
68: genericTypeArguments.Count == genericTypeArguments.Capacity ? genericTypeArguments.MoveToImmutable() : genericTypeArguments.ToImmutableArray();