82 references to Member
System.Activities (6)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (3)
1152
return Expression.Bind(assignment.
Member
, expr1);
1184
return Expression.ListBind(list.
Member
, initializers);
1201
return Expression.MemberBind(member.
Member
, bindings);
System\Activities\ExpressionUtilities.cs (3)
1259
newBinding = Expression.Bind(assignment.
Member
, other);
1270
newBinding = Expression.ListBind(list.
Member
, initializerList);
1281
newBinding = Expression.MemberBind(member.
Member
, bindingList);
System.Core (43)
Microsoft\Scripting\Ast\DebugViewWriter.cs (3)
822
Out(assignment.
Member
.Name);
829
Out(binding.
Member
.Name);
836
Out(binding.
Member
.Name);
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (3)
460
Out(assignment.
Member
.Name);
467
Out(binding.
Member
.Name);
480
Out(binding.
Member
.Name);
Microsoft\Scripting\Ast\MemberAssignment.cs (1)
58
return Expression.Bind(
Member
, expression);
Microsoft\Scripting\Ast\MemberInitExpression.cs (1)
125
MemberExpression member = Expression.MakeMemberAccess(objVar, binding.
Member
);
Microsoft\Scripting\Ast\MemberListBinding.cs (1)
63
return Expression.ListBind(
Member
, initializers);
Microsoft\Scripting\Ast\MemberMemberBinding.cs (3)
65
return Expression.MemberBind(
Member
, bindings);
149
if (!b.
Member
.DeclaringType.IsAssignableFrom(type)) {
150
throw Error.NotAMemberOfType(b.
Member
.Name, type);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (16)
799
FieldInfo fi = binding.
Member
as FieldInfo;
803
PropertyInfo pi = binding.
Member
as PropertyInfo;
813
Type type = GetMemberType(binding.
Member
);
814
if (binding.
Member
is PropertyInfo && type.IsValueType) {
815
throw Error.CannotAutoInitializeValueTypeMemberThroughProperty(binding.
Member
);
818
EmitMemberAddress(binding.
Member
, binding.
Member
.DeclaringType);
820
EmitMemberGet(binding.
Member
, binding.
Member
.DeclaringType);
826
Type type = GetMemberType(binding.
Member
);
827
if (binding.
Member
is PropertyInfo && type.IsValueType) {
828
throw Error.CannotAutoInitializeValueTypeElementThroughProperty(binding.
Member
);
831
EmitMemberAddress(binding.
Member
, binding.
Member
.DeclaringType);
833
EmitMemberGet(binding.
Member
, binding.
Member
.DeclaringType);
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (12)
90
return Expression.MemberBind(_binding.
Member
, new TrueReadOnlyCollection<MemberBinding>(newBindings));
96
if (target.Type.IsValueType && _binding.
Member
is System.Reflection.PropertyInfo) {
97
throw Error.CannotAutoInitializeValueTypeMemberThroughProperty(_binding.
Member
);
101
MemberExpression member = Expression.MakeMemberAccess(target, _binding.
Member
);
116
Expression.Assign(Expression.MakeMemberAccess(target, _binding.
Member
), memberTemp)
160
return Expression.ListBind(_binding.
Member
, new TrueReadOnlyCollection<ElementInit>(newInits));
166
if (target.Type.IsValueType && _binding.
Member
is System.Reflection.PropertyInfo) {
167
throw Error.CannotAutoInitializeValueTypeElementThroughProperty(_binding.
Member
);
171
MemberExpression member = Expression.MakeMemberAccess(target, _binding.
Member
);
187
Expression.Assign(Expression.MakeMemberAccess(target, _binding.
Member
), memberTemp)
212
return Expression.Bind(_binding.
Member
, _rhs);
220
MemberExpression member = Expression.MakeMemberAccess(target, _binding.
Member
);
System\Linq\Expressions\ExpressionVisitor.cs (3)
195
return Expression.Bind(assignment.
Member
, e);
203
return Expression.MemberBind(binding.
Member
, bindings);
211
return Expression.ListBind(binding.
Member
, initializers);
System.Data.Entity (14)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (2)
472
var fieldInfo = assignment.
Member
as FieldInfo;
473
var propertyInfo = assignment.
Member
as PropertyInfo;
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (3)
231
return Expression.Bind(assignment.
Member
, e);
241
return Expression.MemberBind(binding.
Member
, bindings);
251
return Expression.ListBind(binding.
Member
, initializers);
System\Data\Objects\ELinq\InitializerFacet.cs (7)
380
if (!thisBinding.
Member
.Equals(otherBinding.
Member
))
401
MemberBinding newBinding = Expression.Bind(originalBinding.
Member
, value);
402
MemberBinding constantBinding = Expression.Bind(originalBinding.
Member
, Expression.Constant(
422
TypeSystem.PropertyOrField(binding.
Member
, out name, out memberType);
432
builder.Append(",", binding.
Member
.DeclaringType);
433
builder.Append("." + binding.
Member
.Name);
System\Data\Objects\ELinq\Translator.cs (1)
838
MemberInfo memberInfo = TypeSystem.PropertyOrField(binding.
Member
, out memberName, out memberType);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
185
members[i] = assignment.
Member
;
System.Data.Linq (5)
SqlClient\Query\Funcletizer.cs (3)
322
return Expression.Bind(assignment.
Member
, e);
330
return Expression.MemberBind(binding.
Member
, bindings);
338
return Expression.ListBind(binding.
Member
, initializers);
SqlClient\Query\QueryConverter.cs (2)
876
SqlMemberAssign sma = new SqlMemberAssign(mb.
Member
, expr);
878
ordinal[i] = mt.GetDataMember(mb.
Member
).Ordinal;
System.Data.Services (3)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (3)
384
return Expression.Bind(assignment.
Member
, e);
400
return Expression.MemberBind(binding.
Member
, bindings);
416
return Expression.ListBind(binding.
Member
, initializers);
System.Data.Services.Client (11)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (3)
384
return Expression.Bind(assignment.
Member
, e);
400
return Expression.MemberBind(binding.
Member
, bindings);
416
return Expression.ListBind(binding.
Member
, initializers);
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (3)
311
Type targetType = GetMemberType(ma.
Member
);
325
if (lastExpression != null && (lastExpression.Member.Name != ma.
Member
.Name))
327
throw new NotSupportedException(Strings.ALinq_PropertyNamesMustMatchInProjections(lastExpression.Member.Name, ma.
Member
.Name));
System\Data\Services\Client\ProjectionPlanCompiler.cs (5)
587
propertyNames.Add(assignment.
Member
.Name);
597
if ((ClientType.CheckElementTypeIsEntity(assignment.
Member
.ReflectedType) &&
603
Expression.Constant(assignment.
Member
.Name, typeof(string)));
630
assignment.
Member
.Name,
631
assignment.
Member
.ReflectedType);