5 writes to MethWithInst
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
687
call.
MethWithInst
= new MethWithInst(mpwi);
701
call.
MethWithInst
= new MethWithInst(mpwi);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
2660
call.
MethWithInst
= new MethWithInst(mpwi);
2730
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)
852
MethodSymbol method = call.
MethWithInst
.Meth();
872
type = call.
MethWithInst
.Ats;
873
methprop = call.
MethWithInst
.Meth();
875
typeArgs = call.
MethWithInst
.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1092
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)
2390
Debug.Assert(pCall.
MethWithInst
.Meth() != null);
2396
Debug.Assert(pCall.
MethWithInst
.Meth().Params.Count == 2);
2397
if (!TypeManager.SubstEqualTypes(typeRet, pCall.
MethWithInst
.Meth().Params[0], typeRet) ||
2398
!TypeManager.SubstEqualTypes(typeRet, pCall.
MethWithInst
.Meth().Params[1], typeRet))
2400
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)
260
return GenerateUserDefinedConversion(expr.OptionalArguments, expr.Type, expr.
MethWithInst
);
263
if (expr.
MethWithInst
.Meth().IsConstructor())
275
if (expr.
MethWithInst
.Meth().isStatic || expr.MemberGroup.OptionalObject == null)
302
Expr methodInfo = ExprFactory.CreateMethodInfo(expr.
MethWithInst
);
306
Debug.Assert(!expr.
MethWithInst
.Meth().isVirtual || expr.MemberGroup.OptionalObject != null);
835
Debug.Assert(expr.
MethWithInst
.Meth().IsConstructor());
836
Expr constructorInfo = ExprFactory.CreateMethodInfo(expr.
MethWithInst
);