5 writes to MethWithInst
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
674call.MethWithInst = new MethWithInst(mpwi); 687call.MethWithInst = new MethWithInst(mpwi);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
2596call.MethWithInst = new MethWithInst(mpwi); 2665call.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)
830MethodSymbol method = call.MethWithInst.Meth(); 849type = call.MethWithInst.Ats; 850methprop = call.MethWithInst.Meth(); 852typeArgs = call.MethWithInst.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1068TypeArray 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)
2333Debug.Assert(pCall.MethWithInst.Meth() != null); 2339Debug.Assert(pCall.MethWithInst.Meth().Params.Count == 2); 2340if (!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[0], typeRet) || 2341!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[1], typeRet)) 2343throw 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)
259return GenerateUserDefinedConversion(expr.OptionalArguments, expr.Type, expr.MethWithInst); 262if (expr.MethWithInst.Meth().IsConstructor()) 274if (expr.MethWithInst.Meth().isStatic || expr.MemberGroup.OptionalObject == null) 301Expr methodInfo = ExprFactory.CreateMethodInfo(expr.MethWithInst); 305Debug.Assert(!expr.MethWithInst.Meth().isVirtual || expr.MemberGroup.OptionalObject != null); 834Debug.Assert(expr.MethWithInst.Meth().IsConstructor()); 835Expr constructorInfo = ExprFactory.CreateMethodInfo(expr.MethWithInst);