7 references to ToImmutableArray
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (4)
6287
|| memberInitializer.InitializedMember is NoneOperation { ChildOperations: var children } && children.
ToImmutableArray
() is [IInstanceReferenceOperation, _])
6339
children.
ToImmutableArray
() is [IInstanceReferenceOperation, var index])
6760
VisitStatements(((Operation)operation).ChildOperations.
ToImmutableArray
());
6767
new NoneOperation(VisitArray(((Operation)operation).ChildOperations.
ToImmutableArray
()), semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation)));
Operations\OperationCloner.cs (1)
21
return new NoneOperation(VisitArray(((Operation)operation).ChildOperations.
ToImmutableArray
()), ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.Type, operation.GetConstantValue(), operation.IsImplicit);
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
399
var children = operation.ChildOperations.
ToImmutableArray
();
Compilation\TestOperationVisitor.cs (1)
957
var children = operation.ChildOperations.
ToImmutableArray
();