3 types derived from MemberBinding
System.Core (3)
Microsoft\Scripting\Ast\MemberAssignment.cs (1)
32
public sealed class MemberAssignment :
MemberBinding
{
Microsoft\Scripting\Ast\MemberListBinding.cs (1)
36
public sealed class MemberListBinding :
MemberBinding
{
Microsoft\Scripting\Ast\MemberMemberBinding.cs (1)
38
public sealed class MemberMemberBinding :
MemberBinding
{
169 references to MemberBinding
System.Activities (25)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (3)
497
ReadOnlyCollection<
MemberBinding
> bindings = memberInit.Bindings;
650
static void FindTypeReferences(
MemberBinding
binding, HashSet<Type> typeReferences)
674
ReadOnlyCollection<
MemberBinding
> bindings = member.Bindings;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (12)
909
ReadOnlyCollection<
MemberBinding
> tmpMemberBindings = memberInit.Bindings;
911
List<
MemberBinding
> bindings = new List<
MemberBinding
>(tmpMemberBindings.Count);
914
MemberBinding
binding = Rewrite(tmpMemberBindings[i], lambdaParameters, out abort);
1135
MemberBinding
Rewrite(
MemberBinding
binding, ReadOnlyCollection<ParameterExpression> lambdaParameters, out bool abort)
1189
ReadOnlyCollection<
MemberBinding
> tmpBindings = member.Bindings;
1191
List<
MemberBinding
> bindings = new List<
MemberBinding
>(tmpBindings.Count);
1194
MemberBinding
item = Rewrite(tmpBindings[i], lambdaParameters, out abort);
1368
static ParameterExpression FindParameter(ICollection<
MemberBinding
> bindings)
1370
foreach (
MemberBinding
binding in bindings)
System\Activities\ExpressionUtilities.cs (10)
892
IList<
MemberBinding
> bindingList = null;
1197
static bool TryRewriteLambdaExpressionBindingsCollection(IList<
MemberBinding
> bindings, out IList<
MemberBinding
> newBindings, CodeActivityPublicEnvironmentAccessor publicAccessor)
1199
IList<
MemberBinding
> temporaryBindings = null;
1203
MemberBinding
binding = bindings[i];
1205
MemberBinding
newBinding;
1211
temporaryBindings = new List<
MemberBinding
>(bindings.Count);
1241
static bool TryRewriteMemberBinding(
MemberBinding
binding, out
MemberBinding
newBinding, CodeActivityPublicEnvironmentAccessor publicAccessor)
1248
IList<
MemberBinding
> bindingList = null;
System.Core (64)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
292
public ReadOnlyCollection<
MemberBinding
> Bindings { get { return _node.Bindings; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
142
internal static string MemberBindingToString(
MemberBinding
node) {
449
MemberBinding
b = node.Bindings[i];
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
573
/// Visits the children of the <see cref="
MemberBinding
" />.
578
protected virtual
MemberBinding
VisitMemberBinding(
MemberBinding
node) {
Microsoft\Scripting\Ast\MemberBinding.cs (1)
50
/// Initializes an instance of <see cref="
MemberBinding
"/> class.
Microsoft\Scripting\Ast\MemberInitExpression.cs (9)
36
private readonly ReadOnlyCollection<
MemberBinding
> _bindings;
38
internal MemberInitExpression(NewExpression newExpression, ReadOnlyCollection<
MemberBinding
> bindings) {
77
public ReadOnlyCollection<
MemberBinding
> Bindings {
99
internal static Expression ReduceMemberInit(Expression objExpression, ReadOnlyCollection<
MemberBinding
> bindings, bool keepOnStack) {
124
internal static Expression ReduceMemberBinding(ParameterExpression objVar,
MemberBinding
binding) {
145
public MemberInitExpression Update(NewExpression newExpression, IEnumerable<
MemberBinding
> bindings) {
161
public static MemberInitExpression MemberInit(NewExpression newExpression, params
MemberBinding
[] bindings) {
162
return MemberInit(newExpression, (IEnumerable<
MemberBinding
>)bindings);
172
public static MemberInitExpression MemberInit(NewExpression newExpression, IEnumerable<
MemberBinding
> bindings) {
Microsoft\Scripting\Ast\MemberMemberBinding.cs (21)
36
/// The value of the <see cref="P:MemberBinding.BindingType"/> property of a <see cref="MemberMemberBinding"/> object is <see cref="
MemberBinding
"/>.
39
ReadOnlyCollection<
MemberBinding
> _bindings;
40
internal MemberMemberBinding(MemberInfo member, ReadOnlyCollection<
MemberBinding
> bindings)
50
public ReadOnlyCollection<
MemberBinding
> Bindings {
61
public MemberMemberBinding Update(IEnumerable<
MemberBinding
> bindings) {
75
/// <param name="bindings">An array of <see cref="
MemberBinding
"/> objects to use to populate the <see cref="P:MemberMemberBindings.Bindings"/> collection.</param>
76
/// <returns>A <see cref="MemberMemberBinding"/> that has the <see cref="P:MemberBinding.BindingType"/> property equal to <see cref="
MemberBinding
"/> and the <see cref="P:MemberBinding.Member"/> and <see cref="P:MemberMemberBindings.Bindings"/> properties set to the specified values.</returns>
77
public static MemberMemberBinding MemberBind(MemberInfo member, params
MemberBinding
[] bindings) {
80
return MemberBind(member, (IEnumerable<
MemberBinding
>)bindings);
87
/// <param name="bindings">An <see cref="IEnumerable{T}"/> that contains <see cref="
MemberBinding
"/> objects to use to populate the <see cref="P:MemberMemberBindings.Bindings"/> collection.</param>
88
/// <returns>A <see cref="MemberMemberBinding"/> that has the <see cref="P:MemberBinding.BindingType"/> property equal to <see cref="
MemberBinding
"/> and the <see cref="P:MemberBinding.Member"/> and <see cref="P:MemberMemberBindings.Bindings"/> properties set to the specified values.</returns>
89
public static MemberMemberBinding MemberBind(MemberInfo member, IEnumerable<
MemberBinding
> bindings) {
92
ReadOnlyCollection<
MemberBinding
> roBindings = bindings.ToReadOnly();
103
/// <param name="bindings">An <see cref="IEnumerable{T}"/> that contains <see cref="
MemberBinding
"/> objects to use to populate the <see cref="P:MemberMemberBindings.Bindings"/> collection.</param>
105
/// A <see cref="MemberMemberBinding"/> that has the <see cref="P:MemberBinding.BindingType"/> property equal to <see cref="
MemberBinding
"/>,
109
public static MemberMemberBinding MemberBind(MethodInfo propertyAccessor, params
MemberBinding
[] bindings) {
118
/// <param name="bindings">An <see cref="IEnumerable{T}"/> that contains <see cref="
MemberBinding
"/> objects to use to populate the <see cref="P:MemberMemberBindings.Bindings"/> collection.</param>
120
/// A <see cref="MemberMemberBinding"/> that has the <see cref="P:MemberBinding.BindingType"/> property equal to <see cref="
MemberBinding
"/>,
124
public static MemberMemberBinding MemberBind(MethodInfo propertyAccessor, IEnumerable<
MemberBinding
> bindings) {
145
private static void ValidateMemberInitArgs(Type type, ReadOnlyCollection<
MemberBinding
> bindings) {
147
MemberBinding
b = bindings[i];
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
781
private void EmitBinding(
MemberBinding
binding, Type objectType) {
854
private void EmitMemberInit(ReadOnlyCollection<
MemberBinding
> bindings, bool keepOnStack, Type objectType) {
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (11)
33
protected
MemberBinding
_binding;
37
internal BindingRewriter(
MemberBinding
binding, StackSpiller spiller) {
46
internal abstract
MemberBinding
AsBinding();
49
internal static BindingRewriter Create(
MemberBinding
binding, StackSpiller spiller, Stack stack) {
66
ReadOnlyCollection<
MemberBinding
> _bindings;
81
internal override
MemberBinding
AsBinding() {
86
MemberBinding
[] newBindings = new
MemberBinding
[_bindings.Count];
90
return Expression.MemberBind(_binding.Member, new TrueReadOnlyCollection<
MemberBinding
>(newBindings));
146
internal override
MemberBinding
AsBinding() {
207
internal override
MemberBinding
AsBinding() {
Microsoft\Scripting\Compiler\StackSpiller.cs (5)
645
ReadOnlyCollection<
MemberBinding
> bindings = node.Bindings;
648
MemberBinding
binding = bindings[i];
659
MemberBinding
[] newBindings = new
MemberBinding
[bindings.Count];
663
expr = Expression.MemberInit((NewExpression)rewrittenNew, new TrueReadOnlyCollection<
MemberBinding
>(newBindings));
System\Linq\Expressions\ExpressionVisitor.cs (9)
87
internal virtual
MemberBinding
VisitBinding(
MemberBinding
binding) {
201
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(binding.Bindings);
216
internal virtual IEnumerable<
MemberBinding
> VisitBindingList(ReadOnlyCollection<
MemberBinding
> original) {
217
List<
MemberBinding
> list = null;
219
MemberBinding
b = this.VisitBinding(original[i]);
224
list = new List<
MemberBinding
>(n);
283
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(init.Bindings);
System.Data.Entity (29)
System\Data\Common\Internal\Materialization\Translator.cs (7)
1171
List<
MemberBinding
> propertyBindings = CreatePropertyBindings(columnMap, clrType, complexType.Properties);
1225
List<
MemberBinding
> propertyBindings = CreatePropertyBindings(columnMap, clrType, cSpaceType.Properties);
1307
private Expression Emit_ConstructEntity(EntityType oSpaceType, IEnumerable<
MemberBinding
> propertyBindings, Expression entityKeyReader, Expression entitySetReader, TranslatorArg arg, EntityProxyTypeInfo proxyTypeInfo)
1353
private List<
MemberBinding
> CreatePropertyBindings(StructuredColumnMap columnMap, Type clrType, ReadOnlyMetadataCollection<EdmProperty> properties)
1355
List<
MemberBinding
> result = new List<
MemberBinding
>(columnMap.Properties.Length);
1388
MemberBinding
binding = Expression.Bind(GetProperty(propertyAccessor, entityDeclaringType), valueReader);
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (9)
98
internal virtual
MemberBinding
VisitBinding(
MemberBinding
binding)
238
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(binding.Bindings);
256
internal virtual IEnumerable<
MemberBinding
> VisitBindingList(ReadOnlyCollection<
MemberBinding
> original)
258
List<
MemberBinding
> list = null;
261
MemberBinding
b = this.VisitBinding(original[i]);
268
list = new List<
MemberBinding
>(n);
332
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(init.Bindings);
System\Data\Objects\ELinq\InitializerFacet.cs (11)
378
MemberBinding
thisBinding = this._initExpression.Bindings[i];
379
MemberBinding
otherBinding = otherProjection._initExpression.Bindings[i];
395
MemberBinding
[] memberBindings = new
MemberBinding
[_initExpression.Bindings.Count];
396
MemberBinding
[] constantMemberBindings = new
MemberBinding
[memberBindings.Length];
399
MemberBinding
originalBinding = _initExpression.Bindings[i];
401
MemberBinding
newBinding = Expression.Bind(originalBinding.Member, value);
402
MemberBinding
constantBinding = Expression.Bind(originalBinding.Member, Expression.Constant(
417
foreach (
var
binding in _initExpression.Bindings)
430
foreach (
var
binding in _initExpression.Bindings)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (2)
166
MemberBinding
[] memberBindings = new
MemberBinding
[memberInfo.Count];
System.Data.Linq (9)
SqlClient\Query\Funcletizer.cs (9)
218
internal virtual
MemberBinding
VisitBinding(
MemberBinding
binding) {
328
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(binding.Bindings);
343
internal virtual IEnumerable<
MemberBinding
> VisitBindingList(ReadOnlyCollection<
MemberBinding
> original) {
344
List<
MemberBinding
> list = null;
346
MemberBinding
b = this.VisitBinding(original[i]);
351
list = new List<
MemberBinding
>(n);
407
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(init.Bindings);
System.Data.Services (28)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
180
internal virtual
MemberBinding
VisitBinding(
MemberBinding
binding)
397
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(binding.Bindings);
427
internal virtual IEnumerable<
MemberBinding
> VisitBindingList(ReadOnlyCollection<
MemberBinding
> original)
429
List<
MemberBinding
> list = null;
432
MemberBinding
b = this.VisitBinding(original[i]);
439
list = new List<
MemberBinding
>(n);
545
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(init.Bindings);
System\Data\Services\Internal\ProjectedWrapper.cs (9)
146
/// <summary>Creates an array of <see cref="
MemberBinding
"/> objects which bind the projected properties
155
internal static
MemberBinding
[] Bind(Expression[] bindingExpressions, Type projectedWrapperType)
165
MemberBinding
[] bindings;
170
bindings = new
MemberBinding
[bindingsCount];
185
bindings = new
MemberBinding
[precreatedProjectedWrapperTypes.Length + 2];
273
MemberBinding
[] bindings,
311
MemberBinding
[] bindings,
338
MemberBinding
[] nextBindings = new
MemberBinding
[precreatedProjectedWrapperTypes.Length + 2];
System\Data\Services\Providers\BasicExpandProvider.cs (4)
1438
MemberBinding
[] bindings = new
MemberBinding
[this.children.Count + 2 + (this.needSkipToken ? 1 : 0)];
1507
MemberBinding
[] skipTokenPropertyBindings = new
MemberBinding
[this.OrderingInfo.OrderingExpressions.Count + 2];
System\Data\Services\RequestQueryProcessor.cs (6)
1183
MemberBinding
[] skipTokenBindings = this.GetSkipTokenBindings(skipTokenWrapperType, skipTokenDescription.ToString(), expandParameter);
1187
MemberBinding
[] resultWrapperBindings = new
MemberBinding
[3];
1237
private
MemberBinding
[] GetSkipTokenBindings(Type skipTokenWrapperType, String skipTokenDescription, ParameterExpression expandParameter)
1239
MemberBinding
[] skipTokenBindings = new
MemberBinding
[this.topLevelOrderingInfo.OrderingExpressions.Count + 2];
System.Data.Services.Client (12)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
180
internal virtual
MemberBinding
VisitBinding(
MemberBinding
binding)
397
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(binding.Bindings);
427
internal virtual IEnumerable<
MemberBinding
> VisitBindingList(ReadOnlyCollection<
MemberBinding
> original)
429
List<
MemberBinding
> list = null;
432
MemberBinding
b = this.VisitBinding(original[i]);
439
list = new List<
MemberBinding
>(n);
545
IEnumerable<
MemberBinding
> bindings = this.VisitBindingList(init.Bindings);
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (2)
286
foreach (
MemberBinding
mb in mie.Bindings)
540
foreach (
MemberBinding
mb in mie.Bindings)
System\Data\Services\Client\MemberAssignmentAnalysis.cs (1)
193
foreach (
var
binding in init.Bindings)
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
1109
MemberBinding
[] bindings = new
MemberBinding
[properties.Count];