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