2 instantiations of MemberListBinding
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (1)
175return new MemberListBinding(_binding.Member, new TrueReadOnlyCollection<ElementInit>(newInits));
System\Linq\Expressions\MemberListBinding.cs (1)
88return new MemberListBinding(member, initList);
39 references to MemberListBinding
netstandard (1)
netstandard.cs (1)
1016[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.MemberListBinding))]
System.Core (1)
System.Core.cs (1)
154[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.MemberListBinding))]
System.Linq.Expressions (37)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
949EmitMemberListBinding((MemberListBinding)binding); 989private void EmitMemberListBinding(MemberListBinding binding)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (3)
38MemberListBinding list = (MemberListBinding)binding; 134internal ListBindingRewriter(MemberListBinding binding, StackSpiller spiller, Stack stack) :
System\Linq\Expressions\DebugViewWriter.cs (2)
838protected override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
448protected override MemberListBinding VisitMemberListBinding(MemberListBinding binding)
System\Linq\Expressions\ExpressionVisitor.cs (4)
593MemberBindingType.ListBinding => VisitMemberListBinding((MemberListBinding)node), 620/// Visits the children of the <see cref="MemberListBinding"/>. 625protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding node)
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2736var memberList = (MemberListBinding)binding;
System\Linq\Expressions\MemberInitExpression.cs (1)
108MemberBindingType.ListBinding => ReduceListInit(member, ((MemberListBinding)binding).Initializers, keepOnStack: false),
System\Linq\Expressions\MemberListBinding.cs (21)
39public MemberListBinding Update(IEnumerable<ElementInit> initializers) 59/// <summary>Creates a <see cref="MemberListBinding"/> where the member is a field or property.</summary> 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> 67public static MemberListBinding ListBind(MemberInfo member, params ElementInit[] initializers) 72/// <summary>Creates a <see cref="MemberListBinding"/> where the member is a field or property.</summary> 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> 80public static MemberListBinding ListBind(MemberInfo member, IEnumerable<ElementInit> initializers) 91/// <summary>Creates a <see cref="MemberListBinding"/> object based on a specified property accessor method.</summary> 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> 100public static MemberListBinding ListBind(MethodInfo propertyAccessor, params ElementInit[] initializers) 105/// <summary>Creates a <see cref="MemberListBinding"/> based on a specified property accessor method.</summary> 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> 114public static MemberListBinding ListBind(MethodInfo propertyAccessor, IEnumerable<ElementInit> initializers)