2 writes to BestResult
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
344_results.BestResult = pmethBest.mpwi;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinderResult.cs (1)
25BestResult = new MethPropWithInst();
16 references to BestResult
Microsoft.CSharp (16)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
743MethPropWithInst mpwiBest = BindMethodGroupToArgumentsCore(bindFlags, grp, args, carg, namedKind).BestResult;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (15)
945if (!_results.BestResult) 947_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 962if (!_results.BestResult) 964_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 1073Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.BestResult.MethProp().isUserCallable()); 1077Debug.Assert(_results.BestResult.MethProp() is MethodSymbol); 1079if (_results.BestResult.TypeArgs.Count > 0) 1082TypeBind.CheckMethConstraints(new MethWithInst(_results.BestResult)); 1150Debug.Assert(!_results.BestResult || _results.BestResult.MethProp().getClass().IsDelegate()); 1151Debug.Assert(!_results.BestResult || _results.BestResult.GetType().OwningAggregate.IsDelegate()); 1156if (_results.BestResult) 1231return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.BestResult.GetType()); 1234return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.BestResult);