2 instantiations of MemberListBinding
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (1)
175
return new
MemberListBinding
(_binding.Member, new TrueReadOnlyCollection<ElementInit>(newInits));
System\Linq\Expressions\MemberListBinding.cs (1)
88
return new
MemberListBinding
(member, initList);
41 references to MemberListBinding
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
122
Protected Overrides Function VisitMemberListBinding(node As
MemberListBinding
) As
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)
949
EmitMemberListBinding((
MemberListBinding
)binding);
989
private void EmitMemberListBinding(
MemberListBinding
binding)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (3)
38
MemberListBinding
list = (
MemberListBinding
)binding;
134
internal ListBindingRewriter(
MemberListBinding
binding, StackSpiller spiller, Stack stack) :
System\Linq\Expressions\DebugViewWriter.cs (2)
838
protected override
MemberListBinding
VisitMemberListBinding(
MemberListBinding
binding)
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
448
protected override
MemberListBinding
VisitMemberListBinding(
MemberListBinding
binding)
System\Linq\Expressions\ExpressionVisitor.cs (4)
593
MemberBindingType.ListBinding => VisitMemberListBinding((
MemberListBinding
)node),
620
/// Visits the children of the <see cref="
MemberListBinding
"/>.
625
protected virtual
MemberListBinding
VisitMemberListBinding(
MemberListBinding
node)
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2736
var
memberList = (
MemberListBinding
)binding;
System\Linq\Expressions\MemberInitExpression.cs (1)
108
MemberBindingType.ListBinding => ReduceListInit(member, ((
MemberListBinding
)binding).Initializers, keepOnStack: false),
System\Linq\Expressions\MemberListBinding.cs (21)
39
public
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>
67
public 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>
80
public 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>
100
public 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>
114
public static
MemberListBinding
ListBind(MethodInfo propertyAccessor, IEnumerable<ElementInit> initializers)