1 instantiation of ExprProperty
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
23
new
ExprProperty
(type, optionalObjectThrough, arguments, memberGroup, property, setMethod);
20 references to ExprProperty
Microsoft.CSharp (20)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
856
ExprProperty
prop = result as
ExprProperty
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (8)
293
|| op1 is
ExprProperty
461
internal
ExprProperty
BindToProperty(Expr pObject, PropWithType pwt, BindingFlag bindFlags, Expr args, ExprMemberGroup pMemGroup)
525
ExprProperty
result = ExprFactory.CreateProperty(pReturnType, pObjectThrough, args, pMemGroup, pwt, mwtSet);
821
private void CheckLvalueProp(
ExprProperty
prop)
857
if (expr is
ExprProperty
prop)
871
ExprProperty
prop = (
ExprProperty
)expr;
872
Debug.Assert(!prop.MethWithTypeSet ||
ExprProperty
.HasIsExternalInitModifier(prop.MethWithTypeSet));
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
22
public static
ExprProperty
CreateProperty(CType type, Expr optionalObjectThrough, Expr arguments, ExprMemberGroup memberGroup, PropWithType property, MethWithType setMethod) =>
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (3)
38
if (assignment.LHS is
ExprProperty
prop)
311
protected override Expr VisitPROP(
ExprProperty
expr)
1023
return pExpr is
ExprProperty
prop && prop.MemberGroup.OptionalObject == pObject && pObject.Type is NullableType;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (6)
28
ExpressionKind.Property => VisitPROP(pExpr as
ExprProperty
),
205
exprRet = Visit((pExpr as
ExprProperty
).OptionalArguments);
206
(pExpr as
ExprProperty
).OptionalArguments = exprRet;
207
exprRet = Visit((pExpr as
ExprProperty
).MemberGroup);
209
(pExpr as
ExprProperty
).MemberGroup = exprRet as ExprMemberGroup;
376
protected virtual Expr VisitPROP(
ExprProperty
pExpr)