67 references to TrueReadOnlyCollection
System.Linq.Expressions (67)
System\Dynamic\BindingRestrictions.cs (2)
310new TrueReadOnlyCollection<ParameterExpression>(temp), 311new TrueReadOnlyCollection<Expression>(
System\Dynamic\DynamicMetaObjectBinder.cs (1)
218DynamicExpression.Make(ReturnType, delegateType, this, new TrueReadOnlyCollection<Expression>(exprs)),
System\Dynamic\DynamicObject.cs (9)
450return new TrueReadOnlyCollection<Expression>(paramArgs); 612new TrueReadOnlyCollection<Expression>( 617new TrueReadOnlyCollection<Expression>( 647new TrueReadOnlyCollection<ParameterExpression>(result, callArgs), 648new TrueReadOnlyCollection<Expression>( 707new TrueReadOnlyCollection<ParameterExpression>(result, callArgs), 708new TrueReadOnlyCollection<Expression>( 770new TrueReadOnlyCollection<ParameterExpression>(callArgs), 771new TrueReadOnlyCollection<Expression>(
System\Dynamic\ExpandoObject.cs (2)
810new TrueReadOnlyCollection<ParameterExpression>(value), 811new TrueReadOnlyCollection<Expression>(
System\Dynamic\Utils\CollectionExtensions.cs (2)
18return new TrueReadOnlyCollection<T>(res); 75return new TrueReadOnlyCollection<T>(array);
System\Dynamic\Utils\ExpressionUtils.cs (1)
130arguments = new TrueReadOnlyCollection<Expression>(newArgs);
System\Linq\Expressions\BinaryExpression.cs (6)
213new TrueReadOnlyCollection<ParameterExpression>(temp1, temp2), 214new TrueReadOnlyCollection<Expression>(e1, e2, e3, e4) 404new TrueReadOnlyCollection<ParameterExpression>(left), 405new TrueReadOnlyCollection<Expression>( 413new TrueReadOnlyCollection<ParameterExpression>(right), 414new TrueReadOnlyCollection<Expression>(
System\Linq\Expressions\Common\ArrayBuilderExtensions.cs (1)
20return new TrueReadOnlyCollection<T>(builder.ToArray());
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (5)
677initializers.Add(Expression.ElementInit(add, new TrueReadOnlyCollection<Expression>(t, Utils.Constant(i)))); 684cases.UncheckedAdd(Expression.SwitchCase(node.Cases[i].Body, new TrueReadOnlyCollection<Expression>(Utils.Constant(i)))); 700new TrueReadOnlyCollection<Expression>( 732new TrueReadOnlyCollection<ParameterExpression>(switchIndex, switchValue), 733new TrueReadOnlyCollection<Expression>(
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (3)
90return new MemberMemberBinding(_binding.Member, new TrueReadOnlyCollection<MemberBinding>(newBindings)); 172newInits[i] = new ElementInit(_inits[i].AddMethod, new TrueReadOnlyCollection<Expression>(cr[0, -1]!)); 175return new MemberListBinding(_binding.Member, new TrueReadOnlyCollection<ElementInit>(newInits));
System\Linq\Expressions\Compiler\StackSpiller.cs (5)
118newBody = Expression.Block(_tm.Temps, new TrueReadOnlyCollection<Expression>(newBody)); 489expr = NewArrayExpression.Make(node.NodeType, node.Type, new TrueReadOnlyCollection<Expression>(cr[0, -1]!)); 665newInits[i] = new ElementInit(inits[i].AddMethod, new TrueReadOnlyCollection<Expression>(cr[0, -1]!)); 668expr = new ListInitExpression((NewExpression)rewrittenNew, new TrueReadOnlyCollection<ElementInit>(newInits)); 737expr = new MemberInitExpression((NewExpression)rewrittenNew, new TrueReadOnlyCollection<MemberBinding>(newBindings));
System\Linq\Expressions\ExpressionVisitor.cs (3)
69return new TrueReadOnlyCollection<Expression>(newNodes); 117return new TrueReadOnlyCollection<T>(newNodes); 183return new TrueReadOnlyCollection<T>(newNodes);
System\Linq\Expressions\IndexExpression.cs (1)
530arguments = new TrueReadOnlyCollection<Expression>(newArgs);
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
612Expression.RuntimeVariables(new TrueReadOnlyCollection<ParameterExpression>(vars.ToArray())),
System\Linq\Expressions\ListInitExpression.cs (1)
175return ListInit(newExpression, new TrueReadOnlyCollection<ElementInit>(initList));
System\Linq\Expressions\NewArrayExpression.cs (1)
175initializerList = new TrueReadOnlyCollection<Expression>(newList);
System\Linq\Expressions\NewExpression.cs (2)
295arguments = new TrueReadOnlyCollection<Expression>(newArguments); 299members = new TrueReadOnlyCollection<MemberInfo>(newMembers);
System\Linq\Expressions\TypeBinaryExpression.cs (4)
96new TrueReadOnlyCollection<ParameterExpression>(parameter), 97new TrueReadOnlyCollection<Expression>( 118new TrueReadOnlyCollection<ParameterExpression>(temp), 119new TrueReadOnlyCollection<Expression>(
System\Linq\Expressions\UnaryExpression.cs (9)
167new TrueReadOnlyCollection<ParameterExpression>(temp), 168new TrueReadOnlyCollection<Expression>( 197new TrueReadOnlyCollection<ParameterExpression>(temp1), 198new TrueReadOnlyCollection<Expression>( 213new TrueReadOnlyCollection<ParameterExpression>(temp1, temp2), 214new TrueReadOnlyCollection<Expression>( 256index = MakeIndex(temps[0], index.Indexer, new TrueReadOnlyCollection<Expression>(args)); 272return Block(new TrueReadOnlyCollection<ParameterExpression>(temps), new TrueReadOnlyCollection<Expression>(block));
System\Runtime\CompilerServices\CallSite.cs (5)
420Expression invokeRule = Expression.Invoke(rule, new TrueReadOnlyCollection<Expression>(@params)); 451Expression getApplicableRuleAtIndex = Expression.Assign(rule, Expression.ArrayAccess(applicable, new TrueReadOnlyCollection<Expression>(index))); 602Expression.NewObjectArrayInit(new TrueReadOnlyCollection<Expression>(argsElements)) 660new TrueReadOnlyCollection<ParameterExpression>(@params) 680new TrueReadOnlyCollection<ParameterExpression>(@params)
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
71Parameters = new TrueReadOnlyCollection<ParameterExpression>(@params);
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
427return new TrueReadOnlyCollection<T>(items);
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
167Expression.RuntimeVariables(new TrueReadOnlyCollection<ParameterExpression>(vars.ToArray())),