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