50 references to Meth
Microsoft.CSharp (50)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
830MethodSymbol method = call.MethWithInst.Meth(); 850methprop = call.MethWithInst.Meth();
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (5)
883typeFrom = TypeManager.SubstType(uci.Meth.Meth().Params[0], uci.Meth.GetType()); 884typeTo = TypeManager.SubstType(uci.Meth.Meth().RetType, uci.Meth.GetType()); 980MethWithInst mwiBest = new MethWithInst(prguci[iuciBest].Meth.Meth(), prguci[iuciBest].Meth.GetType(), null); 984typeFrom = TypeManager.SubstType(mwiBest.Meth().Params[0], mwiBest.GetType()); 985typeTo = TypeManager.SubstType(mwiBest.Meth().RetType, mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (11)
392Debug.Assert(mwi.Sym is MethodSymbol && (!mwi.Meth().isOverride || mwi.Meth().isHideByName)); 408pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 512ACCESSERROR error = CSemanticChecker.CheckAccess2(mwtGet.Meth(), mwtGet.GetType(), ContextForMemberLookup, type); 662CType typeRet = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 683CType typeRet = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 840switch (CSemanticChecker.CheckAccess2(mwt.Meth(), mwt.GetType(), ContextForMemberLookup, type)) 845throw ErrorHandling.Error(mwt.Meth().isSetAccessor() ? ErrorCode.ERR_InaccessibleSetter : ErrorCode.ERR_InaccessibleGetter, pwtSlot); 913MethodSymbol meth = pMWI.Meth(); 979if ((swt.Sym is MethodSymbol) && swt.Meth().IsConstructor()) 1393if (conv.Meth.Meth() == meth &&
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
55CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
603var slotMethod = method.swtSlot?.Meth(); 1176MethWithType mwtCantInfer = new MethWithType(_results.UninferableResult.Meth(), _results.UninferableResult.GetType()); 1182int cvar = _mwtBadArity.Meth().typeVars.Count; 1183return ErrorHandling.Error(cvar > 0 ? ErrorCode.ERR_BadArity : ErrorCode.ERR_HasNoTypeVars, _mwtBadArity, new ErrArgSymKind(_mwtBadArity.Meth()), _pArguments.carg);
Microsoft\CSharp\RuntimeBinder\Semantics\Nullable.cs (1)
16&& (pCall.MethWithInst?.Meth().IsNullableConstructor() ?? false))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (7)
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)) 2577CType typeRetRaw = TypeManager.SubstType(pmethBest.mpwi.Meth().RetType, pmethBest.mpwi.GetType()); 2607CType typeRetRaw = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 2619TypeArray paramsRaw = TypeManager.SubstTypeArray(mpwi.Meth().Params, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (2)
31MethodSymbol methSym = Method.Meth(); 104MethodSymbol methSym = Method.Meth();
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Property.cs (1)
51var types = (mwtSet.Meth()?.AssociatedMemberInfo as MethodInfo)?.ReturnParameter.GetRequiredCustomModifiers();
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (11)
103CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 262if (expr.MethWithInst.Meth().IsConstructor()) 274if (expr.MethWithInst.Meth().isStatic || expr.MemberGroup.OptionalObject == null) 305Debug.Assert(!expr.MethWithInst.Meth().isVirtual || expr.MemberGroup.OptionalObject != null); 719CType pMethodReturnType = TypeManager.SubstType(method.Meth().RetType, 834Debug.Assert(expr.MethWithInst.Meth().IsConstructor()); 911ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, arg1, pMemGroup, mwi); 926ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 941ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 956ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 981MethodSymbol method = expr.UserDefinedCallMethod.Meth();
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
125Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.TypeArgs != null); 126Debug.Assert(mwi.Meth().typeVars.Count == mwi.TypeArgs.Count); 127Debug.Assert(mwi.GetType().OwningAggregate == mwi.Meth().getClass()); 131CheckConstraintsCore(mwi.Meth(), mwi.Meth().typeVars, mwi.TypeArgs, mwi.GetType().TypeArgsAll, mwi.TypeArgs, CheckConstraintsFlags.None);