24 references to ToImmutableArray
illink (4)
ILLink.RoslynAnalyzer (8)
DataFlow\LocalDataFlowVisitor.cs (4)
282 HandleMethodCallHelper (setMethod, instanceValue, arguments.ToImmutableArray (), operation, state); 313 HandleMethodCallHelper (setMethod, instanceValue, argumentsBuilder.ToImmutableArray (), operation, state); 618 return HandleMethodCallHelper (getMethod!, instanceValue, arguments.ToImmutableArray (), operation, state); 832 argumentsBuilder.ToImmutableArray (),
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
1394 return builder.ToImmutableArray ();
TrimAnalysis\MethodProxy.cs (1)
46 return builder.ToImmutableArray ();
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
42 Arguments = builder.ToImmutableArray ();
TrimAnalysis\TypeProxy.cs (1)
25 return 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\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysis.TaintedDataOperationVisitor.cs (1)
55return 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)
574addDocumentChangeKind, removeDocuments, removeDocumentChangeKind, _project.Id, _documentsAddedInBatch.ToImmutableArray(),
Microsoft.VisualStudio.LanguageServices (5)
Interactive\VsResetInteractive.cs (4)
156references = referencesBuilder.ToImmutableArray(); 157referenceSearchPaths = referenceSearchPathsBuilder.ToImmutableArray(); 158sourceSearchPaths = sourceSearchPathsBuilder.ToImmutableArray(); 159projectNamespaces = 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();