23 references to ToImmutableArray
illink (4)
ILLink.RoslynAnalyzer (8)
DataFlow\LocalDataFlowVisitor.cs (4)
300HandleMethodCallHelper(setMethod, instanceValue, arguments.ToImmutableArray(), operation, state); 334HandleMethodCallHelper(setMethod, instanceValue, argumentsBuilder.ToImmutableArray(), operation, state); 662return HandleMethodCallHelper(getMethod!, instanceValue, arguments.ToImmutableArray(), operation, state); 885argumentsBuilder.ToImmutableArray(),
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1671return builder.ToImmutableArray();
TrimAnalysis\MethodProxy.cs (1)
47return builder.ToImmutableArray();
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
46Arguments = builder.ToImmutableArray();
TrimAnalysis\TypeProxy.cs (1)
26return builder.ToImmutableArray();
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
439return builder.ToImmutableArray();
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysis.TaintedDataOperationVisitor.cs (1)
56return builder.ToImmutableArray();
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
614var initResult = new RemoteInitializationResult(initializationScriptPath, metadataReferencePaths.ToImmutableArray(), initialImports);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
573addDocumentChangeKind, removeDocuments, removeDocumentChangeKind, _project.Id, _documentsAddedInBatch.ToImmutableArray(),
Microsoft.VisualStudio.LanguageServices (5)
Interactive\VsResetInteractive.cs (4)
155references = referencesBuilder.ToImmutableArray(); 156referenceSearchPaths = referenceSearchPathsBuilder.ToImmutableArray(); 157sourceSearchPaths = sourceSearchPathsBuilder.ToImmutableArray(); 158projectNamespaces = namespacesToImportBuilder.ToImmutableArray();
PullMemberUp\WarningDialog\PullMemberUpWarningViewModel.cs (1)
47return warningMessagesBuilder.ToImmutableArray();
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\Projects\RoslynRemoteProjectInfoProvider.cs (1)
84return projectInfos.ToImmutableArray();
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeName.cs (1)
68: genericTypeArguments.Count == genericTypeArguments.Capacity ? genericTypeArguments.MoveToImmutable() : genericTypeArguments.ToImmutableArray();