50 references to Meth
Microsoft.CSharp (50)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
852MethodSymbol method = call.MethWithInst.Meth(); 873methprop = call.MethWithInst.Meth();
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (5)
910typeFrom = TypeManager.SubstType(uci.Meth.Meth().Params[0], uci.Meth.GetType()); 911typeTo = TypeManager.SubstType(uci.Meth.Meth().RetType, uci.Meth.GetType()); 1007MethWithInst mwiBest = new MethWithInst(prguci[iuciBest].Meth.Meth(), prguci[iuciBest].Meth.GetType(), null); 1011typeFrom = TypeManager.SubstType(mwiBest.Meth().Params[0], mwiBest.GetType()); 1012typeTo = TypeManager.SubstType(mwiBest.Meth().RetType, mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (11)
401Debug.Assert(mwi.Sym is MethodSymbol && (!mwi.Meth().isOverride || mwi.Meth().isHideByName)); 417pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 523ACCESSERROR error = CSemanticChecker.CheckAccess2(mwtGet.Meth(), mwtGet.GetType(), ContextForMemberLookup, type); 675CType typeRet = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 697CType typeRet = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 859switch (CSemanticChecker.CheckAccess2(mwt.Meth(), mwt.GetType(), ContextForMemberLookup, type)) 864throw ErrorHandling.Error(mwt.Meth().isSetAccessor() ? ErrorCode.ERR_InaccessibleSetter : ErrorCode.ERR_InaccessibleGetter, pwtSlot); 934MethodSymbol meth = pMWI.Meth(); 1002if ((swt.Sym is MethodSymbol) && swt.Meth().IsConstructor()) 1419if (conv.Meth.Meth() == meth &&
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
62CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
604var slotMethod = method.swtSlot?.Meth(); 1177MethWithType mwtCantInfer = new MethWithType(_results.UninferableResult.Meth(), _results.UninferableResult.GetType()); 1183int cvar = _mwtBadArity.Meth().typeVars.Count; 1184return 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)
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)) 2640CType typeRetRaw = TypeManager.SubstType(pmethBest.mpwi.Meth().RetType, pmethBest.mpwi.GetType()); 2672CType typeRetRaw = TypeManager.SubstType(mpwi.Meth().RetType, mpwi.GetType()); 2684TypeArray paramsRaw = TypeManager.SubstTypeArray(mpwi.Meth().Params, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (2)
32MethodSymbol methSym = Method.Meth(); 105MethodSymbol 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)
104CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 263if (expr.MethWithInst.Meth().IsConstructor()) 275if (expr.MethWithInst.Meth().isStatic || expr.MemberGroup.OptionalObject == null) 306Debug.Assert(!expr.MethWithInst.Meth().isVirtual || expr.MemberGroup.OptionalObject != null); 720CType pMethodReturnType = TypeManager.SubstType(method.Meth().RetType, 835Debug.Assert(expr.MethWithInst.Meth().IsConstructor()); 912ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, arg1, pMemGroup, mwi); 927ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 942ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 957ExprCall call = ExprFactory.CreateCall(0, mwi.Meth().RetType, args, pMemGroup, mwi); 982MethodSymbol method = expr.UserDefinedCallMethod.Meth();
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
127Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.TypeArgs != null); 128Debug.Assert(mwi.Meth().typeVars.Count == mwi.TypeArgs.Count); 129Debug.Assert(mwi.GetType().OwningAggregate == mwi.Meth().getClass()); 133CheckConstraintsCore(mwi.Meth(), mwi.Meth().typeVars, mwi.TypeArgs, mwi.GetType().TypeArgsAll, mwi.TypeArgs, CheckConstraintsFlags.None);