131 references to Member
System.Activities (47)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
485EnsureTypeReferenced(memberExpression.Member.DeclaringType, true, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
891bool subTreeIsLocationExpression = isLocationExpression && memberExpression.Member.DeclaringType.IsValueType; 898return Expression.MakeMemberAccess(expr1, memberExpression.Member);
System\Activities\Expressions\ExpressionServices.cs (30)
76Type memberType = memberExpressionBody.Expression == null ? memberExpressionBody.Member.DeclaringType : memberExpressionBody.Expression.Type; 179Type memberType = memberExpressionBody.Expression == null ? memberExpressionBody.Member.DeclaringType : memberExpressionBody.Expression.Type; 370if (member.Member is FieldInfo) 372FieldInfo field = member.Member as FieldInfo; 517if (member.Member is FieldInfo) 519FieldInfo field = member.Member as FieldInfo; 731if (memberExpression != null && memberExpression.Member is PropertyInfo) 733PropertyInfo property = memberExpression.Member as PropertyInfo; 755if (member.Member is PropertyInfo) 757PropertyInfo property = member.Member as PropertyInfo; 1045if (memberExpressionBody.Member is PropertyInfo) 1049result = new PropertyValue<TOperand, TResult> { PropertyName = memberExpressionBody.Member.Name }; 1053result = new PropertyValue<TOperand, TResult> { Operand = operand, PropertyName = memberExpressionBody.Member.Name }; 1057else if (memberExpressionBody.Member is FieldInfo) 1061result = new FieldValue<TOperand, TResult> { FieldName = memberExpressionBody.Member.Name }; 1065result = new FieldValue<TOperand, TResult> { Operand = operand, FieldName = memberExpressionBody.Member.Name }; 1071throw FxTrace.Exception.AsError(new NotSupportedException(SR.UnsupportedMemberExpressionWithType(memberExpressionBody.Member.GetType().Name))); 1075return SR.UnsupportedMemberExpressionWithType(memberExpressionBody.Member.GetType().Name); 1121if (memberExpressionBody.Member is PropertyInfo) 1127result = new PropertyReference<TOperand, TResult> { PropertyName = memberExpressionBody.Member.Name }; 1131result = new PropertyReference<TOperand, TResult> { Operand = operand, PropertyName = memberExpressionBody.Member.Name }; 1138result = new ValueTypePropertyReference<TOperand, TResult> { PropertyName = memberExpressionBody.Member.Name }; 1142result = new ValueTypePropertyReference<TOperand, TResult> { OperandLocation = operandReference, PropertyName = memberExpressionBody.Member.Name }; 1148if (memberExpressionBody.Member is FieldInfo) 1154result = new FieldReference<TOperand, TResult> { FieldName = memberExpressionBody.Member.Name }; 1158result = new FieldReference<TOperand, TResult> { Operand = operand, FieldName = memberExpressionBody.Member.Name }; 1165result = new ValueTypeFieldReference<TOperand, TResult> { FieldName = memberExpressionBody.Member.Name }; 1169result = new ValueTypeFieldReference<TOperand, TResult> { OperandLocation = operandReference, FieldName = memberExpressionBody.Member.Name }; 1177throw FxTrace.Exception.AsError(new NotSupportedException(SR.UnsupportedMemberExpressionWithType(memberExpressionBody.Member.GetType().Name))); 1181return SR.UnsupportedMemberExpressionWithType(memberExpressionBody.Member.GetType().Name);
System\Activities\ExpressionUtilities.cs (13)
93MemberTypes memberType = memberExpression.Member.MemberType; 96FieldInfo fieldInfo = (FieldInfo)memberExpression.Member; 106PropertyInfo propertyInfo = (PropertyInfo)memberExpression.Member; 168MemberTypes memberType = ((MemberExpression)body).Member.MemberType; 345Fx.Assert(memberExpression.Member.MemberType == MemberTypes.Field, "member field expected"); 346this.fieldInfo = (FieldInfo)memberExpression.Member; 740Fx.Assert(memberExpression.Member.MemberType == MemberTypes.Property, "property access expression expected"); 741this.propertyInfo = (PropertyInfo)memberExpression.Member; 1010bool subTreeIsLocationExpression = isLocationExpression && memberExpression.Member.DeclaringType.IsValueType; 1018memberExpression.Member); 1414if (memberExpression.Member.MemberType == MemberTypes.Property) 1416RuntimeArgument runtimeArgument = ActivityUtilities.FindArgument(memberExpression.Member.Name, publicAccessor.ActivityMetadata.CurrentActivity); 1583memberValue = GetMemberValue(memberExpression.Member, memberValue);
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
64if (node.Member.Name == locationReference.Name)
System.Core (21)
Microsoft\Scripting\Ast\BinaryExpression.cs (2)
228Expression e2 = Expression.MakeBinary(op, Expression.MakeMemberAccess(temp1, member.Member), _right, false, Method); 237Expression e3 = Expression.Assign(Expression.MakeMemberAccess(temp1, member.Member), temp2);
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
558OutMember(node, node.Expression, node.Member);
Microsoft\Scripting\Ast\Expression.cs (4)
353MemberInfo memberInfo = member.Member; 397switch (member.Member.MemberType) { 399PropertyInfo prop = (PropertyInfo)member.Member; 403FieldInfo field = (FieldInfo)member.Member;
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
280public MemberInfo Member { get { return _node.Member; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
435OutMember(node.Expression, node.Member);
Microsoft\Scripting\Ast\MemberExpression.cs (1)
100return Expression.MakeMemberAccess(expression, Member);
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
199member = MakeMemberAccess(temp1, member.Member);
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (4)
122EmitMemberAddress(node.Member, objectType); 244if (node.Member.MemberType != MemberTypes.Property || !((PropertyInfo)node.Member).CanWrite) { 258PropertyInfo pi = (PropertyInfo)node.Member;
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
650MemberInfo member = lvalue.Member; 695EmitMemberGet(node.Member, instanceType);
Microsoft\Scripting\Compiler\StackSpiller.cs (3)
356MemberExpression.Make(cr[0], lvalue.Member), 372node.Member.MemberType == MemberTypes.Property) { 377expr = MemberExpression.Make(expression.Node, node.Member);
System\Linq\Expressions\ExpressionVisitor.cs (1)
158return Expression.MakeMemberAccess(exp, m.Member);
System.Data.Entity (18)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
185return Expression.MakeMemberAccess(exp, m.Member);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1538MemberInfo memberInfo = TypeSystem.PropertyOrField(((MemberExpression)Expression).Member, out memberName, out memberType); 1566MemberInfo memberInfo = TypeSystem.PropertyOrField(((MemberExpression)Expression).Member, out memberName, out memberType);
System\Data\Objects\ELinq\Funcletizer.cs (6)
259if (member.Member.MemberType == MemberTypes.Property) 261return ExpressionConverter.CanFuncletizePropertyInfo((PropertyInfo)member.Member); 731if (me.Member.MemberType == MemberTypes.Field) 733memberValue = ((FieldInfo)me.Member).GetValue(instance); 736else if (me.Member.MemberType == MemberTypes.Property) 738memberValue = ((PropertyInfo)me.Member).GetValue(instance, null);
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (2)
45PropertyInfo property = (PropertyInfo)memberEx.Member; 150PropertyInfo property = (PropertyInfo)call.Member;
System\Data\Objects\ELinq\Translator.cs (5)
166MemberInfo memberInfo = TypeSystem.PropertyOrField(linq.Member, out memberName, out memberType); 191throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnrecognizedMember(linq.Member.Name)); 560return parent.TranslateIntoCanonicalFunction(call.Member.Name, call, call.Expression); 597PropertyInfo property = (PropertyInfo)call.Member; 648return MemberAccessTranslator.TranslateCount(parent, call.Member.DeclaringType.GetGenericArguments()[0], call.Expression);
System\Data\Objects\ObjectContext.cs (2)
854!bodyAsMember.Member.DeclaringType.IsAssignableFrom(typeof(TEntity)) || 859return bodyAsMember.Member.Name;
System.Data.Linq (13)
DataServices.cs (3)
562if (!type.Type.IsAssignableFrom(memex.Member.ReflectedType) && !memex.Member.ReflectedType.IsAssignableFrom(type.Type)) { 565MetaDataMember mm = type.GetDataMember(memex.Member);
DataShape.cs (2)
175return mex.Member; 192this.MemberInfo = m.Member;
SqlClient\Query\Funcletizer.cs (1)
285return Expression.MakeMemberAccess(exp, m.Member);
SqlClient\Query\QueryConverter.cs (4)
1859Type memberType = TypeSystem.GetMemberType(ma.Member); 1867if (ma.Member.Name == "Count" && TypeSystem.IsSequenceType(ma.Expression.Type)) { 1871return sql.Member(VisitExpression(ma.Expression), ma.Member); 2510if (mex != null && mex.Member == keyMember.Member) {
SqlClient\Query\Translator.cs (3)
225if (MetaPosition.AreSameMember(m.Member, this.association.ThisMember.Member)) { 231if (exp.Type != m.Expression.Type && m.Member.Name == "Count" && TypeSystem.IsSequenceType(exp.Type)) { 234return Expression.MakeMemberAccess(exp, m.Member);
System.Data.Services (6)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
316return Expression.MakeMemberAccess(exp, m.Member);
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (2)
155if (m.Member.MemberType != MemberTypes.Property || m.Expression.NodeType != ExpressionType.Parameter) 165this.property = this.rt.TryResolvePropertyName(m.Member.Name);
System\Data\Services\Internal\PropertyAccessVisitor.cs (3)
93if (m.Member.MemberType == MemberTypes.Property) 97if (this.ProcessPropertyAccess(m.Member.Name, ref operand, ref result)) 101return Expression.MakeMemberAccess(operand, m.Member);
System.Data.Services.Client (25)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
316return Expression.MakeMemberAccess(exp, m.Member);
System\Data\Services\Client\ALinq\ExpressionWriter.cs (6)
259if (m.Member is FieldInfo) 261throw new NotSupportedException(Strings.ALinq_CantReferToPublicField(m.Member.Name)); 267if (m.Member.Name == "Value" && m.Member.DeclaringType.IsGenericType 268&& m.Member.DeclaringType.GetGenericTypeDefinition() == typeof(Nullable<>)) 278this.builder.Append(m.Member.Name);
System\Data\Services\Client\ALinq\InputBinder.cs (2)
116memberRef.Member.MemberType == MemberTypes.Property && 119nestedAccesses.Push((PropertyInfo)memberRef.Member);
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (2)
325if (lastExpression != null && (lastExpression.Member.Name != ma.Member.Name)) 327throw new NotSupportedException(Strings.ALinq_PropertyNamesMustMatchInProjections(lastExpression.Member.Name, ma.Member.Name));
System\Data\Services\Client\ALinq\ResourceBinder.cs (4)
1480if (me.Member.MemberType == MemberTypes.Property) 1482PropertyInfo pi = (PropertyInfo)me.Member; 2006if (((MemberExpression)assigned).Member != ((MemberExpression)member).Member)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
149throw new NotSupportedException(Strings.ALinq_MemberAccessNotSupported(m.Member.Name));
System\Data\Services\Client\MemberAssignmentAnalysis.cs (2)
330if (((MemberExpression)p).Member.Name != ((MemberExpression)c).Member.Name)
System\Data\Services\Client\ProjectionPath.cs (1)
57this.Add(new ProjectionPathSegment(this, ((MemberExpression)member).Member.Name, member.Type));
System\Data\Services\Client\ProjectionPathBuilder.cs (1)
175names.Add(member.Member.Name);
System\Data\Services\Client\ProjectionPlanCompiler.cs (5)
213result = Expression.MakeMemberAccess(baseTargetExpression, m.Member); 555string[] expressionNames = expressions.Skip(1).Select(e => ((MemberExpression)e).Member.Name).ToArray(); 727Expression.Constant(((MemberExpression)path[pathIndex]).Member.Name, typeof(string))); 802ProjectionPathSegment nestedSegment = new ProjectionPathSegment(nestedPath, m.Member.Name, m.Type); 815memberSegment = new ProjectionPathSegment(baseAnnotation.Segment.StartPath, m.Member.Name, m.Type);
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
1099propName = me.Member.Name;