5 writes to MethWithInst
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
674
call.
MethWithInst
= new MethWithInst(mpwi);
687
call.
MethWithInst
= new MethWithInst(mpwi);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
2596
call.
MethWithInst
= new MethWithInst(mpwi);
2665
call.
MethWithInst
= new MethWithInst(mpwi);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (1)
20
MethWithInst
= method;
19 references to MethWithInst
Microsoft.CSharp (19)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (4)
830
MethodSymbol method = call.
MethWithInst
.Meth();
849
type = call.
MethWithInst
.Ats;
850
methprop = call.
MethWithInst
.Meth();
852
typeArgs = call.
MethWithInst
.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1068
TypeArray pTypeArgs = (call as ExprCall)?.
MethWithInst
.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\Nullable.cs (1)
16
&& (pCall.
MethWithInst
?.Meth().IsNullableConstructor() ?? false))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
2333
Debug.Assert(pCall.
MethWithInst
.Meth() != null);
2339
Debug.Assert(pCall.
MethWithInst
.Meth().Params.Count == 2);
2340
if (!TypeManager.SubstEqualTypes(typeRet, pCall.
MethWithInst
.Meth().Params[0], typeRet) ||
2341
!TypeManager.SubstEqualTypes(typeRet, pCall.
MethWithInst
.Meth().Params[1], typeRet))
2343
throw ErrorHandling.Error(ErrorCode.ERR_BadBoolOp, pCall.
MethWithInst
);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (1)
33
public override SymWithType GetSymWithType() =>
MethWithInst
;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (7)
259
return GenerateUserDefinedConversion(expr.OptionalArguments, expr.Type, expr.
MethWithInst
);
262
if (expr.
MethWithInst
.Meth().IsConstructor())
274
if (expr.
MethWithInst
.Meth().isStatic || expr.MemberGroup.OptionalObject == null)
301
Expr methodInfo = ExprFactory.CreateMethodInfo(expr.
MethWithInst
);
305
Debug.Assert(!expr.
MethWithInst
.Meth().isVirtual || expr.MemberGroup.OptionalObject != null);
834
Debug.Assert(expr.
MethWithInst
.Meth().IsConstructor());
835
Expr constructorInfo = ExprFactory.CreateMethodInfo(expr.
MethWithInst
);