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