67 references to Member
Microsoft.AspNetCore.Components.Forms (6)
FieldIdentifier.cs (2)
111fieldName = memberExpression.Member.Name; 164accessor = cache.GetOrAdd((value.GetType(), member.Member), CreateAccessor);
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (4)
115var name = memberExpression.Member.GetCustomAttribute<DataMemberAttribute>()?.Name ?? memberExpression.Member.Name; 236var member = memberExpression.Member; 278var convertExpression = Expression.Convert(parameterExpression, memberExpression.Member.DeclaringType!);
Microsoft.AspNetCore.Components.QuickGrid (6)
Columns\GridSort.cs (5)
146return body.Member.Name; 150var length = body.Member.Name.Length; 156length += parentMember.Member.Name.Length + 1; 175nextPos -= body.Member.Name.Length; 176body.Member.Name.CopyTo(chars[nextPos..]);
Columns\PropertyColumn.cs (1)
73Title = memberExpression.Member.Name;
Microsoft.AspNetCore.Components.Web (4)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (4)
115var name = memberExpression.Member.GetCustomAttribute<DataMemberAttribute>()?.Name ?? memberExpression.Member.Name; 236var member = memberExpression.Member; 278var convertExpression = Expression.Convert(parameterExpression, memberExpression.Member.DeclaringType!);
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2379return mc.Member;
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
1723MemberExpression me => me.Member.Name,
Microsoft.AspNetCore.JsonPatch (1)
JsonPatchDocumentOfT.cs (1)
719.First(jsonProperty => jsonProperty.UnderlyingName == memberExpression.Member.Name)
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBindingHelper.cs (1)
302if (memberExpression.Member is PropertyInfo memberInfo)
Microsoft.AspNetCore.Mvc.ViewFeatures (15)
CachedExpressionCompiler.cs (7)
125if (_simpleMemberAccessCache.TryGetValue(memberExpression.Member, out var result)) 132result = _simpleMemberAccessCache.GetOrAdd(memberExpression.Member, result); 143if (_simpleMemberAccessCache.TryGetValue(memberExpression.Member, out var result)) 148result = _simpleMemberAccessCache.GetOrAdd(memberExpression.Member, Rewrite(expression, memberExpression)); 172if (!_constMemberAccessCache.TryGetValue(memberExpression.Member, out var result)) 177Expression.Convert(parameterExpression, memberExpression.Member.DeclaringType); 184result = _constMemberAccessCache.GetOrAdd(memberExpression.Member, result);
ExpressionHelper.cs (2)
85var name = memberExpressionPart.Member.Name; 167var name = memberExpression.Member.Name;
ExpressionMetadataProvider.cs (2)
45propertyName = memberExpression.Member is PropertyInfo ? memberExpression.Member.Name : null;
LambdaExpressionComparer.cs (3)
46var memberName1 = memberExpression1.Member.Name; 50var memberName2 = memberExpression2.Member.Name; 91var memberName = memberExpression.Member.Name;
MemberExpressionCacheKey.cs (1)
82Current = _memberExpression.Member;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
337_s.AppendLine(indent + "-> " + node.Member.Name)
Microsoft.DotNet.Build.Tasks.Packaging (2)
Extensions.cs (2)
153var property = memberSelectorExpression.Member as PropertyInfo; 175var property = memberSelectorExpression.Member as PropertyInfo;
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Forms.cs (2)
424 if (node.Expression is ConstantExpression && node.Member is FieldInfo) 427 var value = ((FieldInfo)node.Member).GetValue(container);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
PropertyChangedTestMonitor.vb (1)
27Dim propertyName = DirectCast(expectation.Body, MemberExpression).Member.Name
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (1)
52MemberInfo memberInfo = ((MemberExpression)expr).Member;
System.Composition.Convention (1)
System\Composition\Convention\PartConventionBuilderOfT.cs (1)
111var memberInfo = ((MemberExpression)expr).Member as PropertyInfo;
System.Linq.Expressions (24)
System\Dynamic\Utils\ExpressionUtils.cs (1)
207if (member.Member is PropertyInfo prop)
System\Linq\Expressions\BinaryExpression.cs (2)
197Expression e2 = Expression.MakeBinary(op, Expression.MakeMemberAccess(temp1, member.Member), Right, false, Method); 207Expression e3 = Expression.Assign(Expression.MakeMemberAccess(temp1, member.Member), temp2);
System\Linq\Expressions\Compiler\LambdaCompiler.Address.cs (3)
122EmitMemberAddress(node.Member, objectType); 261var property = node.Member as PropertyInfo; 284PropertyInfo pi = (PropertyInfo)node.Member;
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
790MemberInfo member = lvalue.Member; 842EmitMemberGet(node.Member, instanceType);
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
267var field = member.Member as FieldInfo;
System\Linq\Expressions\Compiler\StackSpiller.cs (3)
373MemberExpression.Make(cr[0], lvalue.Member), 392node.Member is PropertyInfo) 398expr = MemberExpression.Make(expression.Node, node.Member);
System\Linq\Expressions\DebugViewWriter.cs (1)
541OutMember(node, node.Expression, node.Member);
System\Linq\Expressions\Expression.cs (1)
262MemberInfo member = ((MemberExpression)expression).Member;
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
288public MemberInfo Member => _node.Member;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
410OutMember(node.Expression, node.Member);
System\Linq\Expressions\Interpreter\LightCompiler.cs (6)
659CompileMemberAssignment(asVoid, member.Member, node.Right, forBinding: false); 2237return ((MemberExpression)node).Member is FieldInfo; 2314var field = member.Member as FieldInfo; 2324Debug.Assert(member.Member is PropertyInfo); 2325var property = (PropertyInfo)member.Member; 2442CompileMember(node.Expression, node.Member, forBinding: false);
System\Linq\Expressions\MemberExpression.cs (1)
84return Expression.MakeMemberAccess(expression, Member);
System\Linq\Expressions\UnaryExpression.cs (1)
188member = MakeMemberAccess(temp1, member.Member);