1 write to Initializers
System.Linq.Expressions (1)
System\Linq\Expressions\MemberListBinding.cs (1)
24Initializers = initializers;
19 references to Initializers
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
126For Each i In node.Initializers
System.Linq.Expressions (18)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
1004EmitListInit(binding.Initializers, false, type);
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (1)
137_inits = binding.Initializers;
System\Linq\Expressions\DebugViewWriter.cs (1)
842VisitExpressions('{', ',', binding.Initializers, e => VisitElementInit(e));
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
452for (int i = 0, n = binding.Initializers.Count; i < n; i++) 458VisitElementInit(binding.Initializers[i]);
System\Linq\Expressions\ExpressionVisitor.cs (1)
627return node.Update(Visit(node.Initializers, VisitElementInit));
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
2739CompileListInit(memberList.Initializers);
System\Linq\Expressions\MemberInitExpression.cs (1)
108MemberBindingType.ListBinding => ReduceListInit(member, ((MemberListBinding)binding).Initializers, keepOnStack: false),
System\Linq\Expressions\MemberListBinding.cs (10)
37/// <param name="initializers">The <see cref="Initializers"/> property of the result.</param> 43if (ExpressionUtils.SameElements(ref initializers!, Initializers)) 60/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/> and the <see cref="MemberBinding.Member"/> and <see cref="MemberListBinding.Initializers"/> properties set to the specified values.</returns> 62/// <param name="initializers">An array of <see cref="System.Linq.Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param> 73/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/> and the <see cref="MemberBinding.Member"/> and <see cref="MemberListBinding.Initializers"/> properties set to the specified values.</returns> 75/// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="System.Linq.Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param> 92/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/>, the <see cref="MemberBinding.Member"/> property set to the <see cref="MemberInfo"/> that represents the property accessed in <paramref name="propertyAccessor"/>, and <see cref="MemberListBinding.Initializers"/> populated with the elements of <paramref name="initializers"/>.</returns> 94/// <param name="initializers">An array of <see cref="Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param> 106/// <returns>A <see cref="MemberListBinding"/> that has the <see cref="MemberBinding.BindingType"/> property equal to <see cref="MemberBindingType.ListBinding"/>, the <see cref="MemberBinding.Member"/> property set to the <see cref="MemberInfo"/> that represents the property accessed in <paramref name="propertyAccessor"/>, and <see cref="MemberListBinding.Initializers"/> populated with the elements of <paramref name="initializers"/>.</returns> 108/// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="Expressions.ElementInit"/> objects to use to populate the <see cref="MemberListBinding.Initializers"/> collection.</param>